templates/user/browse_notifications.html
changeset 106 3c3ea2a3f92a
parent 101 e2903a92b5e8
child 123 a6b4234388c8
equal deleted inserted replaced
105:091b044a3bf4 106:3c3ea2a3f92a
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3     {% for notification in notifications %}
     3     {% if not notifications %}
     4         <a href="/user/notifications/nid={{notification.pos}}">
     4         You have no notifications.
     5         {% if not notification.is_read %} <b> {% endif %}
     5     {% else %}
     6         {{notification.sub}}
     6         {% for notification in notifications %}
     7         {% if not notification.is_read %} </b> {% endif %}</a><br />
     7             <a href="/user/notifications/nid={{notification.pos}}">
     8     {% endfor %}
     8             {% if not notification.is_read %} <b> {% endif %}
       
     9             {{notification.sub}}
       
    10             {% if not notification.is_read %} </b> {% endif %}</a><br />
       
    11         {% endfor %}
       
    12     {% endif %}
     9 {% endblock %}
    13 {% endblock %}