diff options
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r-- | templates/journey.html.ep | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 50dcb3e..74c032b 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -38,6 +38,16 @@ % } am <b><%= $journey->{sched_departure}->strftime('%d.%m.%Y') %></b> + % if ($journey_visibility) { + % if (stash('username')) { + <i class="material-icons right"><%= visibility_icon($journey_visibility) %></i> + % } + % else { + <a class="right" href="/journey/visibility?id=<%= $journey->{id} %>"> + <i class="material-icons"><%= visibility_icon($journey_visibility) %></i> + </a> + % } + % } </p> % if ($journey->{edited}) { <p> |