templates/user/browse_notifications.html
author nishanth
Fri, 26 Feb 2010 14:35:32 +0530
changeset 115 52f2b9968ccd
parent 106 3c3ea2a3f92a
child 123 a6b4234388c8
permissions -rw-r--r--
added an attribute called is_valid to request model just in case we need it in future.

{% extends 'base.html' %}
{% block content %}
    {% if not notifications %}
        You have no notifications.
    {% else %}
        {% for notification in notifications %}
            <a href="/user/notifications/nid={{notification.pos}}">
            {% if not notification.is_read %} <b> {% endif %}
            {{notification.sub}}
            {% if not notification.is_read %} </b> {% endif %}</a><br />
        {% endfor %}
    {% endif %}
{% endblock %}