lint code
This commit is contained in:
parent
4581ec4abc
commit
b6efe5170b
@ -11,28 +11,27 @@
|
|||||||
<li class="border-t border-gray-200 dark:border-primary-600 px-3 py-1">
|
<li class="border-t border-gray-200 dark:border-primary-600 px-3 py-1">
|
||||||
<span class="flex items-center justify-between">
|
<span class="flex items-center justify-between">
|
||||||
<span>
|
<span>
|
||||||
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span> {{ user.name }} ({{ user.mail }}
|
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span> {{ user.name }} ({{ user.mail }}
|
||||||
{%- if user.notes %} | {{ user.notes }}
|
{%- if user.notes %} | {{ user.notes }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
)
|
)
|
||||||
</span>
|
</span>
|
||||||
<a class="btn btn-primary"
|
<a class="btn btn-primary"
|
||||||
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
|
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
|
||||||
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
|
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5">
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5">
|
||||||
<h2 class="h2">Legende</h2>
|
<h2 class="h2">Legende</h2>
|
||||||
<div class="px-3 py-1">
|
<div class="px-3 py-1">
|
||||||
<span class="status-damage status-damage-none"></span> Bezahlt - Juhuuu!
|
<span class="status-damage status-damage-none"></span> Bezahlt - Juhuuu!
|
||||||
</div>
|
</div>
|
||||||
<div class="px-3 py-1">
|
<div class="px-3 py-1">
|
||||||
<span class="status-damage status-damage-locked"></span> Noch nicht bezahlt
|
<span class="status-damage status-damage-locked"></span> Noch nicht bezahlt
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="max-w-screen-lg w-full">
|
<div class="max-w-screen-lg w-full">
|
||||||
<h1 class="h1">
|
<h1 class="h1">Gebühren</h1>
|
||||||
Gebühren
|
|
||||||
</h1>
|
|
||||||
<div class="search-wrapper">
|
<div class="search-wrapper">
|
||||||
<label for="name" class="sr-only">Suche</label>
|
<label for="name" class="sr-only">Suche</label>
|
||||||
<input type="search"
|
<input type="search"
|
||||||
@ -16,7 +14,7 @@
|
|||||||
<div id="filter-result-js" class="search-result"></div>
|
<div id="filter-result-js" class="search-result"></div>
|
||||||
<div class="border-r border-l border-gray-200 dark:border-primary-600">
|
<div class="border-r border-l border-gray-200 dark:border-primary-600">
|
||||||
{% for fee in fees | sort(attribute="name") %}
|
{% for fee in fees | sort(attribute="name") %}
|
||||||
<div class="border-t border-gray-200 dark:border-primary-600 {% if fee.paid %}bg-[#15803d] text-white {% else %} bg-white dark:bg-primary-900 text-black dark:text-white {% endif %} flex justify-between items-center px-3 py-1 "
|
<div class="border-t border-gray-200 dark:border-primary-600 {% if fee.paid %}bg-[#15803d] text-white {% else %} bg-white dark:bg-primary-900 text-black dark:text-white {% endif %} flex justify-between items-center px-3 py-1 "
|
||||||
data-filterable="true"
|
data-filterable="true"
|
||||||
data-filter="{{ fee.name }} {% if fee.paid %} has-already-paid {% else %} has-not-paid {% endif %}"
|
data-filter="{{ fee.name }} {% if fee.paid %} has-already-paid {% else %} has-not-paid {% endif %}"
|
||||||
class="bg-white dark:bg-primary-900 p-3 rounded-md w-full">
|
class="bg-white dark:bg-primary-900 p-3 rounded-md w-full">
|
||||||
@ -32,13 +30,14 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %}
|
{% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %}
|
||||||
<div class="text-end"><a href="/admin/user/fees/paid?{{ fee.user_ids }}" class="btn btn-primary">Zahlungsstatus ändern</a></div>
|
<div class="text-end">
|
||||||
|
<a href="/admin/user/fees/paid?{{ fee.user_ids }}"
|
||||||
|
class="btn btn-primary">Zahlungsstatus ändern</a>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user