workaround bug in django (newlines in http headers, https://code.djangoproject.com...
[edumed.git] / edumed / templates / pybb / avatar.html
1 {% load pybb_tags %}
2 {% load libravatar_tags %}
3 <div class="avatar">
4     {% pybb_get_profile user=user as user_profile %}
5     <a href="{{ user_profile.get_absolute_url }}">
6         <img src="{% libravatar user.email PYBB_AVATAR_WIDTH %}" alt="{{ user }} libravatar" width="{{ PYBB_AVATAR_WIDTH }}" height="{{ PYBB_AVATAR_HEIGHT }}" />
7     </a>
8 </div>