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.
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 %}
123
a6b4234388c8 now notification depends on id and not pos.
nishanth
parents: 106
diff changeset
     7
            <a href="/user/notifications/nid={{notification.id}}">
106
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 %}