|
@ -128,9 +128,13 @@ |
|
|
"{% for master in masters %}", |
|
|
"{% for master in masters %}", |
|
|
" {% if master.tags.public_transport != 'stop_area' %}", |
|
|
" {% if master.tags.public_transport != 'stop_area' %}", |
|
|
" <li data-object=\"{{ master.id }}\">", |
|
|
" <li data-object=\"{{ master.id }}\">", |
|
|
" <span class='markerParent'><div class='marker'>{{ markerCircle({fillColor:const[master.tags.route].color})|raw }}</div><div class='icon'>{{ const[master.tags.route].sign|raw }}</div></span>", |
|
|
|
|
|
" <span class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</span>", |
|
|
|
|
|
" <span class='description'>{{ tagTrans('route', master.tags.route) }}</span>", |
|
|
|
|
|
|
|
|
" <a href='#pt/{{ master.id }}'>", |
|
|
|
|
|
" <div class='marker'><div class='symbol'>{{ markerCircle({fillColor:const[master.tags.route].color})|raw }}</div><div class='sign'>{{ const[master.tags.route].sign|raw }}</div></div>", |
|
|
|
|
|
" <div class='content'>", |
|
|
|
|
|
" <div class='description'>{{ tagTrans('route', master.tags.route) }}</div>", |
|
|
|
|
|
" <div class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</div>", |
|
|
|
|
|
" </div>", |
|
|
|
|
|
" </a>", |
|
|
" </li>", |
|
|
" </li>", |
|
|
" {% endif %}", |
|
|
" {% endif %}", |
|
|
"{% endfor %}", |
|
|
"{% endfor %}", |
|
|