fix event infos (date and place) in news shown
This commit is contained in:
@@ -156,15 +156,17 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
{% if post.post_type != 'N' %}
|
||||||
<div class="lg:hidden">
|
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||||
<h2 class="text-gray-800 dark:text-gray-200 font-medium"><i class="fa-solid fa-calendar-days mr-2 text-gray-400 dark:text-gray-500"></i>Termindetails:</h2>
|
<div class="lg:hidden">
|
||||||
<ul class="text-base text-gray-700 dark:text-gray-300 my-1">
|
<h2 class="text-gray-800 dark:text-gray-200 font-medium"><i class="fa-solid fa-calendar-days mr-2 text-gray-400 dark:text-gray-500"></i>Termindetails:</h2>
|
||||||
<li>Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr</li>
|
<ul class="text-base text-gray-700 dark:text-gray-300 my-1">
|
||||||
<li>Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr</li>
|
<li>Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr</li>
|
||||||
<li>Ort: {{ post.event_place }}</li>
|
<li>Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr</li>
|
||||||
</ul>
|
<li>Ort: {{ post.event_place }}</li>
|
||||||
</div>
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if post.has_agenda or post.has_protocol %}
|
{% if post.has_agenda or post.has_protocol %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
|
|||||||
Reference in New Issue
Block a user