_notifications-timeline.html 715 Bytes
Newer Older
1
{% load i18n %}
2
{% load hro %}
3 4
{% load arrowfilter %}

5
{% for n in page %}
6
  <li class="notification-message" id="msg-{{n.id}}">
7
    <span class="notification-message-subject">
8
      {% if n.status == "new" %}<i class="fa fa-envelope-o"></i> {% endif %}
9
      {{ n.subject|get_text:user }}
10
    </span>
11 12
    <span class="notification-message-date pull-right" title="{{n.created}}" data-container="body">
      {{ n.created|arrowfilter:LANGUAGE_CODE }}
13 14 15
    </span>
    <div style="clear: both;"></div>
    <div class="notification-message-text">
16
      {{ n.message|get_text:user|safe }}
17 18
    </div>
  </li>
19 20 21 22
{% empty %}
  <li class="notification-message">
  {% trans "You have no notifications." %}
  </li>
23
{% endfor %}