summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-11 18:08:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-11 18:09:02 +0200
commit40d926e62dbd06b897f959afdbfc96bd9f4ca04d (patch)
treeb48a076f65135337566592397ad0f2c20ec967a0 /templates
parente91c540c8e5562f938dd329df43fcfc393599c12 (diff)
decrease minimum history width by hiding train number if line is available
Diffstat (limited to 'templates')
-rw-r--r--templates/_history_trains.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_history_trains.html.ep b/templates/_history_trains.html.ep
index a105dff..def83d6 100644
--- a/templates/_history_trains.html.ep
+++ b/templates/_history_trains.html.ep
@@ -15,7 +15,7 @@
% my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{ids}->[1];
<tr>
<td><%= $travel->{sched_departure}->strftime('%d.%m.') %></td>
- <td><a href="<%= $detail_link %>"><%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %></a></td>
+ <td><a href="<%= $detail_link %>"><%= $travel->{type} %> <%= $travel->{line} // $travel->{no} %></a></td>
<td>
<a href="<%= $detail_link %>" class="unmarked">
% if (param('cancelled')) {