demarches-normaliennes/app/components/procedure/card/annotations_component/annotations_component.html.haml
2022-11-02 09:29:28 +01:00

22 lines
767 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.

.fr-col-6.fr-col-md-4.fr-col-lg-3
= link_to annotations_admin_procedure_path(@procedure), class: 'fr-tile fr-enlarge-link', title: error_messages do
.fr-tile__body.flex.justify-between
- if error_messages.present?
%div
%span.icon.refuse
%p.fr-tile-status-error À modifier
- elsif @count == 0
%div
%span.icon.clock
%p.fr-tile-status-todo À configurer
- else
%div
%span.icon.accept
%p.fr-tile-status-accept Validé
%div
.line-count.fr-my-1w
%p.fr-tag= @count
%h3.fr-h6
= t('.title')
%p.fr-tile-subtitle Champs à remplir par ladministration
%p.fr-btn.fr-btn--tertiary= t('views.shared.actions.edit')