diff --git a/cycle_routes.json b/cycle_routes.json
index 44509f6b..e2a8757f 100644
--- a/cycle_routes.json
+++ b/cycle_routes.json
@@ -42,12 +42,12 @@
"title": "",
"body": [
"
Routes
",
- "",
+ "",
"{% for master in masters %}",
- " - ",
- " {{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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 %}",
- " {{ tagTrans('network', master.tags.network) }}",
+ "
- ",
+ "
{{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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 %}",
+ " {{ tagTrans('network', master.tags.network) }}",
" ",
"{% endfor %}",
"
"
diff --git a/hiking_routes.json b/hiking_routes.json
index 964a7013..929ffa9a 100644
--- a/hiking_routes.json
+++ b/hiking_routes.json
@@ -41,12 +41,12 @@
],
"body": [
"Routes
",
- "",
+ "",
"{% for master in masters %}",
- " - ",
- " {{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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 %}",
- " {{ tagTrans('network', master.tags.network) }}",
+ "
- ",
+ "
{{ markerLine({ width: 4, color: const[master.tags.network].color|default(const[''].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 %}",
+ " {{ tagTrans('network', master.tags.network) }}",
" ",
"{% endfor %}",
"
"
diff --git a/pt.json b/pt.json
index 65afdd64..509e0d37 100644
--- a/pt.json
+++ b/pt.json
@@ -137,10 +137,14 @@
"listStopsDescription": "{{ refs|join(' ') }}",
"body": [
"Routes
",
- "",
+ "",
"{% for master in masters %}",
" {% if master.tags.public_transport != 'stop_area' %}",
- " - {{ master.tags.name|default(master.tags.ref) }}
",
+ " - ",
+ "
{{ markerLine({ width: 4, color: const[master.tags.route].color })|raw }}
",
+ " {{ master.tags.name|default(master.tags.ref) }}",
+ " {{ tagTrans('route', master.tags.route) }}",
+ " ",
" {% endif %}",
"{% endfor %}",
"
"
diff --git a/railway-routes.json b/railway-routes.json
index 39ac63cf..c81f51fa 100644
--- a/railway-routes.json
+++ b/railway-routes.json
@@ -36,9 +36,9 @@
"{% for master in masters %}",
" {% set _color = '#' ~ master.tags.operator|default('')|md5|slice(0, 6) %}",
" - ",
- " {{ 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 %}",
- " {{ master.tags.operator }}",
+ "
{{ 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 %}",
+ " {{ master.tags.operator }}",
" ",
"{% endfor %}",
"
"