FreedomBox/plinth/templates/notifications-dropdown.html
Sunil Mohan Adapa e89e2b4a2a
*.html: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:39:19 +02:00

22 lines
647 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{# Template to display a drop down button for notifications in the navbar #}
{% load i18n %}
{% if notifications %}
<li class="dropdown notifications-dropdown">
<a href="#" title="{% trans "Notifications" %}" class="dropdown-toggle"
data-toggle="dropdown" role="button" aria-expanded="false"
data-target=".notifications">
<span class="fa fa-bell nav-icon"></span>
<span class="badge badge-{{ notifications_max_severity }}">
{{ notifications|length }}
</span>
<span class="caret"></span>
</a>
</li>
{% endif %}