From cf14306c2b3f82a81f8d56669a71633b4d4b5fce Mon Sep 17 00:00:00 2001 From: marvin-borner@live.com Date: Mon, 16 Apr 2018 21:09:05 +0200 Subject: Main merge to user management system - files are now at /main/public/ --- .../admin/templates/tables/users.html.twig | 149 +++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100755 main/app/sprinkles/admin/templates/tables/users.html.twig (limited to 'main/app/sprinkles/admin/templates/tables/users.html.twig') diff --git a/main/app/sprinkles/admin/templates/tables/users.html.twig b/main/app/sprinkles/admin/templates/tables/users.html.twig new file mode 100755 index 0000000..1cebb47 --- /dev/null +++ b/main/app/sprinkles/admin/templates/tables/users.html.twig @@ -0,0 +1,149 @@ +{# This partial template renders a table of users, to be populated with rows via an AJAX request. + # This extends a generic template for paginated tables. + # + # Note that this template contains a "skeleton" table with an empty table body, and then a block of Handlebars templates which are used + # to render the table cells with the data from the AJAX request. +#} + +{% extends "tables/table-paginated.html.twig" %} + +{% block table %} +
{{translate('USER')}} | + {% if 'last_activity' in table.columns %} +{{translate("ACTIVITY.LAST")}} | + {% endif %} + {% if 'via_roles' in table.columns %} +{{translate('PERMISSION.VIA_ROLES')}} | + {% endif %} +{{translate("STATUS")}} | +{{translate("ACTIONS")}} | +
---|