{% if AUTH_SCOPE_SUPER_ADMIN in scopes %}
{% if "PATCH" in scopes %}
{% if resultCount >= 1 %}
recharger
{% endif %}
{% if resultCount > 0 %}
recharger tous
{% endif %}
{% endif %}
{% endif %}
{%- macro htmButton_patchSitePage() %}Modifier{%- endmacro %}
{%- macro htmButton_postSitePage() %}Créer{%- endmacro %}
{%- macro htmButton_putimportSitePage() %}Importer{%- endmacro %}
{%- macro htmButton_deleteSitePage() %}Supprimer{%- endmacro %}
{%- macro htmButton_deletefilterSitePage() %}Supprimer{%- endmacro %}
{% if AUTH_SCOPE_SUPER_ADMIN in scopes %}
{% if "PATCH" in scopes %}
{% if resultCount >= 1 %}
recharger
{% endif %}
{% if resultCount > 0 %}
recharger tous
{% endif %}
{% endif %}
{% endif %}
{%- if 'PATCH' in scopes %}
{%- if resultCount > 0 %}
{%- if AUTH_SCOPE_SUPER_ADMIN in scopes %}
{{ htmButton_patchSitePage() }}
{%- endif %}
{%- endif %}
{%- endif %}
{%- if 'POST' in scopes %}
{%- if resultCount >= 1 %}
{{ htmButton_postSitePage() }}
{%- else %}
{{ htmButton_postSitePage() }}
{%- endif %}
{%- endif %}
{%- if AUTH_SCOPE_SUPER_ADMIN in scopes %}
{{ htmButton_putimportSitePage() }}
{%- endif %}
{%- if 'DELETE' in scopes %}
{%- if result is defined %}
{{ htmButton_deleteSitePage() }}
{%- endif %}
{%- endif %}
{%- if 'DELETE' in scopes %}
{%- if result is not defined %}
{%- if AUTH_SCOPE_SUPER_ADMIN in scopes %}
{{ htmButton_deletefilterSitePage() }}
{%- endif %}
{%- endif %}
{%- endif %}