Mercurial > public > sg101
view gpp/templates/membermap/balloon.html @ 322:c3d3d7114749
Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 12 Feb 2011 21:37:17 +0000 |
parents | daa2916f5b34 |
children | 3c48a555298d |
line wrap: on
line source
{% load url from future %} {% if avatar_url %} <a href="{% url 'bio-view_profile' username=user.name %}"> <img src="{{ avatar_url }}" alt="{{ user.name }}" style="float:left;margin-right:3px;" /></a> {% endif %} <a href="{% url 'bio-view_profile' username=user.name %}">{{ user.name }}</a>:<br /> {{ user.message|safe }}