Main categories of OpenStreetBrowser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB

  1. <ul>
  2. {% set address = tagsPrefix(tags, 'addr:') %}
  3. {% if address %}
  4. <li>
  5. <i class="fa fa-map-marker symbol" aria-hidden="true"></i>
  6. <span class='key'>{{ keyTrans('addr') }}</span>
  7. <span class='value'>
  8. {{ attribute(tags, 'addr:street') }}
  9. {{ attribute(tags, 'addr:housenumber') }},
  10. {{ attribute(tags, 'addr:postcode') }}
  11. {{ attribute(tags, 'addr:city') }}
  12. </span>
  13. </li>
  14. {% endif %}
  15. {% if tags.phone %}
  16. <li>
  17. <i class="fa fa-phone symbol" aria-hidden="true"></i>
  18. <span class='key'>{{ keyTrans('phone') }}</span>
  19. <span class='value'>
  20. <a href='tel:{{ tags.phone }}'>{{ tags.phone }}</a>
  21. </span>
  22. </li>
  23. {% endif %}
  24. {% set payment = tagsPrefix(tags, 'payment:') %}
  25. {% if payment %}
  26. <li>
  27. <i class="fa fa-money symbol" aria-hidden="true"></i>
  28. <span class='key'>{{ keyTrans('payment') }}</span>
  29. <span class='value'>
  30. {% for k, tag in payment %}
  31. {% if tags[tag] == 'no' %}<s>{{ k }}</s> {% else %}{{ k }} {% endif %}
  32. {% endfor %}
  33. </span>
  34. </li>
  35. {% endif %}
  36. {% if attribute(tags, 'wheelchair') %}
  37. <li>
  38. <i class="fa fa-wheelchair-alt symbol" aria-hidden="true"></i>
  39. <span class='key'>{{ keyTrans('wheelchair') }}</span>
  40. <span class='value'>
  41. {{ tagTrans('wheelchair', tags.wheelchair) }}
  42. </span>
  43. </li>
  44. {% endif %}
  45. </ul>