{% load static thumbnail %} {% if group and group.avatar %} {% else %} {% endif %}