diff --git a/app/templates/campaign_detail.html b/app/templates/campaign_detail.html index 9e8c84f..f72c47d 100644 --- a/app/templates/campaign_detail.html +++ b/app/templates/campaign_detail.html @@ -224,16 +224,19 @@ function showForm(id, type) { {% elif s.status == 'pending' %} {% if c.status in ('planned', 'in_progress') %} - {# Operateur: prendre/liberer #} + {# Operateur: prendre/liberer/planifier #} {% if not s.intervenant_id %}
- {% elif s.intervenant_id == user.uid and not s.forced_assignment %} + {% elif s.intervenant_id == user.uid %} + {% if not s.forced_assignment %} + {% endif %} + {% endif %} {# Coordinateur: assigner + planifier + exclure #} {% if can_edit_campaigns %} - + {% if s.intervenant_id != user.uid %}{% endif %} {% endif %} @@ -250,7 +253,7 @@ function showForm(id, type) { {# Formulaires inline #} - {% if s.status == 'pending' and c.status in ('draft', 'pending_validation', 'planned') %} + {% if s.status == 'pending' and c.status in ('draft', 'pending_validation', 'planned', 'in_progress') %}