templates/profile/browse_notifications.html
author Nishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 12:35:18 +0530
changeset 38 c8c47fcb46f0
parent 37 c701e68f8d35
child 45 c8bcc41221cb
permissions -rw-r--r--
created a view for view notification and included the url. made changes accordingly in browse notifications

{% extends 'base.html' %}
{% block content %}
{% if not notifications %}
You have no notifications.
{% else %}
Notifications for you: <br />
{% for notification in notifications %}
<a href="/profile/notf/view/nid={{notification.uniq_key}}">
{% if not notification.is_read %} <b> {% endif %}
{{notification.sub}}
{% if not notification.is_read %} </b> {% endif %}</a><br />
{% endfor %}
{% endif %}
{% endblock %}