summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-09-01 21:39:26 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-09-01 21:39:26 +0200
commit44f420864312f8269e2f5e479257588e5308120d (patch)
treec6326ba28b490697b50adc338f9a41bb4099148c
parent8529c659f7d212fd781190951d8d9aabfa4b208c (diff)
tripinfo: show remarks
-rw-r--r--templates/tripinfo.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/tripinfo.html b/templates/tripinfo.html
index dfa1757..5cf8127 100644
--- a/templates/tripinfo.html
+++ b/templates/tripinfo.html
@@ -58,6 +58,16 @@
{% endif %}
<div>
+<div class="remarks">
+<ul>
+{% for remark in tripinfo.remarks %}
+{% if remark["type"] == "status" and remark["code"] is none %}
+<li>{{ remark["summary"] }} – {{ remark["text"] }}</li>
+{% endif %}
+{% endfor %}
+</ul>
+</div>
+
<div class="route">
Fahrtverlauf:
<ul>