added links to stop_week

Fri, 21 Sep 2018 00:20:40 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 21 Sep 2018 00:20:40 +0300
changeset 120
16bc79099171
parent 119
f546e0d6df65
child 121
a6a46c7519a2

added links to stop_week

templates/stop_week.html file | annotate | diff | comparison | revisions
--- a/templates/stop_week.html	Tue Sep 18 19:06:22 2018 +0300
+++ b/templates/stop_week.html	Fri Sep 21 00:20:40 2018 +0300
@@ -231,7 +231,7 @@
 	<tr class='{{day["day-class"]}} {{night_class(hour)}}'>
 	<th class='hour-column {{night_class(hour)}}'>{{hour}}</th>
 	{% for entry in hour_schedule %}
-	<td class='minute-time'><span>{{'%02d' % entry['minute']}}</span></td>
+	<td class='minute-time'><a href="/trip/{{entry['trip']}}">{{'%02d' % entry['minute']}}</a></td>
 	{% if not description['simple'] %}
 	<td class='minute-route'><span>{{entry['route']}}</span></td>
 	{% endif %}

mercurial