templates/user/browse_notifications.html
author nishanth
Fri, 26 Feb 2010 00:29:04 +0530
changeset 106 3c3ea2a3f92a
parent 101 e2903a92b5e8
child 123 a6b4234388c8
permissions -rw-r--r--
now view request shows a better message if role is MT .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
101
e2903a92b5e8 added browse_notifications functionality .
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
e2903a92b5e8 added browse_notifications functionality .
nishanth
parents:
diff changeset
     2
{% block content %}
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     3
    {% if not notifications %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     4
        You have no notifications.
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     5
    {% else %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     6
        {% for notification in notifications %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     7
            <a href="/user/notifications/nid={{notification.pos}}">
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     8
            {% if not notification.is_read %} <b> {% endif %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     9
            {{notification.sub}}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    10
            {% if not notification.is_read %} </b> {% endif %}</a><br />
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    11
        {% endfor %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    12
    {% endif %}
101
e2903a92b5e8 added browse_notifications functionality .
nishanth
parents:
diff changeset
    13
{% endblock %}