history: move time column next to date
This commit is contained in:
parent
eb929811b2
commit
df34c58cc5
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Datum</th>
|
<th>Datum</th>
|
||||||
|
<th>Zeit</th>
|
||||||
<th>Zug</th>
|
<th>Zug</th>
|
||||||
<th>Strecke</th>
|
<th>Strecke</th>
|
||||||
<th>Zeit</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -82,8 +82,6 @@
|
||||||
% my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{checkin}->epoch . '-' . $travel->{checkout}->epoch;
|
% my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{checkin}->epoch . '-' . $travel->{checkout}->epoch;
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= $travel->{sched_departure}->strftime('%d.%m.%Y') %></td>
|
<td><%= $travel->{sched_departure}->strftime('%d.%m.%Y') %></td>
|
||||||
<td><a href="<%= $detail_link %>"><%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %></a></td>
|
|
||||||
<td><a href="<%= $detail_link %>"><%= $travel->{from_name} %> → <%= $travel->{to_name} %></a></td>
|
|
||||||
<td>
|
<td>
|
||||||
% if (param('cancelled') and $travel->{sched_arrival}->epoch != 0) {
|
% if (param('cancelled') and $travel->{sched_arrival}->epoch != 0) {
|
||||||
%= $travel->{sched_arrival}->strftime('%H:%M')
|
%= $travel->{sched_arrival}->strftime('%H:%M')
|
||||||
|
@ -109,6 +107,8 @@
|
||||||
% }
|
% }
|
||||||
% }
|
% }
|
||||||
</td>
|
</td>
|
||||||
|
<td><a href="<%= $detail_link %>"><%= $travel->{type} %> <%= $travel->{line} // '' %> <%= $travel->{no} %></a></td>
|
||||||
|
<td><a href="<%= $detail_link %>"><%= $travel->{from_name} %> → <%= $travel->{to_name} %></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
% }
|
% }
|
||||||
% }
|
% }
|
||||||
|
|
Loading…
Reference in a new issue