summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_public_status_card.html.ep4
-rw-r--r--templates/profile.html.ep2
-rw-r--r--templates/user_status.html.ep2
3 files changed, 3 insertions, 5 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 65255c5..33635ae 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -10,9 +10,7 @@
% else {
<a href="/p/<%= $name %>"><%= $name %></a> ist unterwegs
% }
- % if ($journey_visibility) {
- <i class="material-icons right"><%= visibility_icon($journey_visibility) %></i>
- % }
+ <i class="material-icons right"><%= visibility_icon($journey->{effective_visibility_str}) %></i>
</span>
% if ($privacy->{comments_visible} and $journey->{comment}) {
<p>„<%= $journey->{comment} %>“</p>
diff --git a/templates/profile.html.ep b/templates/profile.html.ep
index ed7ff0d..c0ffe1d 100644
--- a/templates/profile.html.ep
+++ b/templates/profile.html.ep
@@ -79,7 +79,7 @@
</div>
<div class="row">
<div class="col s12 publicstatuscol" data-user="<%= $name %>" data-profile="1">
- %= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey, journey_visibility => $journey_visibility, from_profile => 1
+ %= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey, from_profile => 1
</div>
</div>
% if ($journeys and @{$journeys}) {
diff --git a/templates/user_status.html.ep b/templates/user_status.html.ep
index 97c10ec..95d2dfa 100644
--- a/templates/user_status.html.ep
+++ b/templates/user_status.html.ep
@@ -1,6 +1,6 @@
<div class="row">
<div class="col s12 publicstatuscol" data-user="<%= $name %>">
- %= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey, journey_visibility => $journey_visibility
+ %= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey
</div>
</div>