pytask/templates/profile/browse_notifications.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 17 Jan 2011 02:53:11 +0530
changeset 435 1217d808d70f
parent 417 b37e541bf950
permissions -rw-r--r--
Use the new forms tags and fix the styling.

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