demarches-normaliennes/app/views/administrateurs/mail_templates/index.html.haml
2024-05-30 17:05:01 +02:00

21 lines
1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [['Démarches', admin_procedures_path],
["#{@procedure.libelle.truncate_words(10)}", admin_procedure_path(@procedure)],
["Configuration des emails"]] }
.fr-container
.fr-grid-row.fr-grid-row--gutters
.fr-col-12
%h1.fr-h2 Configuration des emails
- if @procedure.accuse_lecture?
= render Dsfr::AlertComponent.new(state: :info, size: :sm) do |c|
- c.with_body do
%p
L'accusé de lecture est activé sur cette démarche. Dans ce contexte, les emails « dacceptation », « de rejet » et de « classement sans suite », ne sont pas modifiables afin de s'assurer que la décision finale reste masquée pour l'usager.
- @mail_templates.each do |mail_template|
.fr-col-md-6.fr-col-12
= render Procedure::EmailTemplateCardComponent.new(email_template: mail_template)
= render Procedure::FixedFooterComponent.new(procedure: @procedure)