Mercurial > public > sg101
annotate gpp/templates/membermap/balloon.html @ 515:ae89ba801e8b
For #194, convert the POTD management command to a celery task.
Refactored to put the logic for the command into a function, and the command simply calls this function. The task can also just call this function. Added some basic tests for the new function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 14 Dec 2011 02:41:15 +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 }} |