From b7e3c882d8cae2160c772390457357c035f2991f Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Tue, 17 Sep 2024 13:06:39 +0200 Subject: [PATCH 1/2] [TASK] change schnupper ui and hopefully improve it --- templates/admin/schnupper/index.html.tera | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/templates/admin/schnupper/index.html.tera b/templates/admin/schnupper/index.html.tera index 9821a5a..1b17856 100644 --- a/templates/admin/schnupper/index.html.tera +++ b/templates/admin/schnupper/index.html.tera @@ -8,17 +8,20 @@ role="alert">

Angemeldete Personen: {{ schnupperanten | length }}

-
    +
      {% for user in schnupperanten %} -
    1. - {{ user.name }} ({{ user.mail }} - {%- if user.notes %} | {{ user.notes }} - {% endif -%} - ) - Zu Scheckbuch umwandeln +
    2. + + +  {{ user.name }} ({{ user.mail }} + {%- if user.notes %} | {{ user.notes }} + {% endif -%} + ) + + Zu Scheckbuch umwandeln +
    3. {% endfor %}
    From 26637726514400cf21dcbc1aad8ceb74394aea6c Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Wed, 18 Sep 2024 09:58:19 +0200 Subject: [PATCH 2/2] [TASK] style fees page --- templates/admin/user/fees.html.tera | 33 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/templates/admin/user/fees.html.tera b/templates/admin/user/fees.html.tera index 11ee23f..fc357b2 100644 --- a/templates/admin/user/fees.html.tera +++ b/templates/admin/user/fees.html.tera @@ -1,43 +1,44 @@ {% import "includes/macros" as macros %} {% extends "base" %} {% block content %} -
    -

    Gebühren

    - +
    +

    + Gebühren +

    + placeholder="Suchen nach Namen..." />
    - -
    -
    +
    +
    {% for fee in fees | sort(attribute="name") %} -
    -
    -
    - {{ fee.name }} +
    +
    + {{ fee.name }} + {{ fee.sum_in_cents / 100 }}€
    -
    {{ fee.sum_in_cents / 100 }}€:
    -
    +
    {% for p in fee.parts %} {{ p.0 }} ({{ p.1 / 100 }}€) {% if not loop.last %}+{% endif %} {% endfor %}
    {% if "admin" in loggedin_user.roles or "kassier" in loggedin_user.roles %} - Zahlungsstatus ändern + {% endif %}
    {% endfor %} +
    -
    + + {% endblock content %}