{% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
    {% for notification in notifications %}
  1. {{forloop.counter}}. {% if notification.unread %} {% endif %} {% if LANGUAGE_CODE == 'ar' %}

    {{ notification.data.verb_ar }}

    {% elif LANGUAGE_CODE == 'de' %}

    {{ notification.data.verb_de }}

    {% elif LANGUAGE_CODE == 'fr' %}

    {{ notification.data.verb_fr }}

    {% elif LANGUAGE_CODE == 'es' %}

    {{ notification.data.verb_es }}

    {% else %}

    {{ notification.verb }}

    {% endif %}
    {{ notification.timesince }} {% trans "ago by" %}User {{notification.actor}}
  2. {% endfor %}