diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index b8c8c6bdcf0b1ae65720a6498fa6a8393b151c34..2d398426ee1a53d4a5d230851c3e9beeeb1c038c 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -278,7 +278,7 @@ % if ($journey->{real_arrival}->epoch and $journey_visibility eq 'private') { % $arr_text = $journey->{real_arrival}->strftime(' – Ankunft gegen %H:%M Uhr'); % } - % if ($user->{is_public} & 0x80 and $journey->{comment}) { + % if ($user->{comments_visible} and $journey->{comment}) { data-text="<%= $journey->{comment} %> (@ <%= $journey->{train_type} %> <%= $journey->{train_no} %> → <%= $journey->{arr_name} %>) #travelynx" % } % else { diff --git a/templates/edit_comment.html.ep b/templates/edit_comment.html.ep index 81353a2d2c2a67048bdb60deafafdf263e3e9d39..4f8e3e4a992ade2532bebe9f8f1f664d994af0a2 100644 --- a/templates/edit_comment.html.ep +++ b/templates/edit_comment.html.ep @@ -29,7 +29,7 @@ am <b><%= $journey->{sched_departure}->strftime('%d.%m.%Y') %></b> </p> - % if (current_user()->{is_public} & 0x04) { + % if (current_user()->{comments_visible}) { <p> Der hier eingetragene Text ist als Teil deines Nutzerstatus öffentlich sichtbar.