demarches-normaliennes/app/components/procedure/card/emails_component/emails_component.html.haml

17 lines
672 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?
%p.fr-badge.fr-badge--warning À modifier
- elsif fully_customized?
%p.fr-badge.fr-badge--success Validé
- else
%p.fr-badge.fr-badge--info À 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')