demarches-normaliennes/app/views/instructeur_mailer/send_notifications.html.haml
Judith 782706537d Changed the routes to pass all new design admin pages under
'new_administrateur' scope, except 'services'.
As a result, the url of these pages will all include '/admin'.
2020-07-07 14:08:01 +00:00

27 lines
866 B
Text

- 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
= link_to(datum[:procedure_libelle], instructeur_procedure_url(datum[:procedure_id]))
- 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])}
- 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])}
= render partial: "layouts/mailers/signature"