diff options
Diffstat (limited to 'templates')
-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> % } |