templates/user/view_notification.html
author nishanth
Sun, 28 Feb 2010 02:07:51 +0530
changeset 134 3a49a7e23442
parent 133 34187a80d279
permissions -rw-r--r--
added filter on time for view task request notification.

{% extends 'base.html' %}
{% block content %}
    {% if newest %}
        <a href="/user/notifications/nid={{newest.id}}">&lt;&lt;newest</a>
    {% endif %}
    {% if newer %}
        <a href="/user/notifications/nid={{newer.id}}">&lt;newer</a>
    {% endif %}
    {% if older %}
        <a href="/user/notifications/nid={{older.id}}">older&gt;</a>
    {% endif %}
    {% if oldest %}
        <a href="/user/notifications/nid={{oldest.id}}">oldest&gt;&gt;</a>
    {% endif %}
    <br />
        
    <form action="delete/" method="post"> <input type="submit" value="Delete"> </form>
    <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form>
    <br />
    sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
    Sub: {{notification.sub}}<br />
    <br />
        {{notification.message|safe}}
{% endblock %}