summaryrefslogtreecommitdiff
path: root/templates/history.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/history.html.ep')
-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}) {