pytask/templates/profile/view_notification.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 04 Feb 2011 16:38:21 +0530
changeset 558 fd3e6f5f01bd
parent 417 b37e541bf950
permissions -rw-r--r--
Use the form helpers templatetag module in the addreviewer template.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends 'base.html' %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
{% block content %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
{% if newest %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
     4
<a href="{% url view_notification newest.id %}">&lt;&lt;newest</a>
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
{% endif %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
{% if newer %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
     7
<a href="{% url view_notification newer.id %}">&lt;newer</a>
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
{% endif %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
{% if older %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
    10
<a href="{% url view_notification older.id %}">older&gt;</a>
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
{% endif %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    12
{% if oldest %}
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
    13
<a href="{% url view_notification oldest.id %}">oldest&gt;&gt;</a>
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
{% endif %}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
<br />
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
<br />
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
    18
Sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br />
285
cbb336da00bd fixed a typo
Nishanth Amuluru <nishanth@fossee.in>
parents: 277
diff changeset
    19
Sub: {{notification.subject}}<br />
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
<br />
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
{{notification.message|safe}}
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
<br />
417
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
    23
<a href="{% url delete_notification notification.id %}">Delete</a>
b37e541bf950 Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 307
diff changeset
    24
<a href="{% url unread_notification notification.id %}">Keep Unread</a>
277
2af4b1b731e8 Created template for view notification
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    25
{% endblock %}