Browse Source

pt: route icons in stop/way popup

filter
parent
commit
ece5008798
  1. 2
      pt.json

2
pt.json

@ -127,7 +127,7 @@
"{% 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'>{{ markerLine({ width: 4, color: const[master.tags.route].color })|raw }}</div></span>",
" <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='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>", " <span class='description'>{{ tagTrans('route', master.tags.route) }}</span>",
" </li>", " </li>",

Loading…
Cancel
Save