Ajust count notification for procedure left panel in back office gestionnaire
This commit is contained in:
parent
70fcaf281f
commit
c122a64237
4 changed files with 17 additions and 9 deletions
|
@ -6,13 +6,8 @@
|
|||
.count= @facade_data_view.total_new_dossier
|
||||
.text= "NOUVEAUX"
|
||||
%div.nouvelles-notifications
|
||||
- new_notifications = @facade_data_view.dossiers_with_unread_notifications.count
|
||||
- if new_notifications > 1
|
||||
.count= new_notifications
|
||||
.text= "MODIFIÉS"
|
||||
- elsif new_notifications == 1
|
||||
.count 1
|
||||
.text= "MODIFIÉ"
|
||||
.count= @facade_data_view.dossiers_with_unread_notifications.count
|
||||
.text= "MODIFIÉS"
|
||||
|
||||
%div#action-block
|
||||
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
= h @dossier.procedure.description.html_safe
|
||||
|
||||
- else
|
||||
= image_tag(image_url(LOGO_NAME), {id: 'logo_tps'})
|
||||
#logo_procedure.flag
|
||||
= image_tag(image_url(LOGO_NAME), {id: 'logo_tps'})
|
||||
%br
|
Loading…
Add table
Add a link
Reference in a new issue