use correct variable for condtion

This commit is contained in:
2024-08-11 12:21:17 +02:00
parent d8dec47c6a
commit 4134ad67d5

View File

@@ -80,7 +80,7 @@
<hr class="-mx-4 border-gray-200 dark:border-gray-800 dark:border my-4"> <hr class="-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-inbox mr-2 text-gray-400 dark:text-gray-500"></i>Dokument(e):</h2> <h2 class="text-gray-800 dark:text-gray-200 font-medium"><i class="fa-solid fa-inbox mr-2 text-gray-400 dark:text-gray-500"></i>Dokument(e):</h2>
{% if post.has_agenda and post.agenda_key != "#" %} {% if post.has_agenda and post.agenda_url %}
<div class="w-full my-2 flex items-center gap-4 text-gray-700 dark:text-gray-300" x-data="optionsToggle"> <div class="w-full my-2 flex items-center gap-4 text-gray-700 dark:text-gray-300" x-data="optionsToggle">
<span class="flex-1">Agenda</span> <span class="flex-1">Agenda</span>
<div class="relative"> <div class="relative">
@@ -116,7 +116,7 @@
</div> </div>
{% endif %} {% endif %}
{% if post.has_protocol and post.protocol_key != "#" %} {% if post.has_protocol and post.protocol_url %}
<div class="w-full my-2 flex items-center gap-4 text-gray-700 dark:text-gray-300" x-data="optionsToggle"> <div class="w-full my-2 flex items-center gap-4 text-gray-700 dark:text-gray-300" x-data="optionsToggle">
<span class="flex-1">Protokoll</span> <span class="flex-1">Protokoll</span>
<div class="relative"> <div class="relative">