{% extends "@blockier-templates/pages/user.html.twig" %} {% block tools %}
  • {{translate('EDIT')}}
  • {% if 'password' not in tools.hidden %}
  • {{translate('PASSWORD')}}
  • {% endif %} {% if 'roles' not in tools.hidden %}
  • {{translate('ROLE', 2)}}
  • {% endif %} {% if 'organisations' not in tools.hidden %}
  • {{translate('ORGANISATION', 2)}}
  • {% endif %} {% if 'activate' not in tools.hidden and user.flag_verified == "0" %}
  • {{translate('ACTIVATE')}}
  • {% endif %} {% if 'enable' not in tools.hidden %} {% if user.flag_enabled == "1" %}
  • {{translate('DISABLE')}}
  • {% else %}
  • {{translate('ENABLE')}}
  • {% endif %} {% endif %} {% if 'delete' not in tools.hidden %}
  • {{translate('DELETE')}}
  • {% endif %} {% endblock %} {% block user_box %} {{ parent() }}

    {{translate('USER.ORGANISATIONS')}}

    {% for organisation in user.organisations %}

    {{organisation.name}}
    {{organisation.description}}
    {% if hasRole('site-admin') or hasRole('organisations-admin') -%}
    {% endif -%}

    {% endfor %} {% for organisation in user.pendingOrganisations %}
    {{organisation.name}}
    {{organisation.description}}
    {% if hasRole('site-admin') or hasRole('organisations-admin') -%}
    {% endif -%}

    {% endfor %}

    {% endblock %}