templates/user/view_notification.html
changeset 236 39f83b4cf557
parent 235 e338eaeccad7
equal deleted inserted replaced
235:e338eaeccad7 236:39f83b4cf557
     1 {% extends 'base.html' %}
       
     2 {% block content %}
       
     3     {% if newest %}
       
     4         <a href="/user/notifications/nid={{newest.id}}">&lt;&lt;newest</a>
       
     5     {% endif %}
       
     6     {% if newer %}
       
     7         <a href="/user/notifications/nid={{newer.id}}">&lt;newer</a>
       
     8     {% endif %}
       
     9     {% if older %}
       
    10         <a href="/user/notifications/nid={{older.id}}">older&gt;</a>
       
    11     {% endif %}
       
    12     {% if oldest %}
       
    13         <a href="/user/notifications/nid={{oldest.id}}">oldest&gt;&gt;</a>
       
    14     {% endif %}
       
    15     <br />
       
    16         
       
    17     <form action="delete/" method="post"> <input type="submit" value="Delete"> </form>
       
    18     <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form>
       
    19     <br />
       
    20     sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
       
    21     Sub: {{notification.sub}}<br />
       
    22     <br />
       
    23         {{notification.message|safe}}
       
    24 {% endblock %}