Skip to content
Snippets Groups Projects
Unverified Commit 72f6c2ea authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

fix pride ICE not being indicated in public status card

parent 671e518c
No related branches found
No related tags found
No related merge requests found
...@@ -1178,6 +1178,12 @@ sub startup { ...@@ -1178,6 +1178,12 @@ sub startup {
wagons => [@wagons], wagons => [@wagons],
} }
); );
if ( $group->{fahrzeuggruppebezeichnung}
and $group->{fahrzeuggruppebezeichnung} eq
'ICE0304' )
{
$data->{wagonorder_pride} = 1;
}
} }
$self->in_transit->update_data( $self->in_transit->update_data(
uid => $uid, uid => $uid,
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
<div class="card"> <div class="card">
<div class="card-content"> <div class="card-content">
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i> <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}) { % if ($journey->{comment}) {
<p><%= $journey->{comment} %></p> <p><%= $journey->{comment} %></p>
% } % }
......
...@@ -12,12 +12,17 @@ ...@@ -12,12 +12,17 @@
<p>„<%= $journey->{comment} %>“</p> <p>„<%= $journey->{comment} %>“</p>
% } % }
<p> <p>
% if ($journey->{train_line}) { <div class="center-align">
<div class="center-align"><b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %></div> % if ($journey->{train_line}) {
% } <b><%= $journey->{train_type} %> <%= $journey->{train_line} %></b> <%= $journey->{train_no} %>
% else { % }
<div class="center-align"><b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b></div> % else {
% } <b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b>
% }
% if ($journey->{extra_data}{wagonorder_pride}) {
🏳️‍🌈
% }
</div>
<div class="center-align countdown" <div class="center-align countdown"
data-duration="<%= $journey->{journey_duration} // 0 %>" data-duration="<%= $journey->{journey_duration} // 0 %>"
% if (param('token')) { % if (param('token')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment