pytask/templates/user/view_notification.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 06 Jan 2011 19:07:04 +0530
branchbuildout
changeset 227 3c8f3b0e5b00
permissions -rw-r--r--
Add support for buildout and move the files to the directory to support buildout structure.

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