{% extends "aristotle_mdr/user/userHome.html" %} {% load notifications_tags i18n %} {% block collapse-link%} Notifications {% endblock %} {% block sidebar %} {% include "aristotle_mdr/user/userSideBar.html" with inboxFolder=folder %} {% endblock %} {% block page %}

{% block title %}Notifications {% if folder %}- {{ folder }}{% endif %}{% endblock %}

Mark all as read {% for notice in notifications %} {% endfor %}
Notice Time since Delete
{% if notice.unread %} Unread message {% else %} Read message {% endif %} {% if notice.actor == notice.target %} {% elif notice.actor.get_absolute_url %} {{ notice.actor }} {% else %} {{ notice.actor }} {% endif %} {{ notice.verb }} {% if notice.target %} {% if notice.target.get_absolute_url %} {{ notice.target }} {% else %} {{ notice.target }} {% endif %} {% endif %} {% if notice.action_object %} {% trans "in" %} {% if notice.action_object.get_absolute_url %} {{ notice.action_object }} {% else %} {{ notice.action_object }} {% endif %} {% endif %} {{ notice.timesince }} ago
{% if notifications.count == 0 and folder == 'unread' %}

You have no unread notifications.

Good job!

{% elif notifications.count == 0 %}

You have no notifications.

{% endif %} {% endblock %}