{% extends "cosinnus/base.html" %} {% load i18n thumbnail cosinnus_tags cosinnus_map_tags static %} {% block page_title %}{% if group_type == 1 %}{% trans "Groups" %}{% elif group_type == 0 %}{% trans "Projects" %}{% else %}{% trans "Invitations" %}{% endif %}{% endblock %} {% block extrahead %} {{ block.super }} {% if not hide_group_map %} {% include 'cosinnus/map/static_dependencies.html' %} {% endif %} {% endblock extrahead %} {% block leftnav %} {% if group_type == 1 %} {% include "cosinnus/group/leftnav_all_groups.html" with current_page="grouplist__society" %} {% elif group_type == 0 %} {% include "cosinnus/group/leftnav_all_groups.html" with current_page="grouplist" %} {% else %} {% include "cosinnus/group/leftnav_all_groups.html" with current_page="all" %} {% endif %} {% endblock leftnav %} {% block breadcrumb %} {{ block.super }} {% if filter_group %}
  • {% trans "Related to" %} {{ filter_group.name }}
  • {% elif group_type == 'all' %}
  • {% trans "Invitations" %}
  • {% else %}
  • {% trans "Overview" %}
  • {% endif %} {% endblock %} {% block override_breadcrumb %} {{ block.super }} {% endblock override_breadcrumb %} {% block content %} {% if not hide_group_map %}
    {% include 'cosinnus/common/internet_explorer_not_supported.html' %}
    {% captureas map_settings %}{"activeFilters": {"groups": {% if group_type == 1 %}true{% else %}false{% endif %}, "events": false, "projects": {% if group_type == 1 %}false{% else %}true{% endif %}, "people": false}, "availableFilters": {"groups": true, "events": true, "projects": true, "people": true}, "topicsHtml": "{% render_cosinnus_topics_field "escape" %}", "markerIcons": {% render_map_marker_icon_json %}}{% endcaptureas %} {% include 'cosinnus/common/init_client_module.html' with module='map' id=""|add_uuid height=400 settings=map_settings %}
    {% endif %}
    {% comment %} hidden as long as create link is in the leftnav {% if user|is_superuser %}
    {% endif %} {% endcomment %} {% include 'cosinnus/group/group_list_items.html' %}
    {% if group_type == 'all' %} {% group_url 'cosinnus:group-dashboard' group=SETTINGS.NEWW_FORUM_GROUP_SLUG ignoreErrors=True as blog_url %} {% if blog_url %} {% endif %} {% endif %} {% endblock %}