{% extends "@admin/pages/dashboard.html.twig" %} {% block body_matter %} {% block info_boxes %} {% if hasRole('site-admin') or hasRole('organisations-admin') %}
{% if checkAccess('uri_users') %} {% block info_box_users %}
{{ translate("USER", 2) }} {{counter.users}}
{% endblock %} {% endif %} {% if checkAccess('uri_roles') %} {% block info_box_roles %}
{{ translate("ROLE", 2) }} {{counter.roles}}
{% endblock %} {% endif %} {% if checkAccess('uri_groups') %} {% block info_box_groups %}
{{ translate("GROUP", 2) }} {{counter.groups}}
{% endblock %} {% endif %} {% if checkAccess('uri_organisations') %} {% block info_box_organisations %}
{{ translate("ORGANISATION", 2) }} {{counter.organisations}}
{% endblock %} {% endif %}
{% elseif checkAccess('uri_group', { 'group': current_user.group }) %}
{% block info_box_group %}

{{current_user.group.name}}

{% endblock %} {% block info_box_group_users %}
{{ translate("USER", 2) }} {{current_user.group.users.count}}
{% endblock %}
{% endif %} {% endblock %}
{% if checkAccess('uri_users') or checkAccess('view_system_info') or (hasRole('site-admin') or hasRole('organisations-admin')) %}
{% if checkAccess('uri_users') %}

{{translate("USER.LATEST")}}

{% endif %} {% if (hasRole('site-admin') or hasRole('organisations-admin')) and checkAccess('uri_activities') %} {% block latest_organisations %} {% endblock %} {% endif %} {% if checkAccess('view_system_info') %}

{{translate("SYSTEM_INFO")}}

{{translate("SYSTEM_INFO.UF_VERSION")}}
{{info.version.UF}}
{{translate("SYSTEM_INFO.PHP_VERSION")}}
{{info.version.php}}
{{translate("SYSTEM_INFO.SERVER")}}
{{info.environment.SERVER_SOFTWARE}}
{{translate("SYSTEM_INFO.DB_VERSION")}}
{{info.version.database.type}} {{info.version.database.version}}
{{translate("SYSTEM_INFO.DB_NAME")}}
{{info.database.name}}
{{translate("SYSTEM_INFO.DIRECTORY")}}
{{info.path.project}}
{{translate("SYSTEM_INFO.URL")}}
{{site.uri.public}}
{{translate("SYSTEM_INFO.SPRINKLES")}}
    {% for sprinkle in sprinkles %}
  • {{sprinkle}}
  • {% endfor %}
{% endif %}
{% endif %} {% if checkAccess('uri_activities') %}

{{translate('ACTIVITY', 2)}}

{% include "tables/table-tool-menu.html.twig" %}
{% include "tables/activities.html.twig" with { "table" : { "id" : "table-activities", "columns" : ["user"] } } %}
{% elseif (hasRole('site-admin') or hasRole('organisations-admin')) %}
{{block('latest_organisations')}}
{% elseif checkAccess('view_group_field', { 'group': current_user.group, 'property': 'users' }) %}

{{translate('USER', 2)}}

{% include "tables/table-tool-menu.html.twig" %}
{% include "tables/users.html.twig" with { "table" : { "id" : "table-group-users" } } %}
{% else %}

{{translate("WELCOME", { 'first_name': current_user.first_name })}}

User Avatar
{% endif %}
{% endblock %}