Rename dossier_with_notification_for
This commit is contained in:
parent
339b8791f1
commit
8f5fdfa81f
4 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@
|
|||
- if total_new > 0
|
||||
.badge.progress-bar-success{ title: 'Nouveaux dossiers' }
|
||||
= total_new
|
||||
- unread_notif_count = current_gestionnaire.dossier_with_notification_for(procedure)
|
||||
- unread_notif_count = current_gestionnaire.dossiers_with_notifications_count_for_procedure(procedure)
|
||||
- if unread_notif_count > 0
|
||||
.badge.progress-bar-warning{ title: 'Notifications' }
|
||||
= unread_notif_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue