{# @description One notification as a list row: its subject and text, and when it arrived. An unread one carries a dot and a bold subject. A notification with a link opens it and is marked read on the way. #}
{# @prop notification:text | description:"The notification to draw." #}
{% load i18n humanize %}
{# Every row has the dot, so the text lines up; on a read one it is invisible. #}
{% if not notification.is_read %}{% trans "Unread:" %}{% endif %}
{% if notification.url %}
{{ notification.get_subject }}
{% else %}
{{ notification.get_subject }}
{% endif %}
{% with text=notification.get_text %}
{% if text %}{% endif %}
{% endwith %}