templates/user/view_notification.html
author nishanth
Tue, 02 Mar 2010 22:50:17 +0530
changeset 184 8ca20bacc78e
parent 134 3a49a7e23442
permissions -rw-r--r--
created a starthere page.

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