pytask/templates/profile/browse_notifications.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 04 Feb 2011 16:38:21 +0530
changeset 558 fd3e6f5f01bd
parent 435 1217d808d70f
permissions -rw-r--r--
Use the form helpers templatetag module in the addreviewer template.

{% extends "base.html" %}

{% block content %}
  {% if not notifications %}
    You have no notifications.
  {% else %}

    Notifications: <br />
    {% for notification in notifications %}
      <a href="{% url view_notification notification.id %}">

        {% if not notification.is_read %}
          <b>
        {% endif %}
  
        {{ notification.subject }}
  
        {% if not notification.is_read %}
          </b>
        {% endif %}

      </a>
      <br />
    {% endfor %}

  {% endif %}
{% endblock %}