demarches-normaliennes/app/components/procedure/card/annotations_component/annotations_component.html.haml
2022-07-21 18:07:56 +02:00

19 lines
593 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

= link_to annotations_admin_procedure_path(@procedure), class: 'card-admin', title: error_messages do
- if error_messages.present?
%div
%span.icon.refuse
%p.card-admin-status-error À modifier
- elsif @count == 0
%div
%span.icon.clock
%p.card-admin-status-todo À configurer
- else
%div
%span.icon.accept
%p.card-admin-status-accept Validé
%div
%p.card-admin-title
%span.badge.baseline= @count
= t('.title')
%p.card-admin-subtitle Champs à remplir par ladministration
%p.button= t('views.shared.actions.edit')