pytask/templates/profile/browse_notifications.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 15 Jan 2011 21:21:49 +0530
changeset 417 b37e541bf950
parent 307 c6bca38c1cbf
child 435 1217d808d70f
permissions -rw-r--r--
Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
275
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 %}
304
37adf6656f48 Added full_name and prettified the page
Nishanth Amuluru <nishanth@fossee.in>
parents: 283
diff changeset
     6
Notifications: <br />
275
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
{% for notification in notifications %}
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
     8
<a href="{% url view_notification notification.id %}">
275
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 %}
283
c8bcc41221cb fixed a typo
Nishanth Amuluru <nishanth@fossee.in>
parents: 276
diff changeset
    10
{{notification.subject}}
275
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 %}