Merge pull request #5384 from betagouv/annotation-privees
Ajout des annotations privées dans l'écran d'administration
This commit is contained in:
commit
2d5be873a0
1 changed files with 16 additions and 0 deletions
|
@ -105,6 +105,22 @@
|
|||
.card-admin-action
|
||||
= button_to 'Modifier', admin_procedure_mail_templates_path(@procedure), method: :get, class: 'card-admin-action-btn'
|
||||
|
||||
- if !@procedure.locked?
|
||||
.card-admin
|
||||
- if @procedure.types_de_champ_private.present?
|
||||
%div
|
||||
%span.icon.accept
|
||||
%p.card-admin-status-accept Validé
|
||||
- else
|
||||
%div
|
||||
%span.icon.clock
|
||||
%p.card-admin-status-todo À configurer
|
||||
%div
|
||||
%p.card-admin-title Annotations privées
|
||||
%p.card-admin-subtitle Champs à remplir par l’administration
|
||||
.card-admin-action
|
||||
= button_to 'Modifier', annotations_admin_procedure_path(@procedure), method: :get, class: 'card-admin-action-btn'
|
||||
|
||||
.card-admin
|
||||
- if @procedure.api_entreprise_token.present?
|
||||
%div
|
||||
|
|
Loading…
Reference in a new issue