templates/cluster.html

changeset 29
2c78e68d7363
parent 27
f89504285945
child 30
a5bfd99bc2a3
--- a/templates/cluster.html	Wed Jun 21 18:25:09 2017 +0300
+++ b/templates/cluster.html	Thu Jun 22 19:01:31 2017 +0300
@@ -39,7 +39,7 @@
 	<div class="stops-in-cluster">
 	<ul>
 	{% for stop in stops_in_cluster %}
-		<li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['id']}} {{stop['name']}}</a></li>
+		<li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li>
 	{% endfor %}
 	</ul>
 	</div>
@@ -60,7 +60,7 @@
 				<a href="/ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a>
 			</td>
 			<td class='sarake-pysäkki'>
-				<a href="/pysäkki/{{halt['stop_id']}}"><img src="/static/pysäkki.png" height="24" /> {{halt['stop_id']}}</a>
+				<a href="/pysäkki/{{halt['stop_id']}}"><img src="/static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a>
 			</td>
 		</tr>
 		{% endfor %}

mercurial