add the possibility for administrator to refuse external review on a specific procedure
This commit is contained in:
parent
1ba85e6080
commit
57adb90c8f
8 changed files with 52 additions and 3 deletions
|
@ -139,6 +139,21 @@
|
|||
.card-admin-action
|
||||
= link_to 'Modifier', edit_admin_procedure_attestation_template_path(@procedure), class: 'button'
|
||||
|
||||
.card-admin
|
||||
- if @procedure.allow_expert_review?
|
||||
%div
|
||||
%span.icon.accept
|
||||
%p.card-admin-status-accept Activé
|
||||
- else
|
||||
%div
|
||||
%span.icon.clock
|
||||
%p.card-admin-status-todo Désactivée
|
||||
%div
|
||||
%p.card-admin-title Avis externes
|
||||
%p.card-admin-subtitle Demander des avis aux experts invités
|
||||
.card-admin-action
|
||||
= link_to "#{@procedure.allow_expert_review? ? 'Désactiver' : 'Activer'}", allow_expert_review_admin_procedure_path(@procedure), method: :put, class: 'button'
|
||||
|
||||
.card-admin
|
||||
%div
|
||||
%span.icon.clock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue