mailers: remove dead AdministrationMailer code
This commit is contained in:
parent
6d89a83d14
commit
3b5617b123
3 changed files with 0 additions and 26 deletions
|
@ -36,16 +36,6 @@ en:
|
||||||
first: First
|
first: First
|
||||||
truncate: '…'
|
truncate: '…'
|
||||||
|
|
||||||
# mail:
|
|
||||||
# administration:
|
|
||||||
# dossier_expiration_summary:
|
|
||||||
# expired_dossiers:
|
|
||||||
# one: "Un dossier a passé sa date limite de conservation"
|
|
||||||
# other: "%{count} dossiers ont passé leur date limite de conservation"
|
|
||||||
# expiring_dossiers:
|
|
||||||
# one: "Un dossier est sur le point de passer sa date limite de conservation"
|
|
||||||
# other: "%{count} dossiers sont sur le point de passer leur date limite de conservation"
|
|
||||||
|
|
||||||
modal:
|
modal:
|
||||||
publish:
|
publish:
|
||||||
title:
|
title:
|
||||||
|
|
|
@ -36,16 +36,6 @@ fr:
|
||||||
first: Premier
|
first: Premier
|
||||||
truncate: '…'
|
truncate: '…'
|
||||||
|
|
||||||
mail:
|
|
||||||
administration:
|
|
||||||
dossier_expiration_summary:
|
|
||||||
expired_dossiers:
|
|
||||||
one: "Un dossier a passé sa date limite de conservation"
|
|
||||||
other: "%{count} dossiers ont passé leur date limite de conservation"
|
|
||||||
expiring_dossiers:
|
|
||||||
one: "Un dossier est sur le point de passer sa date limite de conservation"
|
|
||||||
other: "%{count} dossiers sont sur le point de passer leur date limite de conservation"
|
|
||||||
|
|
||||||
modal:
|
modal:
|
||||||
publish:
|
publish:
|
||||||
title:
|
title:
|
||||||
|
|
|
@ -19,12 +19,6 @@ class AdministrationMailerPreview < ActionMailer::Preview
|
||||||
AdministrationMailer.refuse_admin('bad_admin@pipo.com')
|
AdministrationMailer.refuse_admin('bad_admin@pipo.com')
|
||||||
end
|
end
|
||||||
|
|
||||||
def dossier_expiration_summary
|
|
||||||
expiring_dossiers = [Dossier.new(id: 100, procedure: procedure_1)]
|
|
||||||
expired_dossiers = [Dossier.new(id: 100, procedure: procedure_2)]
|
|
||||||
AdministrationMailer.dossier_expiration_summary(expiring_dossiers, expired_dossiers)
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def procedure_1
|
def procedure_1
|
||||||
|
|
Loading…
Reference in a new issue