templates/stop.html

changeset 41
4354d459c231
parent 40
06000662d87b
child 48
428cfdf64ccc
equal deleted inserted replaced
40:06000662d87b 41:4354d459c231
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'] %} 44 <td class='sarake-aika'>
45 <span class='imminent-leave'>●</span> 45 {% if halt['imminent'] %}
46 {% endif %} 46 <span class='imminent-leave'>●</span>
47 <td class='sarake-aika'>{{halt['time']}}</td> 47 {% endif %}
48 {{halt['time']}}</td>
48 <td class='sarake-linja linja'> 49 <td class='sarake-linja linja'>
49 <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> 50 <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a>
50 </td> 51 </td>
51 <td class='sarake-määränpää'> 52 <td class='sarake-määränpää'>
52 <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> 53 <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a>

mercurial