From 07495ff9ba058a69d1653c88fbbfaf7e5b840232 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Thu, 22 Dec 2016 21:25:55 +0100 Subject: [PATCH] Ajust UI for notifications --- app/views/backoffice/dossiers/_list.html.haml | 2 +- app/views/layouts/_navbar.html.haml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/backoffice/dossiers/_list.html.haml b/app/views/backoffice/dossiers/_list.html.haml index db57cf6fd..e5b60cdee 100644 --- a/app/views/backoffice/dossiers/_list.html.haml +++ b/app/views/backoffice/dossiers/_list.html.haml @@ -26,7 +26,7 @@ .badge.progress-bar-default = total_notif - else - .badge.progress-bar-danger + .badge.progress-bar-warning = total_notif - @facade_data_view.preference_list_dossiers_filter.each_with_index do |preference, index| %td diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml index 415f6bbda..908ccc621 100644 --- a/app/views/layouts/_navbar.html.haml +++ b/app/views/layouts/_navbar.html.haml @@ -5,6 +5,8 @@ = image_tag('marianne_small.png', class: 'logo') %div.col-lg-6.no-padding#tps-title TPS + .badge.progress-bar-danger + = Notification.where(already_read: false).count %div.col-lg-10.col-md-10.no-padding %div#navbar-body