diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-08-23 10:34:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-08-23 10:34:02 +0200 |
commit | f6d56d3134f6045726cb1d4ed8700382575bb686 (patch) | |
tree | 82bdf8b59acfefd6fb001d6be807915834ee64a9 /templates/journey.html.ep | |
parent | d08c1ead330f80ef1ae5f477f6d47a45f5793bb0 (diff) |
Add proper journey comment support
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r-- | templates/journey.html.ep | 6 |
1 files changed, 2 insertions, 4 deletions
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 @@ % } </td> </tr> - % if ($journey->{edited} == 0x3fff) { + % if ($journey->{comment}) { <tr> <th scope="row">Kommentar</th> <td> - % for my $message (@{$journey->{messages} // []}) { - <%= $message->[1] %><br/> - % } + <%= $journey->{comment} %> </td> </tr> % } |