{# Renaming this file means a production admin action must be created to update notification objects with template `notification_item.html`. #} {% extends 'django_spire/item/infinite_scroll_item.html' %} {% block item_class %}lh-sm py-{% if is_dropdown_item %}1{% else %}2{% endif %}{% endblock %} {% block item_content %} {% if app_notification.notification.url %} {% if is_dropdown_item %}
{% else %}
{% endif %} {{ app_notification.notification.title }}
{% if not app_notification.viewed %} {% include 'django_spire/badge/primary_badge.html' with badge_text='New' %} {% endif %} {{ app_notification.notification.body }}
{{ app_notification.verbose_time_since_delivered }}
{% if not is_dropdown_item %}
{% include 'django_spire/element/attribute_element.html' with attribute_title='Priority' %} {% include 'django_spire/notification/app/badge/priority_badge.html' %}
{% endif %} {% if app_notification.notification.url %}
{% else %}
{% endif %} {% endblock %}