{% for notification in notifications %} {% if notification.actor %}
  • {% if notification.actor.image %} icon {% else %} icon {% endif %}
    {{ notification.datetime|timesince }}

    {{notification.actor.username}} {{ notification.message }}

  • {% else %}
  • {{ notification.datetime|timesince }}

    {{notification.actor.username}} {{ notification.message }}

  • {% endif %} {% endfor %}