summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-01-12 21:25:20 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2017-01-12 21:25:20 +0000
commit67ed8fe98390e30ffa7d032c24ce645b42c9fbf0 (patch)
tree986a8348f1a49e056ba89deff01b7b6b7fdf44c3 /templates
parent55f635a0b6882d3ae1676b80911f59a239f8e15f (diff)
downloadktt-67ed8fe98390e30ffa7d032c24ce645b42c9fbf0.tar.xz
layout.html: Set direction for trains and buses
Sadly it's only 1/2, rather than north/south or whatever. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 4715a95..b6fcc4b 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -81,6 +81,7 @@ p {
{% if transport in ['Trains', 'Buses'] %}
<div>
<p>Stop: {{ departure['StopPointDesignation'] }}</p>
+ <p>Direction: {{ departure['JourneyDirection'] }}</p>
</div>
{% endif %}