diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-11 18:08:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-11 18:09:02 +0200 |
commit | 40d926e62dbd06b897f959afdbfc96bd9f4ca04d (patch) | |
tree | b48a076f65135337566592397ad0f2c20ec967a0 /templates | |
parent | e91c540c8e5562f938dd329df43fcfc393599c12 (diff) |
decrease minimum history width by hiding train number if line is available
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_history_trains.html.ep | 2 |
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')) { |