decrease minimum history width by hiding train number if line is available

This commit is contained in:
Daniel Friesel 2019-04-11 18:08:23 +02:00
parent e91c540c8e
commit 40d926e62d

View file

@ -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')) {