Testversion 1
This commit is contained in:
31
backend/templates/info.html
Normal file
31
backend/templates/info.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<section class="card">
|
||||
<h1>
|
||||
{% if page == 'schedule' %}{{ t('schedule') }}{% endif %}
|
||||
{% if page == 'hotels' %}{{ t('hotels') }}{% endif %}
|
||||
{% if page == 'taxi' %}{{ t('taxi') }}{% endif %}
|
||||
{% if page == 'location' %}{{ t('location') }}{% endif %}
|
||||
</h1>
|
||||
|
||||
{% if page == 'schedule' %}
|
||||
<p>15:00 Trauung, 17:00 Empfang, 19:00 Dinner.</p>
|
||||
{% elif page == 'hotels' %}
|
||||
<p>Empfehlungen folgen. Bitte frühzeitig buchen.</p>
|
||||
{% elif page == 'taxi' %}
|
||||
<p>Taxi-Service: 01234 / 567890 (24/7).</p>
|
||||
{% elif page == 'location' %}
|
||||
<p><strong>{{ location_name }}</strong></p>
|
||||
<p>{{ location_address }}</p>
|
||||
<div class="map-wrap">
|
||||
<iframe
|
||||
src="{{ google_maps_embed_url }}"
|
||||
loading="lazy"
|
||||
referrerpolicy="no-referrer-when-downgrade"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</div>
|
||||
<a class="btn" href="{{ location_website_url }}" target="_blank" rel="noopener">{{ t('visit_location') }}</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user