diff --git a/notifications/views.py b/notifications/views.py index ec2642156f823fdbd01bdeb1f02da67bfbcd7d5b..955e23ab384be6c2759f35f6241ce61c6f9d8d55 100644 --- a/notifications/views.py +++ b/notifications/views.py @@ -86,7 +86,9 @@ def live_notification_list(request): list = [] - for n in request.user.notifications.all()[offset:offset + num_to_fetch]: + #for n in request.user.notifications.all()[offset:offset + num_to_fetch]: + # Kill notifications for now + for n in None: struct = model_to_dict(n) # struct['unread'] = struct['pseudo_unread'] struct['slug'] = id2slug(n.id) diff --git a/scipost/templates/scipost/navbar.html b/scipost/templates/scipost/navbar.html index 7aac72afa8c6586f343cf1ccb6f9bcc03318e4aa..aa54892400d8988b7bb2ee49fc929a9b4c512250 100644 --- a/scipost/templates/scipost/navbar.html +++ b/scipost/templates/scipost/navbar.html @@ -222,7 +222,7 @@ <li class="nav-item navbar-counter"> <div class="d-inline-block notifications_container"> - <!-- <a href="javascript:;" class="d-inline-block badge_link nav-link" id="notifications_badge" data-toggle="modal" data-target="#notification_center"> +<!-- <a href="javascript:;" class="d-inline-block badge_link nav-link" id="notifications_badge" data-toggle="modal" data-target="#notification_center"> <i class="fa fa-inbox" aria-hidden="true" style="min-width: 16px;"></i> {% live_notify_badge classes="badge badge-pill" %} </a>