{% extends "passerelle/manage.html" %} {% load i18n passerelle gadjo staticfiles %} {% comment %} This file is part of passerelle-atreal-openads - a Publik connector to openADS Copyright (C) 2019 Atreal This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . {% endcomment %} {% block extrascripts %} {{ block.super }} {% endblock %} {% block breadcrumb %} {{ block.super }} {% if connecteur %}{{ connecteur.slug }}{% endif %} {% endblock %} {% block appbar %}

{{ view.model.get_verbose_name_plural }}

{% if collectivite_add_url %} {% trans "Add a Collectivite" %} {% endif %} {% endblock %} {% block content %} {% block list %} {% if object_list %} {% for field in view.model.get_fields %} {% if field.name != "connecteur" %} {% endif %} {% endfor %} {% for col in object_list %} {% for field, value in col.get_fields_kv %} {% if field.name != "connecteur" %} {% endif %} {% endfor %} {% endfor %} {% if is_paginated %} {% endif %} {% else %} {% endif %} {% endblock %}
{% trans "Actions" %} {% if field.name == "guichet" %}{% trans "Guichet" %} {% elif field.name == "forward_file" %}{% trans "Forward Files" %} {% else %}{% trans field.verbose_name %} {% endif %}
{% trans "edit" %} {% trans "delete" %} {% if field.name != "guichet" and field.name != "name" and field.name != "forward_file" %} {{value}} {% elif field.name == "name" %} {{value}} {% elif field.name == "guichet" %} {% if value %}{{value}}{% else %}{% trans "None" %}{% endif %} {% elif field.name == "forward_file" %} {% if value %}{{ value.count }} {% trans "forward file(s)" %}{% else %}{% trans "None" %}{% endif %} {% endif %}
{% if page_obj.has_previous %} « {% trans "first" %} {% trans "previous" %} {% endif %} {% trans "Page" %} {{ page_obj.number }} / {{ page_obj.paginator.num_pages }} {% if page_obj.has_next %} {% trans "next" %} {% trans "last" %} » {% endif %}
{% trans "No data" %}
{% endblock %}