fix event infos (date and place) in news shown
This commit is contained in:
@@ -156,16 +156,18 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||
<div class="lg:hidden">
|
||||
<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>
|
||||
<ul class="text-base text-gray-700 dark:text-gray-300 my-1">
|
||||
<li>Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr</li>
|
||||
<li>Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr</li>
|
||||
<li>Ort: {{ post.event_place }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if post.post_type != 'N' %}
|
||||
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||
<div class="lg:hidden">
|
||||
<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>
|
||||
<ul class="text-base text-gray-700 dark:text-gray-300 my-1">
|
||||
<li>Start: {{ post.event_start|date }} um {{ post.event_start|time }} Uhr</li>
|
||||
<li>Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr</li>
|
||||
<li>Ort: {{ post.event_place }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if post.has_agenda or post.has_protocol %}
|
||||
{% if request.user.is_authenticated %}
|
||||
<hr class="-mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||
|
||||
Reference in New Issue
Block a user