| author | Nishanth Amuluru <nishanth@fossee.in> |
| Fri, 07 Jan 2011 12:21:43 +0530 | |
| changeset 37 | c701e68f8d35 |
| child 38 | c8c47fcb46f0 |
| permissions | -rw-r--r-- |
|
37
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
1 |
{% extends 'base.html' %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
2 |
{% block content %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
{% if not notifications %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
4 |
You have no notifications. |
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
5 |
{% else %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
Notifications for you: <br /> |
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
{% for notification in notifications %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
<a href="/user/notifications/nid={{notification.uniq_key}}">
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
{% if not notification.is_read %} <b> {% endif %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
10 |
{{notification.sub}}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
11 |
{% if not notification.is_read %} </b> {% endif %}</a><br />
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
12 |
{% endfor %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
13 |
{% endif %}
|
|
c701e68f8d35
fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
14 |
{% endblock %}
|