demarches-normaliennes/app/components/procedure/card/emails_component/emails_component.html.haml
2023-09-04 10:55:48 +02:00

20 lines
738 B
Text

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