summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-05-25 10:36:36 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-05-25 10:36:36 +0200
commit69a27390fe57dff2da44cc489539cecba213b8a5 (patch)
treedbdcba21b4af7bb1323c616bce97671f5552f007 /templates
parentce794a272fad0bc272a3e54f73a37508eac2554f (diff)
status card: show carriage formation
Diffstat (limited to 'templates')
-rw-r--r--templates/_public_status_card.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 11ef85b..bf5656b 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -197,6 +197,11 @@
</ul>
</p>
% }
+ % if ( $journey->{wagongroups} and @{$journey->{wagongroups}} and not stash('from_timeline')) {
+ <div class="wagons">
+ %= include '_wagons', wagongroups => $journey->{wagongroups};
+ </div>
+ % }
</div>
% if (not stash('from_timeline')) {
<div class="card-action">