Files
website-v2/templates/partials/avatar.html
Greg Newman 6df5b6f888 🚧 pulling in machina templates
Adding machina templates locally so we can style with Tailwind instead of boostrap
2022-09-11 18:10:14 -04:00

9 lines
271 B
HTML

{% load forum_member_tags %}
{% if profile.avatar %}
<img class="avatar" src="{{ profile.avatar.url }}" alt="{{ profile.user|forum_member_display_name }}" />
{% elif show_placeholder %}
<span class="avatar empty">
<i class="far fa-user fa-4x" ></i>
</span>
{% endif %}