view gpp/templates/weblinks/link_summary.html @ 231:a2d388ed106e

Guard against the request object not having a user attribute in my Who's online middleware. This can happen if a redirect is issued before the authentication middleware gets to run.
author Brian Neal <bgneal@gmail.com>
date Wed, 14 Jul 2010 02:35:39 +0000
parents dbd703f7d63a
children 7e8d2dda99e3
line wrap: on
line source
{% extends 'weblinks/base.html' %}
{% block title %}Web Links: {{ title }}{% endblock %}
{% block weblinks_content %}
   <h3>{{ title }}</h3>
   {% if links %}
   <dl>
   {% for link in links %}
      {% include 'weblinks/link.html' %}
   {% endfor %}
   </dl>
   {% endif %}
{% endblock %}