[#1563] Display attestation / closed mail discrepancy alert in admin interface
- When changing emails - When changing attestation - As a safety net, on summary page
This commit is contained in:
parent
a2ffc4357d
commit
b27218c7c4
4 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
|
||||||
#attestation-template-edit.row.white-back
|
#attestation-template-edit.row.white-back
|
||||||
= form_for @attestation_template, url: admin_procedure_attestation_template_path do |f|
|
= form_for @attestation_template, url: admin_procedure_attestation_template_path do |f|
|
||||||
.row
|
.row
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
- if params[:id] == 'closed_mail'
|
||||||
|
= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
|
||||||
.white-back
|
.white-back
|
||||||
%h3
|
%h3
|
||||||
= @mail_template.class.const_get(:DISPLAYED_NAME)
|
= @mail_template.class.const_get(:DISPLAYED_NAME)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
|
||||||
#custom-mails
|
#custom-mails
|
||||||
.wrapper
|
.wrapper
|
||||||
%h1 E-mails personnalisables
|
%h1 E-mails personnalisables
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
= render partial: 'admin/closed_mail_template_attestation_inconsistency_alert'
|
||||||
.row.white-back
|
.row.white-back
|
||||||
#procedure_show
|
#procedure_show
|
||||||
- if @facade.procedure.brouillon?
|
- if @facade.procedure.brouillon?
|
||||||
|
|
Loading…
Reference in a new issue