{% extends "base.html" %} {% load static from staticfiles %} {% block content %}
Message | Time | {% for notification in notifications %}
---|---|
{% if notification.actor %} {% if notification.actor.get_view_url %} {{ notification.actor }} {% else %} {{ notification.actor }} {% endif %} {% endif %} {% if notification.verb %} {{ notification.verb }} {% endif %} {% if notification.action_object %} {% if notification.action_object.get_view_url %} {{ notification.action_object|striptags|truncatechars:50 }} {% else %} {{ notification.action_object|striptags|truncatechars:50 }} {% endif %} {% endif %} {% if notification.target and notification.action_object %} on {% endif %} {% if notification.target %} {% if notification.target.get_view_url %} {{ notification.target|truncatechars:50 }} {% else %} {{ notification.target|truncatechars:50 }} {% endif %} {% endif %} | {{ notification.timestamp }} |