diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-03-28 19:21:52 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-28 19:21:52 +0100 | 
| commit | df34c58cc5190946f51a0c2d2d1d2fe159569599 (patch) | |
| tree | b099edec2ac767373e077139caa7ad2067701125 | |
| parent | eb929811b227790553265cdd4125cc17b4c7f1a6 (diff) | |
history: move time column next to date
| -rw-r--r-- | templates/history.html.ep | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/templates/history.html.ep b/templates/history.html.ep index 2808660..5fc3907 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -71,9 +71,9 @@  			<thead>  				<tr>  					<th>Datum</th> +					<th>Zeit</th>  					<th>Zug</th>  					<th>Strecke</th> -					<th>Zeit</th>  				</tr>  			</thead>  			<tbody> @@ -82,8 +82,6 @@  						% my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{checkin}->epoch . '-' . $travel->{checkout}->epoch;  						<tr>  							<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>  							% if (param('cancelled') and $travel->{sched_arrival}->epoch != 0) {  								%= $travel->{sched_arrival}->strftime('%H:%M') @@ -109,6 +107,8 @@  								% }  							% }  							</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>  					% }  				% } | 
