templates/macros.html

Tue, 11 Sep 2018 08:23:44 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 11 Sep 2018 08:23:44 +0300
changeset 111
bb1e1307473f
parent 98
c07a77c8a070
permissions
-rw-r--r--

area update

78
ead971f9569c add missing files
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 {% macro route_rep(route_splice) %}
ead971f9569c add missing files
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 {{route_splice[0]}}{{route_splice[1]}}<span class='route-suffix'>{{route_splice[2]}}</span>
ead971f9569c add missing files
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 {% endmacro %}
98
c07a77c8a070 fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents: 78
diff changeset
4
c07a77c8a070 fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents: 78
diff changeset
5 {% macro bus_stop_rep(bus_stop) %}
c07a77c8a070 fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents: 78
diff changeset
6 <a href="./stop/{{bus_stop.code}}"><img src="./static/{{bus_stop.typename}}.png" height="24" /> <span class='stop-code'>{{bus_stop.code}} </span><br /><span class='stop-name'>{{bus_stop.name}}</span></a>
c07a77c8a070 fixes, updates, new regions + priorities
Teemu Piippo <teemu@hecknology.net>
parents: 78
diff changeset
7 {% endmacro %}

mercurial