From 544ef3bc588d4180d7ecad15bdacd43813a7c5c5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 12 Dec 2019 14:51:10 +0000 Subject: update composer libs and minor notifications display fixes --- view/css/bootstrap-red.css | 4 ++++ view/js/main.js | 2 ++ view/tpl/notifications_widget.tpl | 10 +++++----- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index d2daf0b8a..7382bec1a 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -93,3 +93,7 @@ small, .small { font-size: 0.75rem; } + +.notification-link.collapsed { + border-top: 0 !important; +} diff --git a/view/js/main.js b/view/js/main.js index 66a0bda2f..da1894f88 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1876,10 +1876,12 @@ function sse_setNotificationsStatus() { if(any_available) { $('.notifications-btn').css('opacity', 1); $('#no_notifications').hide(); + $('#notifications').show(); } else { $('.notifications-btn').css('opacity', 0.5); $('#navbar-collapse-1').removeClass('show'); $('#no_notifications').show(); + $('#notifications').hide(); } } diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 5e96c2767..8e22da6c5 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -151,9 +151,9 @@ -