summaryrefslogtreecommitdiff
path: root/templates/journey.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-08-23 10:34:02 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-08-23 10:34:02 +0200
commitf6d56d3134f6045726cb1d4ed8700382575bb686 (patch)
tree82bdf8b59acfefd6fb001d6be807915834ee64a9 /templates/journey.html.ep
parentd08c1ead330f80ef1ae5f477f6d47a45f5793bb0 (diff)
Add proper journey comment support
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r--templates/journey.html.ep6
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>
% }