95 lines
2.9 KiB
Text
95 lines
2.9 KiB
Text
- content_for(:title, "Notifications pour #{@procedure.libelle}")
|
|
|
|
= render partial: 'administrateurs/breadcrumbs',
|
|
locals: { steps: [[@procedure.libelle.truncate_words(10), instructeur_procedure_path(@procedure)],
|
|
['Notifications']] }
|
|
|
|
.container
|
|
%h1
|
|
= t('.title')
|
|
|
|
= form_for @assign_to, url: update_email_notifications_instructeur_procedure_path(@procedure), html: { class: 'form' } do |form|
|
|
= render Dsfr::AlertComponent.new(state: :info, size: :sm, extra_class_names: 'fr-mb-2w') do |c|
|
|
- c.body do
|
|
%p
|
|
= t('.subtitle')
|
|
|
|
= form.label :email_notification, t('.for_each_file_submitted.title')
|
|
|
|
%p.notice
|
|
= t('.for_each_file_submitted.notice_1')
|
|
%p.notice
|
|
= t('.for_each_file_submitted.notice_2')
|
|
|
|
.radios
|
|
%label
|
|
= form.radio_button :instant_email_dossier_notifications_enabled, true
|
|
= t('.utils.positive')
|
|
|
|
%label
|
|
= form.radio_button :instant_email_dossier_notifications_enabled, false
|
|
= t('.utils.negative')
|
|
|
|
= form.label :email_notification, t('.for_each_message_submitted.title')
|
|
|
|
%p.notice
|
|
= t('.for_each_message_submitted.notice_1')
|
|
%p.notice
|
|
= t('.for_each_message_submitted.notice_2')
|
|
|
|
.radios
|
|
%label
|
|
= form.radio_button :instant_email_message_notifications_enabled, true
|
|
= t('.utils.positive')
|
|
|
|
%label
|
|
= form.radio_button :instant_email_message_notifications_enabled, false
|
|
= t('.utils.negative')
|
|
|
|
= form.label :email_notification, t('.daily_notifications.title')
|
|
|
|
%p.notice
|
|
= t('.daily_notifications.notice_1')
|
|
%p.notice
|
|
= t('.daily_notifications.notice_2')
|
|
|
|
.radios
|
|
%label
|
|
= form.radio_button :daily_email_notifications_enabled, true
|
|
= t('.utils.positive')
|
|
|
|
%label
|
|
= form.radio_button :daily_email_notifications_enabled, false
|
|
= t('.utils.negative')
|
|
|
|
= form.label :email_notification, t('.hebdo_recap.title')
|
|
%p.notice
|
|
= t('.hebdo_recap.notice_1')
|
|
%p.notice
|
|
= t('.hebdo_recap.notice_2')
|
|
|
|
.radios
|
|
%label
|
|
= form.radio_button :weekly_email_notifications_enabled, true
|
|
= t('.utils.positive')
|
|
%label
|
|
= form.radio_button :weekly_email_notifications_enabled, false
|
|
= t('.utils.negative')
|
|
|
|
= form.label :email_notification, t('.avis_notifications.title')
|
|
%p.notice
|
|
= t('.avis_notifications.notice_1')
|
|
%p.notice
|
|
= t('.avis_notifications.notice_2')
|
|
|
|
.radios
|
|
%label
|
|
= form.radio_button :instant_expert_avis_email_notifications_enabled, true
|
|
= t('.utils.positive')
|
|
%label
|
|
= form.radio_button :instant_expert_avis_email_notifications_enabled, false
|
|
= t('.utils.negative')
|
|
|
|
.send-wrapper
|
|
= link_to t('.buttons.back_to_procedure'), instructeur_procedure_path(@procedure), class: 'fr-btn fr-btn--secondary fr-mr-2w'
|
|
= form.submit t('.buttons.save'), class: "fr-btn"
|