diff --git a/src/model/mod.rs b/src/model/mod.rs index 80b42ac..0bf6094 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -11,8 +11,6 @@ use self::{ waterlevel::Waterlevel, weather::Weather, }; -use boatreservation::{BoatReservation, BoatReservationWithDetails}; -use std::collections::HashMap; pub mod event; pub mod log; @@ -36,7 +34,6 @@ pub struct Day { regular_sees_this_day: bool, max_waterlevel: Option, weather: Option, - boat_reservations: HashMap>, } impl Day { @@ -53,9 +50,6 @@ impl Day { regular_sees_this_day, max_waterlevel: Waterlevel::max_waterlevel_for_day(db, day).await, weather: Weather::find_by_day(db, day).await, - boat_reservations: BoatReservation::with_groups( - BoatReservation::for_day(db, day).await, - ), } } else { Self { @@ -66,9 +60,6 @@ impl Day { regular_sees_this_day, max_waterlevel: Waterlevel::max_waterlevel_for_day(db, day).await, weather: Weather::find_by_day(db, day).await, - boat_reservations: BoatReservation::with_groups( - BoatReservation::for_day(db, day).await, - ), } } } diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index 9a042b8..414cada 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -11,7 +11,6 @@ method="post" class="flex mt-4 rounded-md sm:flex items-end justify-between">
-

Neues Mitglied hinzufügen