summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_checked_in.html.ep4
-rw-r--r--templates/_public_status_card.html.ep17
2 files changed, 14 insertions, 7 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 0ead240..b8c8c6b 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -3,7 +3,9 @@
<div class="card">
<div class="card-content">
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
- <span class="card-title">Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %></span>
+ <span class="card-title">
+ Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %>
+ </span>
% if ($journey->{comment}) {
<p><%= $journey->{comment} %></p>
% }
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')) {