Template source: notifications_header.html

{% load i18n %} <li id="group-message" class="btn-group social-icon-nav notification-group"> <button type="button" id="dropdown-message" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-comments" aria-hidden="true"></i> {% if message_notifications.unseen_count > 0 %} <span class="badge">{{ message_notifications.unseen_count }}</span> {% endif %} </button> <ul id="messages-notifications-list" class="dropdown-menu" aria-labelledby="dropdown-message"> <li class="notifications-header"><i class="fa fa-comments" aria-hidden="true"></i> {% trans "Messages" %}</li> <li class="notifications-content"> <ul> {% for notif in message_notifications %} {% include '_single_notification.html' with notif=notif %} {% empty %} <li class="notifications-empty"> <i class="fa fa-smile-o" aria-hidden="true"></i> <div class="notification-empty-text">{% trans "Your inbox is currently empty" %}</div> </li> {% endfor %} </ul> </li> <li class="notifications-all"><a href="{% url 'messaging' %}">{% trans "See all messages" %}</a></li> <span class="error-notification-message orangecolor" hidden></span> </ul> </li> <li id="group-notification" class="btn-group social-icon-nav notification-group"> <button type="button" id="dropdown-notification" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-paper-plane" aria-hidden="true"></i> {% if notifications.unseen_count > 0 %} <span class="badge">{{ notifications.unseen_count }}</span> {% endif %} </button> <ul id="notifications-list" class="dropdown-menu" aria-labelledby="dropdown-notification"> <li class="notifications-header"><i class="fa fa-paper-plane" aria-hidden="true"></i> {% trans "Notifications" %}</li> <li class="notifications-content"> <ul> {% for notif in notifications %} {% include '_single_notification.html' with notif=notif %} {% empty %} <li class="notifications-empty"> <i class="fa fa-smile-o" aria-hidden="true"></i> <div class="notification-empty-text">{% trans "Your notifications are currently empty" %}</div> </li> {% endfor %} </ul> </li> {# <li class="notifications-all"><a href="{% url 'get_all_notifications' %}">{% trans "See all notifications" %}</a></li>#} </ul> </li>