{% extends "pages/abstract/dashboard.html.twig" %} {# Overrides blocks in head of base template #} {% block page_title %}{{ translate("DASHBOARD") }}{% endblock %} {% block page_description %}{% endblock %} {% block body_matter %} {% if checkAccess('uri_users') %}
{{ translate("USER", 2) }} {{counter.users}}
{{ translate("ROLE", 2) }} {{counter.roles}}
{{ translate("GROUP", 2) }} {{counter.groups}}
{% elseif checkAccess('uri_group', { 'group': current_user.group }) %}

{{current_user.group.name}}

{{ translate("USER", 2) }} {{current_user.group.users.count}}
{% endif %}
{% if checkAccess('uri_users') or checkAccess('view_system_info') %}
{% if checkAccess('uri_users') %}

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

{% 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 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 %} {% block scripts_page %} {{ assets.js('js/pages/dashboard') | raw }} {% endblock %}