Commit e8f99fdb authored by fred's avatar fred

don't require explicit add_absence perm anymore

parent f59d1a98
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{% if perms.emissions.add_schedule %} {% if perms.emissions.add_schedule %}
<a class="button" id="add-schedule-link" href="#">Ajouter un horaire de diffusion</a> <a class="button" id="add-schedule-link" href="#">Ajouter un horaire de diffusion</a>
{% endif %} {% endif %}
{% if perms.emissions.add_absence and schedules %} {% if schedules %}
<a class="button" id="add-absence-link" href="#">Ajouter une absence</a> <a class="button" id="add-absence-link" href="#">Ajouter une absence</a>
{% endif %} {% endif %}
{% if emission.chat_open %} {% if emission.chat_open %}
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</div> </div>
<div> <div>
{% if perms.emissions.add_absence and absences %} {% if absences %}
<h3>Absences planifiées</h3> <h3>Absences planifiées</h3>
<ul> <ul>
......
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