{# This partial template renders a table of organisations, to be populated with rows via an AJAX request. # This extends a generic template for paginated tables. # # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used # to render the table cells with the data from the AJAX request. #} {% extends "tables/table-paginated.html.twig" %} {% block table %} {% if 'description' in table.columns %} {% endif %} {% if 'status' in table.columns %} {% endif %} {% if checkAccess('view_organisation_field', { 'property' : 'members' }) %} {% endif %} {% if not organisationConfig.combine_action_buttons %} {% if 'join' in table.columns %} {% endif %} {% endif %} {% if 'actions' in table.columns %} {% endif %}
{{translate('ORGANISATION')}} {{translate("DESCRIPTION")}} {{translate("STATUS")}} {{translate("ORGANISATION.MEMBER_COUNT")}} {{translate("ORGANISATION.ADMIN_COUNT")}} {{translate("JOIN")}}/{{translate("LEAVE")}}{{translate("ACTIONS")}}
{% endblock %} {% block table_cell_templates %} {% block table_organisations_column_info %} {% include "tables/columns/organisations-info.html.twig" %} {% endblock %} {% block table_organisations_column_description %} {% include "tables/columns/organisations-description.html.twig" %} {% endblock %} {% block table_organisations_column_status %} {% include "tables/columns/organisations-status.html.twig" %} {% endblock %} {% block table_organisations_column_member_count %} {% include "tables/columns/organisations-member_count.html.twig" %} {% endblock %} {% block table_organisations_column_admin_count %} {% include "tables/columns/organisations-admin_count.html.twig" %} {% endblock %} {% block table_organisations_column_join %} {% include "tables/columns/organisations-join.html.twig" %} {% endblock %} {% block table_organisations_column_actions %} {% include "tables/columns/organisations-actions.html.twig" %} {% endblock %} {% endblock %}