Improve the style of the dossier expiration summary email
This commit is contained in:
parent
87cccae17a
commit
5ca9267065
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
- content_for(:title, 'Expiration du délai de conservation des dossiers')
|
- content_for(:title, 'Expiration du délai de conservation des dossiers')
|
||||||
|
|
||||||
- if @expired_dossiers.present?
|
- if @expired_dossiers.present?
|
||||||
%h1= t('mail.administration.dossier_expiration_summary.expired_dossiers', count: @expired_dossiers.count)
|
%h2= t('mail.administration.dossier_expiration_summary.expired_dossiers', count: @expired_dossiers.count)
|
||||||
- @expired_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
- @expired_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
||||||
%dl
|
%dl
|
||||||
%dt
|
%dt
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
= dossiers.map { |d| link_to(d.id, manager_dossier_url(d)) }.join(', ').html_safe
|
= dossiers.map { |d| link_to(d.id, manager_dossier_url(d)) }.join(', ').html_safe
|
||||||
|
|
||||||
- if @expiring_dossiers.present?
|
- if @expiring_dossiers.present?
|
||||||
%h1= t('mail.administration.dossier_expiration_summary.expiring_dossiers', count: @expiring_dossiers.count)
|
%h2= t('mail.administration.dossier_expiration_summary.expiring_dossiers', count: @expiring_dossiers.count)
|
||||||
- @expiring_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
- @expiring_dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
||||||
%dl
|
%dl
|
||||||
%dt
|
%dt
|
||||||
|
|
Loading…
Reference in a new issue