show button if insctive jobs available
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% if active_jobs or inactive_jobs %}
|
{% if active_jobs or inactive_jobs %}
|
||||||
<h3 class="group mt-4 mb-2 text-lg text-gray-900">Ehrenamtliche Tätigkeiten:
|
<h3 class="group mt-4 mb-2 text-lg text-gray-900">Ehrenamtliche Tätigkeiten:
|
||||||
|
{% 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"
|
<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"
|
@click="expandList = ! expandList"
|
||||||
>
|
>
|
||||||
@@ -24,6 +25,7 @@
|
|||||||
:class="expandList ? '-rotate-90' : ''"
|
:class="expandList ? '-rotate-90' : ''"
|
||||||
></i>
|
></i>
|
||||||
</button>
|
</button>
|
||||||
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<ul class="flex flex-col gap-1">
|
<ul class="flex flex-col gap-1">
|
||||||
|
|||||||
Reference in New Issue
Block a user