show button if insctive jobs available
This commit is contained in:
@@ -16,14 +16,16 @@
|
||||
</div>
|
||||
{% if active_jobs or inactive_jobs %}
|
||||
<h3 class="group mt-4 mb-2 text-lg text-gray-900">Ehrenamtliche Tätigkeiten:
|
||||
<button class="inline float-right text-sm px-2 py-1 text-gray-600 md:text-gray-500 group-hover:text-gray-600 border rounded border-gray-500 md:border-gray-400 group-hover:border-gray-500"
|
||||
@click="expandList = ! expandList"
|
||||
>
|
||||
<span x-show="!expandList">Mehr</span><span x-show="expandList">Weniger</span><span class="hidden md:inline"> anzeigen</span>
|
||||
<i class="fa-fw fa-solid fa-angle-left transition transform -ml-1"
|
||||
:class="expandList ? '-rotate-90' : ''"
|
||||
></i>
|
||||
</button>
|
||||
{% if inactive_jobs %}
|
||||
<button class="inline float-right text-sm px-2 py-1 text-gray-600 md:text-gray-500 group-hover:text-gray-600 border rounded border-gray-500 md:border-gray-400 group-hover:border-gray-500"
|
||||
@click="expandList = ! expandList"
|
||||
>
|
||||
<span x-show="!expandList">Mehr</span><span x-show="expandList">Weniger</span><span class="hidden md:inline"> anzeigen</span>
|
||||
<i class="fa-fw fa-solid fa-angle-left transition transform -ml-1"
|
||||
:class="expandList ? '-rotate-90' : ''"
|
||||
></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
</h3>
|
||||
|
||||
<ul class="flex flex-col gap-1">
|
||||
|
||||
Reference in New Issue
Block a user