pytask/templates/profile/browse_notifications.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sun, 30 Jan 2011 18:59:23 +0530
changeset 526 9c0c88d129dd
parent 435 1217d808d70f
permissions -rw-r--r--
Add a view, form and related URL for chapter creation under textbook.

{% 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 %}