+ {% if is_clubmember %}
+
+
+
+
+
- {% endif %}
- {% elif "Scheckbuch" in member %}
-
+
+ {% if user.membership_pdf %}
+
Beitrittserklärung herunterladen
+ {% else %}
+ ⚠️ Aktuell gibt's keine Beitrittserklärung 😢
+ {% if allowed_to_edit %}
+ Das kannst du hier ändern ⤵️
+
+ {% endif %}
+ {% endif %}
+
+ {% if allowed_to_edit %}
+
+ {% endif %}
+ {% elif "Scheckbuch" in member %}
+
{% for log in logbook %}
{{ log::show_old(log=log, state="completed", only_ones=false, index=loop.index, allowed_to_edit=false) }}
{% endfor %}
-
-
-
-
- {% endif %}
+
+ {% endif %}
-
Rollen
-
-
-
- {% for role in user.proper_roles -%}
- {% if not role.cluster and not role.hide_in_lists %}
- -
-
-
- {% if role.formatted_name %}
- {{ role.formatted_name }}
- {% else %}
- {{ role.name }}
- {% endif %}
-
{{ role.desc }}
-
- {% if allowed_to_edit %}
- 🗑️
- {% endif %}
-
- {% endif %}
- {% endfor %}
-
- {% if allowed_to_edit %}
-
- + Rolle
-
{% endmacro input %}
-
{% macro inputgroup(label, name, type, required=false, class='', value='', min='', hide_label=false, id='', autofocus=false, wrapper_class='', pattern='', readonly=false, accept='') %}
{% endmacro inputgroup %}
@@ -213,42 +216,45 @@ function setChoiceByLabel(choicesInstance, label) {
{% set display = ["name"] %}
{% endif %}
-
- {% if allowed_to_edit %}
-
-
-
- {% endif %}
+
+ {% if allowed_to_edit %}
+
+
+
+ {% endif %}
{% endmacro selectgroup %}
-
{% macro checkbox(label, name, id='', checked=false, class='', disabled=false, readonly=false) %}