From 46b25b5450f96bc92f147b3869fdb4653d40232e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Thu, 29 Oct 2020 20:45:27 +0100
Subject: [PATCH] pt

---
 pt.json | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pt.json b/pt.json
index 7992d43..90893a9 100644
--- a/pt.json
+++ b/pt.json
@@ -183,7 +183,13 @@
         "listStopsMarkerSymbol": "{{ markerCircle({ width: 5, color: color, fillOpacity: '1', radius: 3 })|raw }}",
         "listStopsExclude": "{{ not isStop or stopCount == 0 }}",
         "listStopsTitle": "{% if tags %}{{ tags.name|default(stopName)|default(trans('unknown')) }}{% else %}<li>{{ trans('loading') }}</li>{% endif %}",
-        "listStopsDescription": "{{ refs|join(' · ') }}",
+        "listStopsDetails": "{{ refs|join(' · ') }}",
+        "listStopsDescription": [
+          "{% set stopTypes = [] %}",
+          "{% if tags.railway in ['tram_stop'] %}{% set stopTypes = stopTypes|merge([ tagTrans('railway', tags.railway) ]) %}{% endif %}",
+          "{% if tags.highway in ['bus_stop'] %}{% set stopTypes = stopTypes|merge([ tagTrans('highway', tags.highway) ]) %}{% endif %}",
+          "{{ enumerate(stopTypes) }}"
+        ],
         "listRoutesExclude": "true",
         "style:stop": {
             "width": "4",