templates/stop_week.html

changeset 120
16bc79099171
parent 109
88a5110b66ba
child 121
a6a46c7519a2
equal deleted inserted replaced
119:f546e0d6df65 120:16bc79099171
229 </tr> 229 </tr>
230 {% for hour, hour_schedule in day['schedule'].items() %} 230 {% for hour, hour_schedule in day['schedule'].items() %}
231 <tr class='{{day["day-class"]}} {{night_class(hour)}}'> 231 <tr class='{{day["day-class"]}} {{night_class(hour)}}'>
232 <th class='hour-column {{night_class(hour)}}'>{{hour}}</th> 232 <th class='hour-column {{night_class(hour)}}'>{{hour}}</th>
233 {% for entry in hour_schedule %} 233 {% for entry in hour_schedule %}
234 <td class='minute-time'><span>{{'%02d' % entry['minute']}}</span></td> 234 <td class='minute-time'><a href="/trip/{{entry['trip']}}">{{'%02d' % entry['minute']}}</a></td>
235 {% if not description['simple'] %} 235 {% if not description['simple'] %}
236 <td class='minute-route'><span>{{entry['route']}}</span></td> 236 <td class='minute-route'><span>{{entry['route']}}</span></td>
237 {% endif %} 237 {% endif %}
238 {% endfor %} 238 {% endfor %}
239 </tr> 239 </tr>

mercurial