{% 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 %}