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/permissions.html.twig | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100755 main/app/sprinkles/admin/templates/tables/permissions.html.twig (limited to 'main/app/sprinkles/admin/templates/tables/permissions.html.twig') diff --git a/main/app/sprinkles/admin/templates/tables/permissions.html.twig b/main/app/sprinkles/admin/templates/tables/permissions.html.twig new file mode 100755 index 0000000..92e236a --- /dev/null +++ b/main/app/sprinkles/admin/templates/tables/permissions.html.twig @@ -0,0 +1,66 @@ +{# This partial template renders a table of permissions, 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 %} + + + + + + {% if 'via_roles' in table.columns %} + + {% endif %} + + + + +
{{translate('PERMISSION')}} {{translate('SLUG_CONDITION')}} {{translate('PERMISSION.VIA_ROLES')}}
+{% endblock %} + +{% block table_cell_templates %} + {# This contains a series of + + + + + {% endverbatim %} +{% endblock %} -- cgit v1.2.3