summaryrefslogtreecommitdiff
path: root/templates/departures.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-23 22:27:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-23 22:27:13 +0200
commit6c1cae86f4fa343b4f165f80a4e42eba37fa917c (patch)
tree273fcc63fd249a766b39855f5dc3f60b4dcecb26 /templates/departures.html.ep
parentffaa0c44a78bb4bab632fcb76b668215da4c0a82 (diff)
Primitive auto-refresh of current journey status
Todo: Redirect user to destination station upon arrival
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r--templates/departures.html.ep13
1 files changed, 1 insertions, 12 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 7d33417..32a4336 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -16,18 +16,7 @@
</div>
% }
% elsif ($status->{timestamp_delta} < 180) {
- <div class="card grey darken-4">
- <div class="card-content white-text">
- <span class="card-title">Ausgecheckt</span>
- <p>Aus <%= $status->{train_type} %> <%= $status->{train_no} %>
- bis <%= $status->{arr_name} %></p>
- </div>
- <div class="card-action">
- <a class="action-undo" data-id="<%= $status->{journey_id} %>">
- <i class="material-icons">undo</i> Rückgängig?
- </a>
- </div>
- </div>
+ %= include '_checked_out', status => $status;
% }
</div>
</div>