templates/user/view_notification.html
author nishanth
Tue, 02 Mar 2010 14:46:05 +0530
changeset 174 d034cd77cfa6
parent 134 3a49a7e23442
permissions -rw-r--r--
added footer to base.html.

{% 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 %}