fix copied stuff
This commit is contained in:
parent
9dc1ec6fa0
commit
f56da43723
@ -134,7 +134,7 @@ WHERE end_date >= CURRENT_DATE ORDER BY end_date
|
||||
)
|
||||
.await
|
||||
{
|
||||
return Err("Boot in diesem Zeitraum bereits reserviert.".into());
|
||||
return Err("Hänger in diesem Zeitraum bereits reserviert.".into());
|
||||
}
|
||||
|
||||
Log::create(
|
||||
@ -172,14 +172,14 @@ WHERE end_date >= CURRENT_DATE ORDER BY end_date
|
||||
db,
|
||||
&user,
|
||||
&format!(
|
||||
"{} hat eine neue Bootsreservierung für Boot '{}' {} angelegt. Zeit: {}; Zweck: {}",
|
||||
"{} hat eine neue Hängerreservierung für Hänger '{}' {} angelegt. Zeit: {}; Zweck: {}",
|
||||
trailerreservation.user_applicant.name,
|
||||
trailerreservation.trailer.name,
|
||||
date,
|
||||
trailerreservation.time_desc,
|
||||
trailerreservation.usage
|
||||
),
|
||||
"Neue Bootsreservierung",
|
||||
"Neue Hängerreservierung",
|
||||
None,None
|
||||
)
|
||||
.await;
|
||||
|
@ -36,6 +36,7 @@
|
||||
<a href="/stat/boats" class="px-2">Bootsauswertung</a>
|
||||
<a href="/boatdamage" class="px-2">Bootsschaden</a>
|
||||
<a href="/boatreservation" class="px-2">Bootsreservierung</a>
|
||||
<a href="/trailerreservation" class="px-2">Hängerreservierung</a>
|
||||
</div>
|
||||
</header>
|
||||
{% endif %}
|
||||
|
@ -78,6 +78,8 @@
|
||||
class="block w-100 py-2 hover:text-primary-600 border-t">Bootsschaden</a>
|
||||
<a href="/boatreservation"
|
||||
class="block w-100 py-2 hover:text-primary-600 border-t">Bootsreservierung</a>
|
||||
<a href="/trailerreservation"
|
||||
class="block w-100 py-2 hover:text-primary-600 border-t">Hängerreservierung</a>
|
||||
{% endif %}
|
||||
{% if loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %}
|
||||
<a href="/ergo" class="block w-100 py-2 hover:text-primary-600 border-t">Ergo</a>
|
||||
|
Loading…
Reference in New Issue
Block a user