reverted: --- b/core/modules/system/templates/system-modules-uninstall.html.twig +++ a/core/modules/system/templates/system-modules-uninstall.html.twig @@ -1,75 +0,0 @@ -{# -/** - * @file - * Default theme implementation for the modules uninstall page. - * - * Available variables: - * - form: - * - filters: - * - actions: - * - header: Table header containing the following cells: - * - uninstall: A localized string for the title of the 'uninstall' column. - * - name: A localized string for the title of the 'name' column. - * - description: A localized string for the title of the 'description' - * column. - * - modules: Contains multiple module instances. Each module contains: - * - attributes: Attributes on the row. - * - checkbox: A checkbox for uninstalling the module. - * - name: The human-readable name of the module. - * - id: A unqiue id for interacting with the details element. - * - uninstall_id: A unique id for interacting with the checkbox element. - * - description: The description of the module. - * - machine_name: The module's machine name. - * - disabled_header: (optional) A localized string for . - * - disabled_reasons: (optional) A list of reasons why this module cannot be - * uninstalled. - * - * @see template_preprocess_system_modules_uninstall() - * - * @ingroup themeable - */ -#} - -{{ form.filters }} - - - - - - - - - - - {% if modules is not empty %} - {% for module in modules %} - {% set zebra = cycle(['odd', 'even'], loop.index0) %} - - - - - {% endfor %} - {% elseif empty %} - - - - {% endif %} - -
- {{ header.uninstall }} - - {{ header.name }} - - {{ header.description }} -
- {{ module.checkbox }} - - - - {{ module.description }} - {% if module.disabled_header is not empty %} -
{{ module.disabled_header }}{{ module.disabled_reasons }}
- {% endif %} -
{{ empty }}
- -{{ form.actions }} only in patch2: unchanged: --- /dev/null +++ b/core/modules/system/templates/system-modules-uninstall.html.twig @@ -0,0 +1,79 @@ +{# +/** + * @file + * Default theme implementation for the modules uninstall page. + * + * Available variables: + * - form: + * - filters: + * - actions: + * - header: Table header containing the following cells: + * - uninstall: A localized string for the title of the 'uninstall' column. + * - name: A localized string for the title of the 'name' column. + * - description: A localized string for the title of the 'description' + * column. + * - modules: Contains multiple module instances. Each module contains: + * - attributes: Attributes on the row. + * - checkbox: A checkbox for uninstalling the module. + * - name: The human-readable name of the module. + * - id: A unqiue id for interacting with the details element. + * - uninstall_id: A unique id for interacting with the checkbox element. + * - description: The description of the module. + * - machine_name: The module's machine name. + * - disabled_header: (optional) A localized string for . + * - disabled_reasons: (optional) A list of reasons why this module cannot be + * uninstalled. + * + * @see template_preprocess_system_modules_uninstall() + * + * @ingroup themeable + */ +#} + +{{ form.filters }} + + + + + + + + + + + {% if modules is not empty %} + {% for module in modules %} + {% set zebra = cycle(['odd', 'even'], loop.index0) %} + + + + + {% endfor %} + {% elseif empty %} + + + + {% endif %} + +
+ {{ header.uninstall }} + + {{ header.name }} + + {{ header.description }} +
+ {{ module.checkbox }} + + + + {{ module.description }} + {% if module.disabled_header is not empty %} +
{{ module.disabled_header }}{{ module.disabled_reasons }}
+ {% endif %} +
{{ empty }}
+ +{{ form|without( + 'filters', + 'modules', + 'uninstall' +) }}