{% extends "admin/base_site.html" %} {% load i18n cc_admin %} {% block bodyclass %}{{ block.super }} cc-notes-page{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content_title %}

{% translate 'Notifications' %}

{% blocktranslate count counter=unread %}{{ counter }} unread{% plural %}{{ counter }} unread{% endblocktranslate %}

{% endblock %} {% block object-tools %}
{% if cc.notify.userSettings %}{% endif %} {% if unread %}
{% csrf_token %}
{% endif %} {% if can_broadcast %}{% icon "send" %}{% translate 'Send a notification' %}{% endif %}
{% endblock %} {% block content %}
{% for n in page %} {% if n.icon %}{% icon n.icon %}{% elif n.level == "success" %}{% icon "circle-check" %}{% elif n.level == "warning" %}{% icon "triangle-exclamation-point" %}{% elif n.level == "danger" %}{% icon "circle-exclamation-point" %}{% else %}{% icon "bell" %}{% endif %} {{ n.title }}{% if n.body %}{{ n.body }}{% endif %} {% empty %}
{% icon "bell" %}{% if only_unread %}{% translate 'Nothing unread. Nice.' %}{% else %}{% translate 'No notifications yet.' %}{% endif %}
{% endfor %}
{% if page.has_other_pages %} {% endif %}
{% endblock %}