templates/user/view_notification.html
author anoop
Thu, 04 Mar 2010 15:58:27 +0530
changeset 198 b1a1a5017268
parent 134 3a49a7e23442
permissions -rw-r--r--
merged

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