From 92b7dd3335a6572debeacfb5faa82c63a5e67888 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 8 Jun 2018 20:03:25 +0200 Subject: Some minor fixes --- .../sprinkles/admin/templates/pages/user.html.twig | 416 ++++++++++----------- 1 file changed, 208 insertions(+), 208 deletions(-) (limited to 'main/app/sprinkles/admin/templates/pages/user.html.twig') diff --git a/main/app/sprinkles/admin/templates/pages/user.html.twig b/main/app/sprinkles/admin/templates/pages/user.html.twig index 47228fd..37675d7 100644 --- a/main/app/sprinkles/admin/templates/pages/user.html.twig +++ b/main/app/sprinkles/admin/templates/pages/user.html.twig @@ -1,208 +1,208 @@ -{% extends "pages/abstract/dashboard.html.twig" %} - -{% block stylesheets_page %} - - {{ assets.css('css/form-widgets') | raw }} -{% endblock %} - -{# Overrides blocks in head of base template #} -{% block page_title %}{{ translate("USER", 2) }} | {{ user.full_name }}{% endblock %} - -{% block page_description %}{{ translate("USER.INFO_PAGE", {name: user.user_name}) }}{% endblock %} - -{% block body_matter %} - {% block group_box %} - {% endblock %} -
-
-
- {% block user_box %} -
-
-

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

- {% if 'tools' not in tools.hidden %} -
-
- - -
-
- {% endif %} -
-
- {{ user.user_name }} - -

{{ user.full_name }}

-
- {% if user.flag_enabled == 0 %} - - {% endif %} - {% if user.flag_verified == 0 %} - - {% endif %} -
-

{{ user.user_name }}{% if 'group' not in fields.hidden %} • {{ user.group.name }}{% endif %}

- - {% if 'email' not in fields.hidden %} -
- {{ translate("EMAIL") }} -

- - {{ user.email }} -

- {% endif %} - - {% if 'locale' not in fields.hidden %} -
- {{ translate("LOCALE") }} -

- {{ locales[user.locale] }} -

- {% endif %} - - {% block user_profile %}{% endblock %} - - {% if 'roles' not in fields.hidden %} -
- {{ translate("ROLE", 2) }} - -

- {% for role in user.roles %} - {{ role.name }} - {% endfor %} -

- {% endif %} -
-
- {% endblock %} -
-
- {% if 'activities' not in widgets.hidden %} -
- {% block activity_box %} -
-
-

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

- {% include "tables/table-tool-menu.html.twig" %} -
-
- {% include "tables/activities.html.twig" with { - "table" : { - "id" : "table-user-activities" - } - } %} -
-
- {% endblock %} -
- {% endif %} -
- {% if 'permissions' not in widgets.hidden %} -
-
-
-
-

{{ translate('PERMISSION', 2) }} -

- {% include "tables/table-tool-menu.html.twig" %} -
-
- {% include "tables/permissions.html.twig" with { - "table" : { - "id" : "table-permissions", - "columns" : ["via_roles"] - } - } %} -
-
-
-
- {% endif %} -{% endblock %} -{% block scripts_page %} - - - - - {{ assets.js('js/form-widgets') | raw }} - - - {{ assets.js('js/pages/user') | raw }} -{% endblock %} +{% extends "pages/abstract/dashboard.html.twig" %} + +{% block stylesheets_page %} + + {{ assets.css('css/form-widgets') | raw }} +{% endblock %} + +{# Overrides blocks in head of base template #} +{% block page_title %}{{ translate("USER", 2) }} | {{ user.full_name }}{% endblock %} + +{% block page_description %}{{ translate("USER.INFO_PAGE", {name: user.user_name}) }}{% endblock %} + +{% block body_matter %} + {% block group_box %} + {% endblock %} +
+
+
+ {% block user_box %} +
+
+

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

+ {% if 'tools' not in tools.hidden %} +
+
+ + +
+
+ {% endif %} +
+
+ {{ user.user_name }} + +

{{ user.full_name }}

+
+ {% if user.flag_enabled == 0 %} + + {% endif %} + {% if user.flag_verified == 0 %} + + {% endif %} +
+

{{ user.user_name }}{% if 'group' not in fields.hidden %} • {{ user.group.name }}{% endif %}

+ + {% if 'email' not in fields.hidden %} +
+ {{ translate("EMAIL") }} +

+ + {{ user.email }} +

+ {% endif %} + + {% if 'locale' not in fields.hidden %} +
+ {{ translate("LOCALE") }} +

+ {{ locales[user.locale] }} +

+ {% endif %} + + {% block user_profile %}{% endblock %} + + {% if 'roles' not in fields.hidden %} +
+ {{ translate("ROLE", 2) }} + +

+ {% for role in user.roles %} + {{ role.name }} + {% endfor %} +

+ {% endif %} +
+
+ {% endblock %} +
+
+ {% if 'activities' not in widgets.hidden %} +
+ {% block activity_box %} +
+
+

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

+ {% include "tables/table-tool-menu.html.twig" %} +
+
+ {% include "tables/activities.html.twig" with { + "table" : { + "id" : "table-user-activities" + } + } %} +
+
+ {% endblock %} +
+ {% endif %} +
+ {% if 'permissions' not in widgets.hidden %} +
+
+
+
+

{{ translate('PERMISSION', 2) }} +

+ {% include "tables/table-tool-menu.html.twig" %} +
+
+ {% include "tables/permissions.html.twig" with { + "table" : { + "id" : "table-permissions", + "columns" : ["via_roles"] + } + } %} +
+
+
+
+ {% endif %} +{% endblock %} +{% block scripts_page %} + + + + + {{ assets.js('js/form-widgets') | raw }} + + + {{ assets.js('js/pages/user') | raw }} +{% endblock %} -- cgit v1.2.3