newsletter_list.html 444 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{% extends "base.html" %}

{% block appbar %}
<h2>Newsletters</h2>
</span>
{% endblock %}

{% block content %}

{% if perms.newsletter.add_newsletter %}
<p>
<a class="big-friendly-button" href="{% url 'newsletter-create' %}">Nouvelle</a>
</p>
{% endif %}

<ul class="emission-list">
{% for newsletter in object_list %}
fred's avatar
fred committed
18
<li><a href="{% url 'newsletter-view' pk=newsletter.id %}">{{ newsletter.date }}</a></li>
19 20 21 22
{% endfor %}
</ul>

{% endblock %}