{% extends "stadt/stadt.html" %} {% load i18n %} {% load rules %} {% block meta %} {% endblock %} {% block title %}{{ group }}: {% trans "Fence Inspections" %} - {{ GROUPRISE_SITE_NAME }}{% endblock %} {% block heading_title %}

{% trans "Inspection Planner" %}

{% endblock %} {% block menu %}{% menu view.group %}{% endblock %} {% block breadcrumb %} {% trans "Fence Inspections" as fence_inspection_title %} {% breadcrumb group fence_inspection_title %} {% endblock %} {% block sidebar %} {% include 'groups/_sidebar.html' with group=group %} {% endblock %} {% block content %} {% has_perm 'events.can_attend_group_members' user group as can_attend_group_members %}

{% trans "Inspection Dates" %} {% if show_old %}({% trans "past" context "events from the past" %}){% endif %}

{% trans "upcoming" as label_future %} {% trans "past" as label_past %} {% url 'create-fence-visit' group.slug as new_event_url %}

{% trans "Views" %}: {% if show_old %} {{ label_future }} | {{ label_past }} {% else %} {{ label_future }} | {{ label_past }} {% endif %} | {% trans "add fence appointments" %}

{% if object_list %} {% if page_obj.has_previous or page_obj.has_next %} {% endif %} {% for event_association in object_list %} {% with event=event_association.container %} {% if not show_old %} {% endif %} {% endwith %} {% endfor %}
{% trans "Event" %} {% trans "Inspectors" %} {% if not show_old %} {% if can_attend_group_members %} {% trans "Add" %} {% else %} {% trans "Participate" %} {% endif %} {% endif %}
{{ event.title }}
{% if event.all_day %} {{ event.time|date }} {% else %} {{ event.time|date }}, {{ event.time|time }} Uhr {% endif %}
{% include 'events/_attendance_list_current.html' with event_association=event_association redirect_url=request.path user=user read_only=show_old separator="
"%}
{% include 'events/_attendance_action.html' with event_association=event_association redirect_url=request.path user=user %}
{% endif %} {% endblock %}