{# 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 %}
| {{translate('ORGANISATION')}} | {% if 'description' in table.columns %}{{translate("DESCRIPTION")}} | {% endif %} {% if 'status' in table.columns %}{{translate("STATUS")}} | {% endif %} {% if checkAccess('view_organisation_field', { 'property' : 'members' }) %}{{translate("ORGANISATION.MEMBER_COUNT")}} | {{translate("ORGANISATION.ADMIN_COUNT")}} | {% endif %} {% if not organisationConfig.combine_action_buttons %} {% if 'join' in table.columns %}{{translate("JOIN")}}/{{translate("LEAVE")}} | {% endif %} {% endif %} {% if 'actions' in table.columns %}{{translate("ACTIONS")}} | {% endif %}
|---|