lint code
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
philipp 2024-09-24 20:10:59 +02:00
parent 4581ec4abc
commit b6efe5170b
2 changed files with 20 additions and 22 deletions

View File

@ -11,28 +11,27 @@
<li class="border-t border-gray-200 dark:border-primary-600 px-3 py-1">
<span class="flex items-center justify-between">
<span>
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span>&nbsp;{{ user.name }} ({{ user.mail }}
{%- if user.notes %} | {{ user.notes }}
{% endif -%}
)
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span>&nbsp;{{ user.name }} ({{ user.mail }}
{%- if user.notes %} | {{ user.notes }}
{% endif -%}
)
</span>
<a class="btn btn-primary"
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>
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>
</span>
</li>
{% endfor %}
</ol>
</div>
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5">
<h2 class="h2">Legende</h2>
<div class="px-3 py-1">
<span class="status-damage status-damage-none"></span> Bezahlt - Juhuuu!
</div>
<div class="px-3 py-1">
<span class="status-damage status-damage-locked"></span> Noch nicht bezahlt
</div>
<h2 class="h2">Legende</h2>
<div class="px-3 py-1">
<span class="status-damage status-damage-none"></span> Bezahlt - Juhuuu!
</div>
<div class="px-3 py-1">
<span class="status-damage status-damage-locked"></span> Noch nicht bezahlt
</div>
</div>
</div>
</div>

View File

@ -2,9 +2,7 @@
{% extends "base" %}
{% block content %}
<div class="max-w-screen-lg w-full">
<h1 class="h1">
Gebühren
</h1>
<h1 class="h1">Gebühren</h1>
<div class="search-wrapper">
<label for="name" class="sr-only">Suche</label>
<input type="search"
@ -32,13 +30,14 @@
{% endfor %}
</div>
{% 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 %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock content %}