Commit e088b5b3 authored by fred's avatar fred

limit 'add diffusion' permission

parent 2faf5f63
......@@ -10,7 +10,9 @@
{% if can_manage %}
<p>
<a class="big-friendly-button" href="edit/">Modifier</a>
{% if perms.emissions.add_diffusion %}
<a class="big-friendly-button" id="add-diffusion-link" href="#">Ajouter une diffusion</a>
{% endif %}
<a class="big-friendly-button" id="add-soundfile-link" href="#">Ajouter un son</a>
<a class="big-friendly-button actually-not-that-friendly" href="delete/">Supprimer</a>
</p>
......
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