[TASK] add schnupper to scheckbuch button
This commit is contained in:
parent
afc32cc41e
commit
7bd863ddf1
@ -151,6 +151,7 @@
|
|||||||
</dialog>
|
</dialog>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif "Scheckbuch" in member %}
|
{% elif "Scheckbuch" in member %}
|
||||||
|
{% if allowed_to_edit %}
|
||||||
<div class="grid gap-3 pb-3">
|
<div class="grid gap-3 pb-3">
|
||||||
<div class="max-h-60 overflow-y-scroll">
|
<div class="max-h-60 overflow-y-scroll">
|
||||||
{% for log in logbook %}
|
{% for log in logbook %}
|
||||||
@ -158,8 +159,18 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% elif "Schnupperant" in member %}
|
||||||
|
{% if allowed_to_edit %}
|
||||||
|
<div class="grid pt-3">
|
||||||
|
<a href="/admin/user/{{ user.id }}/schnupperant-to-scheckbuch" class="btn btn-dark"
|
||||||
|
onclick="return confirm('Willst du \'{{ user.name }}\' wirklich auf ein Scheckbuch umwandeln?');">In Scheckbuch umwandeln</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if "Scheckbuch" in member or "Schnupperant" in member %}
|
{% if "Scheckbuch" in member or "Schnupperant" in member %}
|
||||||
|
{% if allowed_to_edit %}
|
||||||
<div class="grid gap-3 pb-3 mt-3">
|
<div class="grid gap-3 pb-3 mt-3">
|
||||||
<button type="button"
|
<button type="button"
|
||||||
onclick="document.getElementById('call-for-action').showModal()"
|
onclick="document.getElementById('call-for-action').showModal()"
|
||||||
@ -212,6 +223,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user