From a1d3080655d6f3d98089bccab8478f73414fd0a4 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 20 Jun 2023 13:15:04 +0200 Subject: [PATCH 1/2] thoughts on nextcloud sync --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 681a4b2..db8dea1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ - remove most fields (names, ...) from users and add uid - create user_nextcloud table; to be re-created every day(?) - [] ics for registered trips -- [] beta.rudernlinz.at -> deploy 'beta' branch # Nice to have ## Frontend @@ -27,3 +26,18 @@ ´cd frontend´ ´npm install´ ´npm run (watch/build)´ + + +---- + +user +- UID +- pw +- last_access + +user_details +- UID +- fn (formatted name) +- is_cox (if CATEGORIES = {Steuerleute, Bootsführer}) +- is_admin (if CATEGORIES = Admin) +- is_guest (if person not in nextcloud) From 509412599ff3a6adc369e93f6fc1ee4e859b908d Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 26 Jun 2023 09:34:52 +0200 Subject: [PATCH 2/2] change text --- templates/index.html.tera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 800175f..10b817a 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -131,7 +131,7 @@ {{ macros::checkbox(label='Immer anzeigen', name='always_show', id=planned_event.id,checked=planned_event.always_show) }} {{ macros::input(label='Anmerkungen', name='notes', type='input', value=planned_event.notes) }} - + {# --- END Edit Form --- #} @@ -212,7 +212,7 @@ {{ macros::input(label='Anmerkungen', name='notes', type='input', value=trip.notes) }} {{ macros::select(select_name='trip_type', trip_types=trip_types, default='Reguläre Ausfahrt', selected_id=trip.trip_type_id) }} - + {% if trip.rower | length == 0 %}