{% load rules %} {% has_perm 'groups.change_group' user group as can_edit %} {% if group.logo or can_edit %} {% include 'groups/detail/_logo.html' %} {% endif %} {% load events %} {% sidebar_calendar associations preview_length=3 show_group=False group=group component_id='group-calendar' %} {% load groups %} {% sidebar_groups user group %}