From 21135337130482d24a3add77d7fbb672b6881d7d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 20 Oct 2018 15:48:24 +0200 Subject: history: always show train numbers --- templates/history.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) { <%= $travel->{sched_departure}->strftime('%d.%m.%Y') %> - <%= $travel->{type} %> <%= $travel->{line} // $travel->{no} %> + <%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %> <%= $travel->{from_name} %> → <%= $travel->{to_name} %> <%= $travel->{rt_departure}->strftime('%H:%M') %> % if ($travel->{sched_departure} != $travel->{rt_departure}) { -- cgit v1.2.3