From f6d56d3134f6045726cb1d4ed8700382575bb686 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 23 Aug 2019 10:34:02 +0200 Subject: Add proper journey comment support --- templates/journey.html.ep | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/journey.html.ep') diff --git a/templates/journey.html.ep b/templates/journey.html.ep index f83774a..724d8ca 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -121,13 +121,11 @@ % } - % if ($journey->{edited} == 0x3fff) { + % if ($journey->{comment}) { Kommentar - % for my $message (@{$journey->{messages} // []}) { - <%= $message->[1] %>
- % } + <%= $journey->{comment} %> % } -- cgit v1.2.3