{% extends "user/dashboard.html" %} {% block dashboard_activity_stream_context %}{% endblock %} {% block page_primary_action %} {% if h.check_access('organization_create') %} {% link_for _('Add Organization'), controller='organization', action='new', class_="btn btn-primary btn-primary-dashboard", icon="plus-square" %} {% endif %} {% endblock %} {% block primary_content_inner %}

{{ _('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 %}

{{ _('You are not a member of any organizations.') }} {% if h.check_access('organization_create') %} {% link_for _('Create one now?'), controller='organization', action='new' %} {% endif %}

{% endif %} {% endblock %}