templates/user/browse_notifications.html
changeset 184 8ca20bacc78e
parent 123 a6b4234388c8
equal deleted inserted replaced
183:c088c79a225c 184:8ca20bacc78e
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3     {% if not notifications %}
     3     {% if not notifications %}
     4         You have no notifications.
     4         You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
     5     {% else %}
     5     {% else %}
       
     6     Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br />
     6         {% for notification in notifications %}
     7         {% for notification in notifications %}
     7             <a href="/user/notifications/nid={{notification.id}}">
     8             <a href="/user/notifications/nid={{notification.id}}">
     8             {% if not notification.is_read %} <b> {% endif %}
     9             {% if not notification.is_read %} <b> {% endif %}
     9             {{notification.sub}}
    10             {{notification.sub}}
    10             {% if not notification.is_read %} </b> {% endif %}</a><br />
    11             {% if not notification.is_read %} </b> {% endif %}</a><br />