From 6d261197e3138c80357ec485749e2089ef6ff96a Mon Sep 17 00:00:00 2001
From: Daniel Friesel
Date: Mon, 27 Feb 2023 22:14:54 +0100
Subject: set visibility per journey (wip)
some odds and ends left to polish, but ready for testing
---
templates/journey.html.ep | 10 ++++++++++
1 file changed, 10 insertions(+)
(limited to 'templates/journey.html.ep')
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
<%= $journey->{sched_departure}->strftime('%d.%m.%Y') %>
+ % if ($journey_visibility) {
+ % if (stash('username')) {
+ <%= visibility_icon($journey_visibility) %>
+ % }
+ % else {
+
+ <%= visibility_icon($journey_visibility) %>
+
+ % }
+ % }
% if ($journey->{edited}) {
--
cgit v1.2.3