Add havelseite
This commit is contained in:
26
generator/templates/location.html
Normal file
26
generator/templates/location.html
Normal file
@ -0,0 +1,26 @@
|
||||
<section class="location-section">
|
||||
<div class="location-content">
|
||||
{{ content | safe }}
|
||||
|
||||
{% if address %}
|
||||
<p class="location-address">{{ address }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if address %}
|
||||
<div class="location-placeholder">
|
||||
<strong>Externe Karte</strong>
|
||||
<p>Die Karte wird aus Datenschutzgruenden nicht automatisch geladen.</p>
|
||||
<button
|
||||
class="external-load-button"
|
||||
type="button"
|
||||
data-map-address="{{ address | e }}"
|
||||
data-embed-class="location-map"
|
||||
data-embed-title="Karte"
|
||||
{% if external_content_enabled %}data-auto-load="true"{% endif %}
|
||||
>
|
||||
Karte laden
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</section>
|
||||
Reference in New Issue
Block a user