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 --- .../admin/templates/tables/activities.html.twig | 160 +++++------ .../admin/templates/tables/groups.html.twig | 148 +++++----- .../admin/templates/tables/permissions.html.twig | 142 +++++----- .../admin/templates/tables/roles.html.twig | 158 +++++------ .../admin/templates/tables/users.html.twig | 314 ++++++++++----------- 5 files changed, 461 insertions(+), 461 deletions(-) (limited to 'main/app/sprinkles/admin/templates/tables') diff --git a/main/app/sprinkles/admin/templates/tables/activities.html.twig b/main/app/sprinkles/admin/templates/tables/activities.html.twig index dce1d99..0da5601 100644 --- a/main/app/sprinkles/admin/templates/tables/activities.html.twig +++ b/main/app/sprinkles/admin/templates/tables/activities.html.twig @@ -1,80 +1,80 @@ -{# This partial template renders a table of user activities, 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 'user' in table.columns %} - - {% endif %} - - - - - -
{{ translate('ACTIVITY.TIME') }} {{ translate('USER') }} {{ translate("DESCRIPTION") }}
-{% endblock %} - -{% block table_cell_templates %} - {# This contains a series of - - - - - {% endverbatim %} -{% endblock %} +{# This partial template renders a table of user activities, 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 'user' in table.columns %} + + {% endif %} + + + + + +
{{ translate('ACTIVITY.TIME') }} {{ translate('USER') }} {{ translate("DESCRIPTION") }}
+{% endblock %} + +{% block table_cell_templates %} + {# This contains a series of + + + + + {% endverbatim %} +{% endblock %} diff --git a/main/app/sprinkles/admin/templates/tables/groups.html.twig b/main/app/sprinkles/admin/templates/tables/groups.html.twig index 8d14e98..e25d4c2 100644 --- a/main/app/sprinkles/admin/templates/tables/groups.html.twig +++ b/main/app/sprinkles/admin/templates/tables/groups.html.twig @@ -1,74 +1,74 @@ -{# This partial template renders a table of groups, 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('GROUP') }} {{ translate("DESCRIPTION") }} {{ translate("ACTIONS") }}
-{% endblock %} - -{% block table_cell_templates %} - {# This contains a series of - - - - - {% endverbatim %} -{% endblock %} +{# This partial template renders a table of groups, 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('GROUP') }} {{ translate("DESCRIPTION") }} {{ translate("ACTIONS") }}
+{% endblock %} + +{% block table_cell_templates %} + {# This contains a series of + + + + + {% endverbatim %} +{% endblock %} diff --git a/main/app/sprinkles/admin/templates/tables/permissions.html.twig b/main/app/sprinkles/admin/templates/tables/permissions.html.twig index 6ff13c6..48f3afa 100644 --- a/main/app/sprinkles/admin/templates/tables/permissions.html.twig +++ b/main/app/sprinkles/admin/templates/tables/permissions.html.twig @@ -1,71 +1,71 @@ -{# 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 %} +{# 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 %} diff --git a/main/app/sprinkles/admin/templates/tables/roles.html.twig b/main/app/sprinkles/admin/templates/tables/roles.html.twig index f8e136b..088052e 100644 --- a/main/app/sprinkles/admin/templates/tables/roles.html.twig +++ b/main/app/sprinkles/admin/templates/tables/roles.html.twig @@ -1,79 +1,79 @@ -{# This partial template renders a table of roles, 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('ROLE') }} {{ translate('DESCRIPTION') }} {{ translate('ACTIONS') }}
-{% endblock %} - -{% block table_cell_templates %} - {# This contains a series of - - - - - {% endverbatim %} -{% endblock %} +{# This partial template renders a table of roles, 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('ROLE') }} {{ translate('DESCRIPTION') }} {{ translate('ACTIONS') }}
+{% endblock %} + +{% block table_cell_templates %} + {# This contains a series of + + + + + {% endverbatim %} +{% endblock %} diff --git a/main/app/sprinkles/admin/templates/tables/users.html.twig b/main/app/sprinkles/admin/templates/tables/users.html.twig index bd9fffe..aae91d0 100644 --- a/main/app/sprinkles/admin/templates/tables/users.html.twig +++ b/main/app/sprinkles/admin/templates/tables/users.html.twig @@ -1,157 +1,157 @@ -{# 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 %} - - - - - {% if 'last_activity' in table.columns %} - - {% endif %} - {% if 'via_roles' in table.columns %} - - {% endif %} - - - - - - -
{{ translate('USER') }} {{ translate("ACTIVITY.LAST") }} {{ translate('PERMISSION.VIA_ROLES') }}{{ translate("STATUS") }} {{ translate("ACTIONS") }}
-{% endblock %} - -{% block table_cell_templates %} - {# This contains a series of - - - - - - - - {% endverbatim %} -{% endblock %} +{# 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 %} + + + + + {% if 'last_activity' in table.columns %} + + {% endif %} + {% if 'via_roles' in table.columns %} + + {% endif %} + + + + + + +
{{ translate('USER') }} {{ translate("ACTIVITY.LAST") }} {{ translate('PERMISSION.VIA_ROLES') }}{{ translate("STATUS") }} {{ translate("ACTIONS") }}
+{% endblock %} + +{% block table_cell_templates %} + {# This contains a series of + + + + + + + + {% endverbatim %} +{% endblock %} -- cgit v1.2.3