public status: Do not overwrite line name

This commit is contained in:
Daniel Friesel 2019-05-10 18:16:45 +02:00
parent f6800c8668
commit 25c460a34a

View file

@ -4,10 +4,10 @@
<i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i>
<span class="card-title"><%= $name %> ist unterwegs</span>
<p>
<div class="center-align"><b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b></div>
<div class="center-align countdown"
data-duration="<%= $journey->{journey_duration} // 0 %>"
data-arrival="<%= $journey->{real_arrival}->epoch %>">
<b><%= $journey->{train_type} %> <%= $journey->{train_no} %></b><br/>
% if ($journey->{departure_countdown} > 120) {
Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten
% }