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.

{% extends 'base.html' %}
{% block content %}
{% if not notifications %}
You have no notifications.
{% else %}
Notifications: <br />
{% for notification in notifications %}
<a href="{% url view_notification notification.id %}">
{% if not notification.is_read %} <b> {% endif %}
{{notification.subject}}
{% if not notification.is_read %} </b> {% endif %}</a><br />
{% endfor %}
{% endif %}
{% endblock %}