author | Nishanth Amuluru <nishanth@fossee.in> |
Thu, 06 Jan 2011 12:08:36 +0530 | |
changeset 226 | b4a3ec34c061 |
parent 184 | 8ca20bacc78e |
permissions | -rw-r--r-- |
101 | 1 |
{% extends 'base.html' %} |
2 |
{% block content %} |
|
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
3 |
{% if not notifications %} |
184 | 4 |
You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br /> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
5 |
{% else %} |
184 | 6 |
Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br /> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
7 |
{% for notification in notifications %} |
123 | 8 |
<a href="/user/notifications/nid={{notification.id}}"> |
106
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
9 |
{% if not notification.is_read %} <b> {% endif %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
10 |
{{notification.sub}} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
11 |
{% if not notification.is_read %} </b> {% endif %}</a><br /> |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
12 |
{% endfor %} |
3c3ea2a3f92a
now view request shows a better message if role is MT .
nishanth
parents:
101
diff
changeset
|
13 |
{% endif %} |
101 | 14 |
{% endblock %} |