diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-20 15:48:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-20 15:48:24 +0200 |
commit | 21135337130482d24a3add77d7fbb672b6881d7d (patch) | |
tree | da769f33866cc9aae53ace168eeab80111165282 /templates | |
parent | 046ab99013958d9016e6e2cbff1a6c2557576315 (diff) |
history: always show train numbers
Diffstat (limited to 'templates')
-rw-r--r-- | templates/history.html.ep | 2 |
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}) { |