From fb126c69289abf7174f53b0d04f56f195e0fbd12 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 Dec 2019 21:42:26 +0100 Subject: optionally show journey comment in public user status Closes #19 --- templates/_public_status_card.html.ep | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/_public_status_card.html.ep') diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index 0bed878..4a846af 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -3,6 +3,9 @@
<%= $name %> ist unterwegs + % if ($public_level & 0x04 and $journey->{comment}) { +

„<%= $journey->{comment} %>“

+ % }

% if ($journey->{train_line}) {

<%= $journey->{train_type} %> <%= $journey->{train_line} %> <%= $journey->{train_no} %>
-- cgit v1.2.3