From 29966730d54ae4b287029ae5d81067ba83eadadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at> Date: Sun, 13 Aug 2017 17:55:20 +0200 Subject: [PATCH] commonBody: wheelchair, toilet info, description --- commonBody.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/commonBody.html b/commonBody.html index c75791f..434ebdb 100644 --- a/commonBody.html +++ b/commonBody.html @@ -38,10 +38,17 @@ {% if attribute(tags, 'wheelchair') %} <li> - <i class="fa fa-wheelchair-alt symbol" aria-hidden="true"></i> + <i class="fa fa-wheelchair-alt symbol {{ tags.wheelchair }}" aria-hidden="true"></i> <span class='key'>{{ keyTrans('wheelchair') }}</span> <span class='value'> - {{ tagTrans('wheelchair', tags.wheelchair) }} + {{ tagTrans('wheelchair', tags.wheelchair) -}} + + {%- if attribute(tags, 'toilets:wheelchair') -%} + , <span class='{{ attribute(tags, 'toilets:wheelchair') }}'>🚽</span> {{ keyTrans('amenity', 'toilets') }}: {{ tagTrans('toilets:wheelchair', attribute(tags, 'toilets:wheelchair')) }}</span> + {% endif %} + + <br/> + {{ localizedTag(tags, 'wheelchair:description') }} </span> </li> {% endif %}