{% extends "notification/base.html" %} {% load humanize %} {% load pagination_tags %} {% load timezone_filters %} {% block title %}{% trans "Notices" %} - {{ block.super }}{% endblock %} {% block main %} {% autopaginate notices %} {% if notices %} {% trans "Mark all unseen notices seen" %} {# TODO: get timezone support working with regroup #} {% regroup notices by added.date as notices_by_date %} {% for date in notices_by_date %}
{% trans "No notices." %}
{% endif %} {% endblock %}