diff --git a/templates/index.html.tera b/templates/index.html.tera index 36cb1d5..c7cfc1e 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -139,15 +139,16 @@
- {% if trip.max_people == 0 %}{% endif %}{{ trip.planned_starting_time }} Uhr - {% if trip.max_people == 0 %} - (Absage {{ trip.cox_name }}) - {% else %} - ({{ trip.cox_name }}) - {% endif %} -
+ {% if trip.max_people == 0 %} + ⚠ {{ trip.planned_starting_time }} Uhr + (Absage {{ trip.cox_name }}) + {% else %} + {{ trip.planned_starting_time }} Uhr + ({{ trip.cox_name }}) + {% endif %} +
Details @@ -251,7 +252,13 @@
{% include "dynamics/sidebar" %} -{% include "forms/trip" %} -{% include "forms/event" %} + +{% if loggedin_user.is_cox %} + {% include "forms/trip" %} +{% endif %} + +{% if loggedin_user.is_admin %} + {% include "forms/event" %} +{% endif %} {% endblock content %}