templates/user/view_notification.html
author nishanth
Sun, 28 Feb 2010 01:15:15 +0530
changeset 133 34187a80d279
parent 129 e747da8bc110
child 134 3a49a7e23442
permissions -rw-r--r--
added next and previous capabilities to requests and notifications.
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 />
129
e747da8bc110 notifications work for approving and rejecting credits.
nishanth
parents: 103
diff changeset
    20
    sent at {{notification.sent_date}}<br />
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 %}