782706537d
'new_administrateur' scope, except 'services'. As a result, the url of these pages will all include '/admin'.
27 lines
866 B
Text
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"
|