templates/stop_week.html

changeset 121
a6a46c7519a2
parent 120
16bc79099171
equal deleted inserted replaced
120:16bc79099171 121:a6a46c7519a2
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'><a href="/trip/{{entry['trip']}}">{{'%02d' % entry['minute']}}</a></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