pytask/templates/profile/browse_notifications.html
author Nishanth Amuluru <nishanth@fossee.in>
Tue, 11 Jan 2011 12:30:10 +0530
changeset 140 8fcde6f8f750
parent 69 c6bca38c1cbf
permissions -rw-r--r--
added view_user functionality
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 %}
66
37adf6656f48 Added full_name and prettified the page
Nishanth Amuluru <nishanth@fossee.in>
parents: 45
diff changeset
     6
Notifications: <br />
37
c701e68f8d35 fixed a typo and browse notifications works fine
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
{% for notification in notifications %}
38
c8c47fcb46f0 created a view for view notification and included the url. made changes accordingly in browse notifications
Nishanth Amuluru <nishanth@fossee.in>
parents: 37
diff changeset
     8
<a href="/profile/notf/view/nid={{notification.uniq_key}}">
37
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 %}
45
c8bcc41221cb fixed a typo
Nishanth Amuluru <nishanth@fossee.in>
parents: 38
diff changeset
    10
{{notification.subject}}
37
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 %}