diff --git a/src/model/logbook.rs b/src/model/logbook.rs index b2b6939..9dbbf64 100644 --- a/src/model/logbook.rs +++ b/src/model/logbook.rs @@ -531,7 +531,7 @@ ORDER BY departure DESC db, &user, &format!( - "Neuer Logbucheintrag: Ausfahrt am {}.{}.{} nach {} ({} km)", + "Ausfahrt am {}.{}.{} nach {} ({} km)", dep.day(), dep.month(), dep.year(), diff --git a/src/model/usertrip.rs b/src/model/usertrip.rs index 01cfac4..47603dc 100644 --- a/src/model/usertrip.rs +++ b/src/model/usertrip.rs @@ -75,7 +75,7 @@ impl UserTrip { "{} hat sich für deine Ausfahrt am {} registriert", name_newly_registered_person, trip.day ), - "Registrierung bei Ausfahrt", + "Registrierung bei deiner Ausfahrt", None, ) .await; diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index 497b872..1c49080 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -16,196 +16,176 @@
- {% if "Donau Linz" in loggedin_user.roles %} - - {% else %} - - {% endif %} - Hü - {{ loggedin_user.name }} - -
-
- - {% include "includes/question-icon" %} - FAQs - - {% if "scheckbuch" in loggedin_user.roles and loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %} - - {% include "includes/book" %} - Ergo - - - {% endif %} - {% if "scheckbuch" not in loggedin_user.roles %} - - {% include "includes/book" %} - Logbuch - - - {% endif %} - {% if "admin" in loggedin_user.roles or "Vorstand" in loggedin_user.roles %} - - - - - Userverwaltung - - {% endif %} - - - - - - - Ausloggen - -
+ + Hü + {{ loggedin_user.name }} + +
+
+ {% if "scheckbuch" in loggedin_user.roles and loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %} + + {% include "includes/book" %} + Ergo + + + {% endif %} + {% if "scheckbuch" not in loggedin_user.roles %} + + {% include "includes/book" %} + Logbuch + + + {% endif %} + + + + + + + Ausloggen +
-
-
- {% endmacro header %} - {% macro input(label, name, type, required=false, class='rounded-md', value='', min='', hide_label=false, id='', autofocus=false, wrapper_class='', pattern='', readonly=false, accept='') %} -
- -
- {% endmacro input %} - {% macro checkbox(label, name, id='', checked=false, class='', disabled=false) %} -