summaryrefslogtreecommitdiff
path: root/templates/_public_status_card.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-18 08:25:19 +0200
committerDerf Null <derf@finalrewind.org>2023-05-18 08:25:19 +0200
commit72f6c2ea2d49268228356d743a9d79fdd652c10a (patch)
tree4d9f3861a4811b4c2ae5cd10a0b8fa8e62ebd44e /templates/_public_status_card.html.ep
parent671e518cafc03c1d8a123c65351a8a02d8d339a2 (diff)
fix pride ICE not being indicated in public status card1.31.4
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r--templates/_public_status_card.html.ep17
1 files changed, 11 insertions, 6 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index e08775c..94ebf44 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -12,12 +12,17 @@
<p>„<%= $journey->{comment} %>“</p>
% }
<p>
- % if ($journey->{train_line}) {
- <div class="center-align"><b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %></div>
- % }
- % else {
- <div class="center-align"><b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b></div>
- % }
+ <div class="center-align">
+ % if ($journey->{train_line}) {
+ <b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %>
+ % }
+ % else {
+ <b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b>
+ % }
+ % if ($journey->{extra_data}{wagonorder_pride}) {
+ 🏳️‍🌈
+ % }
+ </div>
<div class="center-align countdown"
data-duration="<%= $journey->{journey_duration} // 0 %>"
% if (param('token')) {