diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-09-01 21:39:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-09-01 21:39:26 +0200 |
commit | 44f420864312f8269e2f5e479257588e5308120d (patch) | |
tree | c6326ba28b490697b50adc338f9a41bb4099148c /templates/tripinfo.html | |
parent | 8529c659f7d212fd781190951d8d9aabfa4b208c (diff) |
tripinfo: show remarks
Diffstat (limited to 'templates/tripinfo.html')
-rw-r--r-- | templates/tripinfo.html | 10 |
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> |