{% 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 %} {% if collectivite %}{{ collectivite.name }}{% endif %} {% endblock %} {% block appbar %}

{{ view.model.get_verbose_name }} - {% if object.id %}{{ object.numero_dossier }} - {{ object.type_fichier }}{% endif %}

{% if object|can_delete:request.user %} {% trans "delete" %} {% endif %} {% if object|can_edit:request.user %} {% trans "edit" %} {% endif %} {% endblock %} {% block content %}
{% block description %} {% for field, value in object.get_fields_kv %}

{% if field.name == "collectivite" %} {% trans "Collectivite" %} {% trans ":" %} {% if value %} {{value}} {% else %} {% trans "None" %} {% endif %} {% elif field.name == "upload_file" %} {% trans "File" %} {% trans ":" %} {% if value %} {{value}} {% else %} {% trans "None" %} {% endif %} {% elif field.name != "connecteur" and field.name != "id" %} {% trans field.verbose_name %} {% trans ":" %} {{value}} {% endif %}

{% endfor %} {% endblock %}
{% endblock %}