summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-17 11:25:35 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-17 11:25:35 +0200
commitebb6b76a32d1bb4651ca757a5e5aa8ef7756e8c5 (patch)
treeeda0849f9d011ec259cdaf27c79f5b042bed353f /templates
parentd21e89035f7d5f684a7d11ec164118978fcedc2e (diff)
dbris: persist backend messages and show them in journey view2.11.27
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index c052190..e97c729 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -177,6 +177,16 @@
</td>
</tr>
% }
+ % if ($journey->{user_data}{him_msg} and @{$journey->{user_data}{him_msg}}) {
+ <tr>
+ <th scope="row">Meldungen</th>
+ <td>
+ % for my $message (@{$journey->{user_data}{him_msg} // []}) {
+ <i class="material-icons tiny"><%= ($message->{prio} and $message->{prio} eq 'HOCH') ? 'warning' : 'info' %></i> <%= $message->{header} %> <%= $message->{lead} %><br/>
+ % }
+ </td>
+ </tr>
+ % }
% if ($journey->{user_data} and $journey->{user_data}{comment}) {
<tr>
<th scope="row">Kommentar</th>