templates/stop.html

changeset 40
06000662d87b
parent 38
d0ae1996abdd
child 41
4354d459c231
equal deleted inserted replaced
39:42a6276cf6d1 40:06000662d87b
39 <th class='sarake-linja'>{{tr('route', 'headings')}}</th> 39 <th class='sarake-linja'>{{tr('route', 'headings')}}</th>
40 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> 40 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th>
41 </tr> 41 </tr>
42 {% for halt in schedule %} 42 {% for halt in schedule %}
43 <tr class="{% if halt['night'] %} yö {% endif %}"> 43 <tr class="{% if halt['night'] %} yö {% endif %}">
44 {% if halt['imminent'] %}
45 <span class='imminent-leave'>●</span>
46 {% endif %}
44 <td class='sarake-aika'>{{halt['time']}}</td> 47 <td class='sarake-aika'>{{halt['time']}}</td>
45 <td class='sarake-linja linja'> 48 <td class='sarake-linja linja'>
46 <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> 49 <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a>
47 </td> 50 </td>
48 <td class='sarake-määränpää'> 51 <td class='sarake-määränpää'>
49 <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> 52 <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a>
50 {% if halt['imminent'] %}
51 <span class='imminent-leave'>●</span>
52 {% endif %}
53 </td> 53 </td>
54 </tr> 54 </tr>
55 {% endfor %} 55 {% endfor %}
56 </table> 56 </table>
57 </body> 57 </body>

mercurial