2019-03-13 17:59:33 +01:00
|
|
|
- content_for(:title, 'Du nouveau sur vos démarches')
|
|
|
|
|
|
|
|
%p
|
|
|
|
Bonjour,
|
|
|
|
|
|
|
|
%p
|
|
|
|
Vous avez du nouveau sur demarches-simplifiees.fr.
|
|
|
|
|
|
|
|
%ul
|
|
|
|
- @data.each do |datum|
|
|
|
|
%li
|
2020-07-07 12:03:32 +02:00
|
|
|
= link_to(datum[:procedure_libelle], instructeur_procedure_url(datum[:procedure_id]))
|
2019-03-13 17:59:33 +01:00
|
|
|
- if datum[:nb_en_construction] > 0
|
|
|
|
%br
|
|
|
|
#{datum[:nb_en_construction]} #{'dossier'.pluralize(datum[:nb_en_construction])} en construction
|
|
|
|
- if datum[:nb_notification] > 0
|
|
|
|
%br
|
|
|
|
#{datum[:nb_notification]} #{'notification'.pluralize(datum[:nb_notification])}
|
2020-03-13 10:24:25 +01:00
|
|
|
- if datum[:nb_en_instruction] > 0
|
|
|
|
%br
|
|
|
|
#{datum[:nb_en_instruction]} #{'dossier'.pluralize(datum[:nb_en_instruction])}
|
|
|
|
- if datum[:nb_accepted] > 0
|
|
|
|
%br
|
|
|
|
#{datum[:nb_accepted]} #{'dossier'.pluralize(datum[:nb_accepted])}
|
|
|
|
|
2019-03-13 17:59:33 +01:00
|
|
|
|
|
|
|
= render partial: "layouts/mailers/signature"
|