passerelle-montpellier-enco.../passerelle_montpellier_enco.../templates/passerelle_montpellier_enco.../commune_list.html

35 lines
1022 B
HTML

{% extends "passerelle_montpellier_encombrants/detail.html" %}
{% load i18n %}
{% block breadcrumb %}
{{ block.super }}
<a href="{{object.get_absolute_url}}">{{ object.title }}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans 'Communes' %}</h2>
<a rel="popup" href="{% url 'montpellier-encombrants-commune-add' %}">{% trans 'New' %}</a>
{% endblock %}
{% block content %}
{% if object_list %}
<div class="objects-list">
<ul>
{% for object in object_list %}
<li><a href="{% url 'montpellier-encombrants-commune-view' pk=object.id %}">{{ object }}</a>
<a rel="popup" class="icon-remove-sign" href="{% url 'montpellier-encombrants-commune-remove' pk=object.id %}"></a> </li>
{% endfor %}
</ul>
</div>
{% else %}
<div class="big-msg-info">
{% blocktrans %}
There is no commune yet. Click on the "New" button in the top
right of the page to add a first one.
{% endblocktrans %}
</div>
{% endif %}
{% endblock %}