summaryrefslogtreecommitdiff
path: root/templates/_checked_out.html.ep
blob: 18b613ba3edff1d7e641000660940f8a608ad831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="card">
	<div class="card-content">
		<span class="card-title">Ausgecheckt</span>
		<p>Aus <%= $journey->{train_type} %> <%= $journey->{train_no} %>
			bis <a href="/s/<%= $journey->{arr_ds100} %>"><%= $journey->{arr_name} %></a></p>
		% if (now()->epoch - $journey->{timestamp}->epoch < (30*60)) {
			% if (my @connections = get_connecting_trains()) {
				%= include '_connections', connections => \@connections, checkin_from => $journey->{arr_ds100};
			% }
		% }
	</div>
	<div class="card-action">
		<a class="action-undo" data-id="<%= $journey->{journey_id} %>">
			<i class="material-icons">undo</i> Rückgängig?
		</a>
	</div>
</div>