templates/user/view_notification.html
author nishanth
Mon, 01 Mar 2010 04:44:49 +0530
changeset 156 7cad1e92713d
parent 134 3a49a7e23442
permissions -rw-r--r--
finalised the view_task page.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
103
3a4c8fccb9f3 added the functionality to view each notification
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
3a4c8fccb9f3 added the functionality to view each notification
nishanth
parents:
diff changeset
     2
{% block content %}
133
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     3
    {% if newest %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     4
        <a href="/user/notifications/nid={{newest.id}}">&lt;&lt;newest</a>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     5
    {% endif %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     6
    {% if newer %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     7
        <a href="/user/notifications/nid={{newer.id}}">&lt;newer</a>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     8
    {% endif %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
     9
    {% if older %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    10
        <a href="/user/notifications/nid={{older.id}}">older&gt;</a>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    11
    {% endif %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    12
    {% if oldest %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    13
        <a href="/user/notifications/nid={{oldest.id}}">oldest&gt;&gt;</a>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    14
    {% endif %}
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    15
    <br />
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    16
        
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    17
    <form action="delete/" method="post"> <input type="submit" value="Delete"> </form>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    18
    <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form>
34187a80d279 added next and previous capabilities to requests and notifications.
nishanth
parents: 129
diff changeset
    19
    <br />
134
3a49a7e23442 added filter on time for view task request notification.
nishanth
parents: 133
diff changeset
    20
    sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
129
e747da8bc110 notifications work for approving and rejecting credits.
nishanth
parents: 103
diff changeset
    21
    Sub: {{notification.sub}}<br />
e747da8bc110 notifications work for approving and rejecting credits.
nishanth
parents: 103
diff changeset
    22
    <br />
e747da8bc110 notifications work for approving and rejecting credits.
nishanth
parents: 103
diff changeset
    23
        {{notification.message|safe}}
103
3a4c8fccb9f3 added the functionality to view each notification
nishanth
parents:
diff changeset
    24
{% endblock %}