{% load i18n cosinnus_tags %} {% comment %} WARNING: It is extremely important that this contains only one parent div, and that this div has the data-type="widget" attribute! {% endcomment %}
{% block base_widget_content %} {% comment %} The refresh/edit/delete button, left out for now
{% if user|has_write_access:object %} {% endif %}
{% endcomment %}
  • {% block widget_icon %} {% if widget_icon or widget_icon_content %} {% if widget_icon_content %} {{ widget_icon_content }} {% else %} {% endif %} {% endif %} {% endblock widget_icon %} {% if edit_mode and edit_mode != False and group and request.user|is_group_admin:group or edit_mode != False and request.user.is_authenticaed and not group %} {% endif %}
    {% block header_content %} {% block widget_title %}{% if widget_title %}{{ widget_title }}{% endif %}{% endblock widget_title %} {% endblock %}
{% block override_widget_content %}
{% block widget_content %}{% endblock widget_content %}
{% endblock override_widget_content %} {% block widget_button %} {% endblock widget_button %} {% endblock base_widget_content %}