templates/user/browse_notifications.html
author nishanth
Fri, 05 Mar 2010 15:13:37 +0530
changeset 206 85660d75683d
parent 184 8ca20bacc78e
permissions -rw-r--r--
now user profile editing is done thro forms in a more elegant way.
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 %}
184
8ca20bacc78e created a starthere page.
nishanth
parents: 123
diff changeset
     4
        You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     5
    {% else %}
184
8ca20bacc78e created a starthere page.
nishanth
parents: 123
diff changeset
     6
    Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
     7
        {% for notification in notifications %}
123
a6b4234388c8 now notification depends on id and not pos.
nishanth
parents: 106
diff changeset
     8
            <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
     9
            {% if not notification.is_read %} <b> {% endif %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    10
            {{notification.sub}}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    11
            {% 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
    12
        {% endfor %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 101
diff changeset
    13
    {% endif %}
101
e2903a92b5e8 added browse_notifications functionality .
nishanth
parents:
diff changeset
    14
{% endblock %}