rend plus compréhensible le mail quotidien des nouveautés
This commit is contained in:
parent
267cf1060a
commit
5ffe0f618f
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
Bonjour,
|
||||
|
||||
%p
|
||||
Vous avez du nouveau sur #{APPLICATION_NAME}.
|
||||
Vous avez du nouveau sur #{APPLICATION_NAME} depuis hier.
|
||||
|
||||
%ul
|
||||
- @data.each do |datum|
|
||||
|
@ -18,10 +18,10 @@
|
|||
#{datum[:nb_notification]} #{'notification'.pluralize(datum[:nb_notification])}
|
||||
- if datum[:nb_en_instruction] > 0
|
||||
%br
|
||||
#{datum[:nb_en_instruction]} #{'dossier'.pluralize(datum[:nb_en_instruction])}
|
||||
#{datum[:nb_en_instruction]} #{'dossier'.pluralize(datum[:nb_en_instruction])} en instruction
|
||||
- if datum[:nb_accepted] > 0
|
||||
%br
|
||||
#{datum[:nb_accepted]} #{'dossier'.pluralize(datum[:nb_accepted])}
|
||||
#{datum[:nb_accepted]} #{'dossier'.pluralize(datum[:nb_accepted])} #{'accepté'.pluralize(datum[:nb_accepted])}
|
||||
|
||||
|
||||
= render partial: "layouts/mailers/signature"
|
||||
|
|
Loading…
Reference in a new issue