Commit 0d76beb2 authored by Volker Krause's avatar Volker Krause
Browse files

Only show the event address if there's anything substantial to show

That is, we have at least a street or a city, just a postal code or a
country provides little value and looks out of place.
parent de03b870
Pipeline #65109 skipped
......@@ -12,7 +12,7 @@
<br/>
{{ trip.location.name }}
{% with trip.location as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}
{% if not trip.location.address.isEmpty %}
{% if trip.location.address.streetAddress or trip.location.address.addressLocality %}
<br/>{{ trip.location.address|formatAddress|safe }}
{% endif %}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment