tendenci/tendenci — pull request #319 by bpotterschipul (2013-05-30 20:42:49+00:00)
Title: Avatar update

Created tag 'has_avatar' which will return an avatar image if one has been set, but will not display the default avatar if a user has not uploaded a custom avatar image.

To use on a template be sure to use {% load profile_tags %}

Example::

{% for officer in officers %}
{% has_avatar officer.user 64 %}
{% endfor %}