templates/cluster.html

changeset 31
60045b362d71
parent 30
a5bfd99bc2a3
child 32
ca1a0ea81cf6
equal deleted inserted replaced
30:a5bfd99bc2a3 31:60045b362d71
37 <body> 37 <body>
38 <h1><img src="/static/iso-pysäkki.png" height="96" /> <span>{{name}}</span></h1> 38 <h1><img src="/static/iso-pysäkki.png" height="96" /> <span>{{name}}</span></h1>
39 <p id="pysäkki-info"> 39 <p id="pysäkki-info">
40 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a> 40 <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a>
41 </p> 41 </p>
42 <p>Pysäkit ryhmässä:</p> 42 <p>{{tr('stops-in-cluster', 'misc-text')}}:</p>
43 <div class="stops-in-cluster"> 43 <div class="stops-in-cluster">
44 <ul> 44 <ul>
45 {% for stop in stops_in_cluster %} 45 {% for stop in stops_in_cluster %}
46 <li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li> 46 <li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li>
47 {% endfor %} 47 {% endfor %}

mercurial