diff --git a/seeds.sql b/seeds.sql index 188ac10..fe34b50 100644 --- a/seeds.sql +++ b/seeds.sql @@ -7,6 +7,7 @@ INSERT INTO "role" (name) VALUES ('planned_event'); INSERT INTO "role" (name) VALUES ('Rennrudern'); INSERT INTO "role" (name) VALUES ('paid'); INSERT INTO "role" (name) VALUES ('Vorstand'); +INSERT INTO "role" (name) VALUES ('Bootsführer'); INSERT INTO "user" (name, pw) VALUES('admin', '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$4P4NCw4Ukhv80/eQYTsarHhnw61JuL1KMx/L9dm82YM'); INSERT INTO "user_role" (user_id, role_id) VALUES(1,1); INSERT INTO "user_role" (user_id, role_id) VALUES(1,2); diff --git a/templates/index.html.tera b/templates/index.html.tera index 95a1bb7..21e1388 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -22,7 +22,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M",) }} -
{{ notification.message | safe}}
+
{{ notification.message | safe }}
{% if not notification.read_at %} @@ -47,7 +47,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M") }} -
{{ notification.message | safe}}
+
{{ notification.message | safe }}
{% endif %} {% endfor %} @@ -154,7 +154,8 @@ Fingerabdruck-Liste überprüfen
  • - Nachricht ausschreiben + Nachricht ausschreiben
  • diff --git a/templates/steering.html.tera b/templates/steering.html.tera index bea6763..36461eb 100644 --- a/templates/steering.html.tera +++ b/templates/steering.html.tera @@ -2,21 +2,18 @@ {% extends "base" %} {% block content %}
    -

    Steuerberechtigte (Steuerprüfung oder Ausnahmegenehmigung)

    -
    -
    -
      - {% for cox in coxes | sort(attribute='name') %}
    • {{ cox.name }}
    • {% endfor %} -
    -
    +

    Steuerberechtigungen

    +
    +

    Bootskundige

    +
      + {% for cox in bootskundige | sort(attribute='name') %}
    • {{ cox.name }}
    • {% endfor %} +
    -

    Bootskundige

    -
    -
    -
      - {% for cox in bootskundige | sort(attribute='name') %}
    • {{ cox.name }}
    • {% endfor %} -
    -
    +
    +

    Steuerberechtigte oder Personen mit Ausnahmegenehmigung

    +
      + {% for cox in coxes | sort(attribute='name') %}
    • {{ cox.name }}
    • {% endfor %} +
    {% endblock content %}