summaryrefslogtreecommitdiff
path: root/templates/_public_status_card.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-29 21:54:25 +0200
committerDerf Null <derf@finalrewind.org>2023-06-29 21:54:25 +0200
commita73e2edc8604c8d83c0a85044ca2fc8ef4108bfb (patch)
treea47f98c57a8860eccba63ed308f7d54486a2a927 /templates/_public_status_card.html.ep
parent4f54597c0d3f033a0b4f9d6792905218f0b141de (diff)
profile: use effective visibility from journey object
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r--templates/_public_status_card.html.ep4
1 files changed, 1 insertions, 3 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>