templates/user/view_notification.html
branchbuildout
changeset 227 3c8f3b0e5b00
parent 214 679c7e237052
child 228 81994e525e69
equal deleted inserted replaced
214:679c7e237052 227:3c8f3b0e5b00
     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 %}