templates/stop.html

changeset 77
83cd29dee853
parent 67
336c750b7b5d
child 90
36efdea68d03
--- a/templates/stop.html	Thu Dec 07 16:55:44 2017 +0200
+++ b/templates/stop.html	Mon Dec 11 12:55:00 2017 +0200
@@ -1,3 +1,4 @@
+{% from "macros.html" import route_rep %}
 <html>
 <head>
 	<link rel="icon" type="image/png" href="../static/favicon.png" />
@@ -42,7 +43,7 @@
 				{% endif %}
 				{{halt['time']}}</td>
 			<td class='sarake-linja linja'>
-				<a href="../trip/{{halt['trip']}}">{{halt['route']}}</a>
+				<a href="../trip/{{halt['trip']}}">{{route_rep(halt['route-splice'])}}</a>
 			</td>
 			<td class='sarake-määränpää' colspan='2'>
 				<a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a>

mercurial