Commit 6403e33f authored by fred's avatar fred

fix permission check for newsletters

parent bcf54ed4
......@@ -12,7 +12,7 @@
{% if perms.emissions.add_emission %}
<a href="{% url 'emission-add' %}">Nouvelle émission</a>
{% endif %}
{% if perms.emissions.add_newsletter %}
{% if perms.newsletter.add_newsletter %}
<a href="{% url 'newsletter-list' %}">Newsletters</a>
{% endif %}
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment