_notifications-timeline.html 575 Bytes
Newer Older
1
{% load i18n %}
2 3 4 5 6 7 8 9 10 11 12 13 14 15
{% for n in notifications %}
  <li class="notification-message">
    <span class="notification-message-subject">
      {% if n.status == "new" %}<i class="icon-envelope-alt"></i> {% endif %}
      {{ n.subject }}
    </span>
    <span class="notification-message-date pull-right">
      {{ n.created|timesince }}
    </span>
    <div style="clear: both;"></div>
    <div class="notification-message-text">
      {{ n.message }}
    </div>
  </li>
16 17 18 19
{% empty %}
  <li class="notification-message">
  {% trans "You have no notifications." %}
  </li>
20
{% endfor %}