summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-20 15:48:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-20 15:48:24 +0200
commit21135337130482d24a3add77d7fbb672b6881d7d (patch)
treeda769f33866cc9aae53ace168eeab80111165282 /templates
parent046ab99013958d9016e6e2cbff1a6c2557576315 (diff)
history: always show train numbers
Diffstat (limited to 'templates')
-rw-r--r--templates/history.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/history.html.ep b/templates/history.html.ep
index 02d82ab..24434d0 100644
--- a/templates/history.html.ep
+++ b/templates/history.html.ep
@@ -15,7 +15,7 @@
% if ($travel->{completed}) {
<tr>
<td><%= $travel->{sched_departure}->strftime('%d.%m.%Y') %></td>
- <td><%= $travel->{type} %> <%= $travel->{line} // $travel->{no} %></td>
+ <td><%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %></td>
<td><%= $travel->{from_name} %> → <%= $travel->{to_name} %></td>
<td><%= $travel->{rt_departure}->strftime('%H:%M') %>
% if ($travel->{sched_departure} != $travel->{rt_departure}) {