summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-10 18:16:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-10 18:16:45 +0200
commit25c460a34a6140a2edce934899d12744fe4f6d01 (patch)
tree98aac7ccb0ffec806c2ef9fadcb8bee30ff0b068
parentf6800c86683df31c3a2080ba2b0657a97315a980 (diff)
public status: Do not overwrite line name1.1.11
-rw-r--r--templates/_public_status_card.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep
index 086c71b..d19cb9f 100644
--- a/templates/_public_status_card.html.ep
+++ b/templates/_public_status_card.html.ep
@@ -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
% }