summaryrefslogtreecommitdiff
path: root/templates/departure_list.html
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-22 13:04:58 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-22 13:04:58 +0200
commit7fb32adf98e180c59ad9863cf1afd1af0b12125b (patch)
treea2c5cd802942858b7e10b7703261867958df92ae /templates/departure_list.html
parent0a72758216e7486d89393eff5174f54b74f950b3 (diff)
regularly update relative departure timestamps even when offline
Diffstat (limited to 'templates/departure_list.html')
-rw-r--r--templates/departure_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html
index f3cd900..801e6d2 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -1,5 +1,5 @@
{% for departure in departures %}
- <li class="{{ departure.classes }}">
+ <li class="{{ departure.classes }}" data-timestamp="{{ departure.sort_by }}">
<a href="https://dbf.finalrewind.org/map/{{ departure.tripId }}/0?from={{ departure.quoted_stop_name }}">
<span class="line {{ departure.line.css_class }}">{{ departure.line.name }}</span>
{% if departure.suffix %}