Merge pull request #5384 from betagouv/annotation-privees

Ajout des annotations privées dans l'écran d'administration
This commit is contained in:
Kara Diaby 2020-07-16 18:23:12 +02:00 committed by GitHub
commit 2d5be873a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ladministration
.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