2019-03-13 17:37:07 +01:00
|
|
|
- content_for(:title, "Notifications pour #{@procedure.libelle}")
|
|
|
|
|
2021-11-25 16:26:55 +01:00
|
|
|
= render partial: 'administrateurs/breadcrumbs',
|
2022-09-09 13:08:24 +02:00
|
|
|
locals: { steps: [[@procedure.libelle.truncate_words(10), instructeur_procedure_path(@procedure)],
|
2022-08-17 13:53:07 +02:00
|
|
|
['Notifications']] }
|
2019-03-13 17:37:07 +01:00
|
|
|
|
|
|
|
.container
|
2022-04-21 10:20:14 +02:00
|
|
|
%h1
|
|
|
|
= t('.title')
|
2019-03-13 17:37:07 +01:00
|
|
|
|
2019-08-06 11:02:54 +02:00
|
|
|
= form_for @assign_to, url: update_email_notifications_instructeur_procedure_path(@procedure), html: { class: 'form' } do |form|
|
2019-04-04 12:06:28 +02:00
|
|
|
.explication
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.subtitle')
|
2019-04-04 12:06:28 +02:00
|
|
|
|
2022-04-21 10:20:14 +02:00
|
|
|
= form.label :email_notification, t('.for_each_file_submitted.title')
|
2020-04-09 11:43:23 +02:00
|
|
|
|
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.for_each_file_submitted.notice_1')
|
2020-04-09 11:43:23 +02:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.for_each_file_submitted.notice_2')
|
2020-04-09 11:43:23 +02:00
|
|
|
|
|
|
|
.radios
|
|
|
|
%label
|
|
|
|
= form.radio_button :instant_email_dossier_notifications_enabled, true
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.positive')
|
2020-04-09 11:43:23 +02:00
|
|
|
|
|
|
|
%label
|
|
|
|
= form.radio_button :instant_email_dossier_notifications_enabled, false
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.negative')
|
2020-04-09 11:43:23 +02:00
|
|
|
|
2022-04-21 10:20:14 +02:00
|
|
|
= form.label :email_notification, t('.for_each_message_submitted.title')
|
2019-04-04 14:54:38 +02:00
|
|
|
|
2019-11-20 18:16:30 +01:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.for_each_message_submitted.notice_1')
|
2019-11-20 18:16:30 +01:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.for_each_message_submitted.notice_2')
|
2019-03-13 17:37:07 +01:00
|
|
|
|
|
|
|
.radios
|
|
|
|
%label
|
2020-04-02 10:18:23 +02:00
|
|
|
= form.radio_button :instant_email_message_notifications_enabled, true
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.positive')
|
2019-03-13 17:37:07 +01:00
|
|
|
|
|
|
|
%label
|
2020-04-02 10:18:23 +02:00
|
|
|
= form.radio_button :instant_email_message_notifications_enabled, false
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.negative')
|
2019-03-13 17:37:07 +01:00
|
|
|
|
2022-04-21 10:20:14 +02:00
|
|
|
= form.label :email_notification, t('.daily_notifications.title')
|
2020-04-02 10:18:23 +02:00
|
|
|
|
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.daily_notifications.notice_1')
|
2020-04-02 10:18:23 +02:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.daily_notifications.notice_2')
|
2020-04-02 10:18:23 +02:00
|
|
|
|
|
|
|
.radios
|
|
|
|
%label
|
|
|
|
= form.radio_button :daily_email_notifications_enabled, true
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.positive')
|
2020-04-02 10:18:23 +02:00
|
|
|
|
|
|
|
%label
|
|
|
|
= form.radio_button :daily_email_notifications_enabled, false
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.negative')
|
2020-04-02 10:18:23 +02:00
|
|
|
|
2022-04-21 10:20:14 +02:00
|
|
|
= form.label :email_notification, t('.hebdo_recap.title')
|
2019-11-20 18:16:30 +01:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.hebdo_recap.notice_1')
|
2019-11-20 18:16:30 +01:00
|
|
|
%p.notice
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.hebdo_recap.notice_2')
|
2019-04-04 14:54:38 +02:00
|
|
|
|
2019-04-04 12:06:28 +02:00
|
|
|
.radios
|
|
|
|
%label
|
2020-02-11 15:51:15 +01:00
|
|
|
= form.radio_button :weekly_email_notifications_enabled, true
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.positive')
|
2019-04-04 12:06:28 +02:00
|
|
|
%label
|
2020-02-11 15:51:15 +01:00
|
|
|
= form.radio_button :weekly_email_notifications_enabled, false
|
2022-04-21 10:20:14 +02:00
|
|
|
= t('.utils.negative')
|
2019-04-04 12:06:28 +02:00
|
|
|
|
2022-08-30 21:41:54 +02:00
|
|
|
= 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')
|
|
|
|
|
2019-03-13 17:37:07 +01:00
|
|
|
.send-wrapper
|
2022-04-21 10:20:14 +02:00
|
|
|
= link_to t('.buttons.back_to_procedure'), instructeur_procedure_path(@procedure), class: 'button mr-1'
|
|
|
|
= form.submit t('.buttons.save'), class: "button primary"
|