templates/user/browse_notifications.html
author nishanth
Thu, 04 Mar 2010 17:56:31 +0530
changeset 203 4774f6875a2d
parent 184 8ca20bacc78e
permissions -rw-r--r--
changed __unicode__ method of notification model.

{% extends 'base.html' %}
{% block content %}
    {% if not notifications %}
        You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
    {% else %}
    Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
        {% 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 %}