{% extends "base.html" %} {% load i18n %} {% load bootstrap3 %} {% load dv_filters %} {% block head_title %}{% trans "Établissements" %}{% endblock %} {% block content %} {% if filter.form and filter.form.address_canton %} {% endif %} {% if request.user|can:"orga_detail_all" %}
{% if request.user|can:"user_view_list" %} {% include 'export_buttons.html' with exporturl='organization-list-export' filter_querystring=filter_querystring only %} {% endif %}
{% endif %} {% if filter.form %} {% if filter.form.address_canton %} {% endif %}
{% bootstrap_field filter.form.q show_label=False show_help=False bound_css_class='' addon_after='' %}
{% endif %} {% for orga in organizations %} {% endfor %}
{% trans "Statut" %} {% trans "Abr." %} {% trans "Nom" %} {% trans "Ville" %} {% trans "Canton" %} {% trans "Coordina·teur·trice" %} {% trans "Natel" %} {% trans "Email" %} {# Boutons #}
{{ orga.status_icon|safe }} {% if orga.abbr %} {{ orga.abbr_verb }} {% endif %} {{ orga.name }} {{ orga.address_zip }} {{ orga.address_city }} {{ orga.address_canton|canton_abbr }} {{ orga.coordinator.get_full_name }} {% if orga.coordinator.profile.natel %} {{ orga.coordinator.profile.natel|tel_link }} {% endif %} {% if orga.coordinator.email %} {% endif %} {% if request.user|can:'orga_crud' and request.user|inusercantons:orga.address_canton %} {% trans "Éditer" %} {% endif %}
{% include 'paginator.html' with page_obj=page_obj listurl='organization-list' filter_querystring=filter_querystring %} {% trans "Créer un nouvel établissement" %} {% endblock %}