templates/user/browse_notifications.html
author nishanth
Fri, 26 Feb 2010 18:34:30 +0530
changeset 123 a6b4234388c8
parent 106 3c3ea2a3f92a
child 184 8ca20bacc78e
permissions -rw-r--r--
now notification depends on id and not pos.

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