summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-16 21:24:13 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-16 21:24:13 +0200
commitd21e89035f7d5f684a7d11ec164118978fcedc2e (patch)
tree2f7df749fdbb4455fda69b92195f7e1d79692023
parent7b5712befbae16078cba378c8083d40d92004326 (diff)
public status card: show dbris messages2.11.26
-rw-r--r--templates/_public_status_card.html.ep11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index f0812ab..c646158 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -163,6 +163,17 @@
</ul>
</p>
% }
+ % if (@{$journey->{extra_data}{him_msg} // []}) {
+ <p style="margin-bottom: 2ex;">
+ <ul>
+ % for my $message (@{$journey->{extra_data}{him_msg} // []}) {
+ % if (not stash('from_timeline') or $message->{prio} and $message->{prio} eq 'HOCH') {
+ <li> <i class="material-icons tiny"><%= ($message->{prio} and $message->{prio} eq 'HOCH') ? 'warning' : 'info' %></i> <%= $message->{header} %> <%= $message->{lead} %></li>
+ % }
+ % }
+ </ul>
+ </p>
+ % }
</div>
% if (not stash('from_timeline')) {
<div class="card-action">