{% extends "user/dashboard.html" %} {% set group_type = h.default_group_type('organization') %} {% block page_primary_action %} {% if h.check_access('organization_create') %} {% link_for h.humanize_entity_type('organization', group_type, 'add link') or _('Add Organization'), named_route=group_type ~ '.new', class_="btn btn-primary", icon="plus-square" %} {% endif %} {% endblock %} {% block primary_content_inner %}

{{ h.humanize_entity_type('organization', group_type, 'my label') or _('My Organizations') }}

{% set organizations = h.organizations_available(permission='manage_group', include_dataset_count=True) %} {% if organizations %}
{% snippet "organization/snippets/organization_list.html", organizations=organizations, show_capacity=True %}
{% else %}

{{ h.humanize_entity_type('organization', group_type, 'you not member') or _('You are not a member of any organizations.') }} {% if h.check_access('organization_create') %} {% link_for _('Create one now?'), named_route=group_type ~ '.new' %} {% endif %}

{% endif %} {% endblock %}