Mercurial > public > sg101
annotate gpp/templates/membermap/balloon.html @ 505:a5d11471d031
Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 19:13:38 +0000 |
parents | 3c48a555298d |
children |
rev | line source |
---|---|
bgneal@310 | 1 {% load url from future %} |
bgneal@492 | 2 {% load bio_tags %} |
bgneal@266 | 3 {% if avatar_url %} |
bgneal@310 | 4 <a href="{% url 'bio-view_profile' username=user.name %}"> |
bgneal@266 | 5 <img src="{{ avatar_url }}" alt="{{ user.name }}" style="float:left;margin-right:3px;" /></a> |
bgneal@266 | 6 {% endif %} |
bgneal@492 | 7 {% profile_link user.name %}:<br /> |
bgneal@266 | 8 {{ user.message|safe }} |