annotate gpp/templates/membermap/markdown.html @ 327:a1bf6cf49720
Modified the implementation of the avatar tag to look for an attribute 'user_profile' on the user object. If present, this is assumed to be the profile. This improves the performance of the member list and some forum views.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 22 Feb 2011 02:11:26 +0000 |
parents |
daa2916f5b34 |
children |
3c48a555298d |
rev |
line source |
bgneal@310
|
1 {% load url from future %}
|
gremmie@1
|
2 {% load markup %}
|
gremmie@1
|
3 {% load smiley_tags %}
|
gremmie@1
|
4 {% load avatar_tags %}
|
bgneal@310
|
5 {% avatar user "left" %}<a href="{% url 'bio-view_profile' username=user.username %}">{{ user.username }}</a>:<br />{{ msg|safe }}
|