add explanation text + reformat
All checks were successful
CI/CD Pipeline / test (push) Successful in 14m33s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
Philipp Hofer 2025-05-03 21:22:35 +02:00
parent cd52e76b61
commit 905178e60d

View File

@ -32,9 +32,9 @@
{{ macros::inputgroup(label='Spitzname', name='nickname', type="text", value=user.nickname, readonly=not allowed_to_edit) }} {{ macros::inputgroup(label='Spitzname', name='nickname', type="text", value=user.nickname, readonly=not allowed_to_edit) }}
</form> </form>
{% if allowed_to_edit %} {% if allowed_to_edit %}
<form action="/admin/user/{{ user.id }}/new-note" method="post"> <form action="/admin/user/{{ user.id }}/new-note" method="post">
{{ macros::inputgroup(label='Neue Notiz', name='note', type="text") }} {{ macros::inputgroup(label='Neue Notiz', name='note', type="text") }}
</form> </form>
{% endif %} {% endif %}
{% if user.pw and allowed_to_edit %} {% if user.pw and allowed_to_edit %}
<div> <div>
@ -389,9 +389,11 @@
<div class="mx-3 divide-y divide-gray-200 dark:divide-primary-600"> <div class="mx-3 divide-y divide-gray-200 dark:divide-primary-600">
<div class="py-3"> <div class="py-3">
<ul class="list-disc ms-4"> <ul class="list-disc ms-4">
{% for activity in activities %} {% for activity in activities %}
<li>{{ activity.created_at | date(format="%d. %m. %Y") }}: {{ activity.text }}</li> <li>{{ activity.created_at | date(format="%d. %m. %Y") }}: {{ activity.text }}</li>
{% endfor %} {% else %}
<li>Noch keine Aktivität... Stay tuned 😆</li>
{% endfor %}
</ul> </ul>
</div> </div>
</div> </div>