+
\ No newline at end of file
diff --git a/templates/includes/buttons.html.tera b/templates/includes/buttons.html.tera
new file mode 100644
index 0000000..09734f4
--- /dev/null
+++ b/templates/includes/buttons.html.tera
@@ -0,0 +1,16 @@
+{% if loggedin_user.is_cox %}
+
+
+
+
+
+{% endif %}
\ No newline at end of file
diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera
index 80d1413..077a1f0 100644
--- a/templates/includes/macros.html.tera
+++ b/templates/includes/macros.html.tera
@@ -46,7 +46,7 @@
{% if participants | length > 0 %}
{% for rower in participants %}
- {{ rower.name }} (angemeldet seit {{ rower.registered_at }})
+ {{ rower.name }} {% if rower.isGuest %} (Gast) {% endif %}(angemeldet seit {{ rower.registered_at }})
{% endfor %}
{% else %}
{{ text }}
diff --git a/templates/index.html.tera b/templates/index.html.tera
index b284e75..93a5bac 100644
--- a/templates/index.html.tera
+++ b/templates/index.html.tera
@@ -10,22 +10,7 @@
Ausfahrten
- {% if loggedin_user.is_cox %}
-
-
-
-
-
- {% endif %}
+ {% include "includes/buttons" %}
{% for day in days %}
{% set amount_trips = day.planned_events | length + day.trips | length %}
@@ -253,26 +238,7 @@
-{# --- START Add Trip Sidebar --- #}
-
-
-
-
- Überschrift (wird ersetzt)
-
-
-
-
-
- Formular wird ersetzt
-
-
-
-{# --- END Add Trip Sidebar --- #}
-
+{% include "dynamics/sidebar" %}
{% include "forms/trip" %}
{% include "forms/event" %}