templates/stop.html

changeset 40
06000662d87b
parent 38
d0ae1996abdd
child 41
4354d459c231
--- a/templates/stop.html	Wed Jun 28 17:04:51 2017 +0300
+++ b/templates/stop.html	Wed Jun 28 17:51:40 2017 +0300
@@ -41,15 +41,15 @@
 		</tr>
 		{% for halt in schedule %}
 		<tr class="{% if halt['night'] %} yö {% endif %}">
+			{% if halt['imminent'] %}
+			<span class='imminent-leave'>●</span>
+			{% endif %}
 			<td class='sarake-aika'>{{halt['time']}}</td>
 			<td class='sarake-linja linja'>
 				<a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a>
 			</td>
 			<td class='sarake-määränpää'>
 				<a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a>
-				{% if halt['imminent'] %}
-				<span class='imminent-leave'>●</span>
-				{% endif %}
 			</td>
 		</tr>
 		{% endfor %}

mercurial