{% load rules thumbnail %} {% has_perm 'groups.change_group' user group as can_edit %}

Logo

{% if not group.logo %} {% if can_edit %} Logo hochladen {% endif %} {% else %}
{% thumbnail group.logo '400x400' format='PNG' as logo %} {{ group }} {% endthumbnail %}
{% endif %} {% if group.logo and can_edit%} {% endif %}