diff --git a/railway-routes.json b/railway-routes.json index c3e928f..39ac63c 100644 --- a/railway-routes.json +++ b/railway-routes.json @@ -32,10 +32,14 @@ "title": "", "body": [ "<h4>Routes</h4>", - "<ul>", + "<ul style='padding-left: 0'>", "{% for master in masters %}", " {% set _color = '#' ~ master.tags.operator|default('')|md5|slice(0, 6) %}", - " <li data-object=\"{{ master.id }}\" style='list-style: none;'>{{ markerLine({ width: 4, color: _color })|raw }}<b>{{ master.tags.name|default(master.tags.ref) }}</b>{% if master.tags.network %} <i>{{ master.tags.operator }}</i>{% endif %}</li>", + " <li data-object=\"{{ master.id }}\" style='list-style: none;'>", + " {{ markerLine({ width: 4, color: _color })|raw }}", + " {% 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 %}", + " <i style='color: #707070'>{{ master.tags.operator }}</i>", + " </li>", "{% endfor %}", "</ul>" ],