templates/trip.html

changeset 29
2c78e68d7363
parent 25
cb423946cf33
child 31
60045b362d71
--- a/templates/trip.html	Wed Jun 21 18:25:09 2017 +0300
+++ b/templates/trip.html	Thu Jun 22 19:01:31 2017 +0300
@@ -76,10 +76,10 @@
 			<tr>
 				<td class='sarake-aika'>{{halt['time']}}</td>
 				<td class='sarake-pysäkkiviite'>
-					<a href="/pysäkki/{{halt['reference']}}"><img src='/static/pysäkki.png' height='24' /> {{halt['reference']}}</a>
+					<a href="/pysäkki/{{halt['id']}}"><img src='/static/pysäkki.png' height='24' /> {{halt['code']}}</a>
 				</td>
 				<td class='sarake-pysäkki'>
-					<a href="/pysäkki/{{halt['reference']}}">{{halt['name']}}</a>
+					<a href="/pysäkki/{{halt['id']}}">{{halt['name']}}</a>
 				</td>
 			</tr>
 			{% endfor %}

mercurial