Adding dossiers suivis modifiés to tease informations about new notifications for gestionnaire

This commit is contained in:
JC 2017-01-02 14:39:27 +01:00
parent dc0d206d88
commit 983cec659b
2 changed files with 7 additions and 1 deletions

View file

@ -27,7 +27,7 @@
.dossiers-en-cours, .en-cours {
margin-top: 20px;
}
.dossiers-en-cours, .nouveaux-dossiers, .en-cours {
.dossiers-en-cours, .nouveaux-dossiers, .nouvelles-notifications, .en-cours {
line-height: initial;
text-align: center;
margin-right: 10px;

View file

@ -5,6 +5,12 @@
%div.nouveaux-dossiers
= @facade_data_view.total_new_dossier
NOUVEAUX DOSSIERS
%div.nouvelles-notifications
- new_notifications = @facade_data_view.unread_notifications.count
- if new_notifications > 1
= "#{new_notifications} DOSSIERS MODIFIÉS"
- elsif new_notifications == 1
1 DOSSIER MODIFIÉ
%div#action-block