summaryrefslogtreecommitdiff
path: root/templates/journey.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/journey.html.ep')
-rw-r--r--templates/journey.html.ep18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index 724d8ca..343c178 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -121,15 +121,7 @@
% }
</td>
</tr>
- % if ($journey->{comment}) {
- <tr>
- <th scope="row">Kommentar</th>
- <td>
- <%= $journey->{comment} %>
- </td>
- </tr>
- % }
- % else {
+ % if ($journey->{messages} and @{$journey->{messages}}) {
<tr>
<th scope="row">Meldungen</th>
<td>
@@ -140,6 +132,14 @@
</td>
</tr>
% }
+ % if ($journey->{user_data} and $journey->{user_data}{comment}) {
+ <tr>
+ <th scope="row">Kommentar</th>
+ <td>
+ <%= $journey->{user_data}{comment} %>
+ </td>
+ </tr>
+ % }
<tr>
<th scope="row">Route</th>
<td>