diff --git a/core/modules/announcements_feed/templates/announcements.html.twig b/core/modules/announcements_feed/templates/announcements.html.twig index d2d8e8adfdb4bc68595db37d687c3da8c295bcd4..10ce2aec3bfa35b369f685c4dddf4860d7e40299 100644 --- a/core/modules/announcements_feed/templates/announcements.html.twig +++ b/core/modules/announcements_feed/templates/announcements.html.twig @@ -20,7 +20,7 @@ <li class="announcement announcement--standard"> <div class="announcement__title"> <a href="{{ announcement.url }}">{{ announcement.title }}</a> - <div class="announcement__date">{{ announcement.datePublishedTimestamp | format_date('short') }}</div> + <div class="announcement__date">{{ announcement.datePublishedTimestamp|format_date('short') }}</div> </div> </li> {% endfor %} diff --git a/core/modules/book/templates/book-export-html.html.twig b/core/modules/book/templates/book-export-html.html.twig index 025762ca12fb919793fa379c14f6c77ab904b8bb..669c6e2bcc629c507fc9796c243c8e26cb29cca4 100644 --- a/core/modules/book/templates/book-export-html.html.twig +++ b/core/modules/book/templates/book-export-html.html.twig @@ -36,11 +36,11 @@ to be exported as printer-friendly HTML. #} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} <div> {% endfor %}{% endif %} {{ contents }} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} </div> {% endfor %}{% endif %} </body> diff --git a/core/modules/config_translation/help_topics/config_translation.overview.html.twig b/core/modules/config_translation/help_topics/config_translation.overview.html.twig index 348efcb916ac239ee78ae6f03f9935256237c1ea..11bf7fd55a966878bde6fb1d4d680cae918dd513 100644 --- a/core/modules/config_translation/help_topics/config_translation.overview.html.twig +++ b/core/modules/config_translation/help_topics/config_translation.overview.html.twig @@ -6,7 +6,7 @@ related: - language.add --- {% set config_translation_link_text %}{% trans %}Configuration translation{% endtrans %}{% endset %} -{% set config_translation_link = render_var(help_route_link(config_translation_link_text, 'config_translation.mapper_list'))%} +{% set config_translation_link = render_var(help_route_link(config_translation_link_text, 'config_translation.mapper_list')) %} {% set config_overview_topic = render_var(help_topic_link('core.config_overview')) %} {% set language_add_topic = render_var(help_topic_link('language.add')) %} <h2>{% trans %}Goal{% endtrans %}</h2> diff --git a/core/modules/media/templates/media-reference-help.html.twig b/core/modules/media/templates/media-reference-help.html.twig index 753ce56ca7de8108f732d6f9f6b23da611539972..910dc4e94beaaae15b55801984630b7a367f6980 100644 --- a/core/modules/media/templates/media-reference-help.html.twig +++ b/core/modules/media/templates/media-reference-help.html.twig @@ -22,7 +22,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend_attributes }}> <span{{ legend_span_attributes.addClass(legend_span_classes) }}>{{ original_label }}</span> </legend> diff --git a/core/modules/media_library/templates/media--media-library.html.twig b/core/modules/media_library/templates/media--media-library.html.twig index 6262e7d5062efd4fd0fad7a4676f2e4caa78acce..da2f8300554961ca8cf64c3c7db39bd3ded473ae 100644 --- a/core/modules/media_library/templates/media--media-library.html.twig +++ b/core/modules/media_library/templates/media--media-library.html.twig @@ -40,7 +40,7 @@ {{ content|without('name') }} </div> {% if not status %} - {{ "unpublished" | t }} + {{ "unpublished"|t }} {% endif %} <div{{ metadata_attributes }}> {{ name }} diff --git a/core/modules/system/templates/fieldset.html.twig b/core/modules/system/templates/fieldset.html.twig index 6a240e0bdc05c85f1a88cb49a8b96ec74e669837..a7092f98b3c73a1e1128f39eef9cf04bc8b30e20 100644 --- a/core/modules/system/templates/fieldset.html.twig +++ b/core/modules/system/templates/fieldset.html.twig @@ -44,7 +44,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend.attributes }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> </legend> diff --git a/core/modules/system/templates/status-report-grouped.html.twig b/core/modules/system/templates/status-report-grouped.html.twig index 8f5481c4df3f29f8fcd5c21348faa82f5b161e7b..2156cb5292a4ac57b1065ef59dd79ab4abdc8175 100644 --- a/core/modules/system/templates/status-report-grouped.html.twig +++ b/core/modules/system/templates/status-report-grouped.html.twig @@ -31,7 +31,7 @@ ] %} <summary{{ create_attribute({'class': summary_classes}) }} role="button"> - {% if requirement.severity_title %} + {% if requirement.severity_title %} <span class="visually-hidden">{{ requirement.severity_title }}</span> {% endif %} {{ requirement.title }} diff --git a/core/modules/system/templates/status-report.html.twig b/core/modules/system/templates/status-report.html.twig index ca9cf2b6a63e6f31cbf9accddd4dc076c2efdddd..6805249ac7a2512508e647b230c44c9b90694e3b 100644 --- a/core/modules/system/templates/status-report.html.twig +++ b/core/modules/system/templates/status-report.html.twig @@ -25,7 +25,7 @@ {% for requirement in group.items %} <details> <summary role="button"> - {% if requirement.severity_title %} + {% if requirement.severity_title %} <span class="visually-hidden">{{ requirement.severity_title }}</span> {% endif %} {{ requirement.title }} diff --git a/core/modules/system/templates/system-modules-details.html.twig b/core/modules/system/templates/system-modules-details.html.twig index 24de0503c4bce16b1d625b188c9c8439b7bdb866..177ae2b463c5a3fc4ad6e946e5280d57bdccba10 100644 --- a/core/modules/system/templates/system-modules-details.html.twig +++ b/core/modules/system/templates/system-modules-details.html.twig @@ -48,15 +48,15 @@ <div class="details-wrapper"> <div class="details-description"> <div class="requirements"> - <div class="admin-requirements">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name }) }}</div> + <div class="admin-requirements">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name}) }}</div> {% if module.version %} - <div class="admin-requirements">{{ 'Version: @module-version'|t({'@module-version': module.version }) }}</div> + <div class="admin-requirements">{{ 'Version: @module-version'|t({'@module-version': module.version}) }}</div> {% endif %} {% if module.requires %} - <div class="admin-requirements">{{ 'Requires: @module-list'|t({'@module-list': module.requires }) }}</div> + <div class="admin-requirements">{{ 'Requires: @module-list'|t({'@module-list': module.requires}) }}</div> {% endif %} {% if module.required_by %} - <div class="admin-requirements">{{ 'Required by: @module-list'|t({'@module-list': module.required_by }) }}</div> + <div class="admin-requirements">{{ 'Required by: @module-list'|t({'@module-list': module.required_by}) }}</div> {% endif %} </div> {% if module.links %} diff --git a/core/modules/system/templates/system-modules-uninstall.html.twig b/core/modules/system/templates/system-modules-uninstall.html.twig index 7b78a7951fddceffc51ec0cf92aa68b17f27ca31..47275aacfa95b9304b34e3e3309e910ce64e10c7 100644 --- a/core/modules/system/templates/system-modules-uninstall.html.twig +++ b/core/modules/system/templates/system-modules-uninstall.html.twig @@ -56,7 +56,7 @@ <li>{{ reason }}</li> {%- endfor -%} {%- if module.required_by -%} - <li>{{ 'Required by: @module-list'|t({'@module-list': module.required_by|safe_join(', ') }) }}</li> + <li>{{ 'Required by: @module-list'|t({'@module-list': module.required_by|safe_join(', ')}) }}</li> {%- endif -%} </ul> </div> diff --git a/core/modules/system/templates/system-themes-page.html.twig b/core/modules/system/templates/system-themes-page.html.twig index aad558707626ddd807a8e65e89f29e565cc739dc..68d979f55f93692fb45f8bb549eaa3133c24f541 100644 --- a/core/modules/system/templates/system-themes-page.html.twig +++ b/core/modules/system/templates/system-themes-page.html.twig @@ -65,7 +65,7 @@ <div class="theme-info__description">{{ theme.description }}</div> {% if theme.module_dependencies %} <div class="theme-info__requires"> - {{ 'Requires: @module_dependencies'|t({ '@module_dependencies': theme.module_dependencies|render }) }} + {{ 'Requires: @module_dependencies'|t({'@module_dependencies': theme.module_dependencies|render}) }} </div> {% endif %} {# Display operation links if the theme is compatible. #} diff --git a/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig b/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig index 1422ee8e12cc0a0b1efbd1b150cced2700f5fb59..957e400405929e769ef1bf49d03943483676f693 100644 --- a/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig +++ b/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig @@ -16,4 +16,3 @@ related: <li>{% trans %}The <em>My recent content</em> tab on the <em>Recent content</em> page (for logged-in users) limits the list to content created or commented on by the user viewing the page.{% endtrans %}</li> <li>{% trans %}The <em>Activity</em> tab on a user profile shows the same list for the user whose profile is being viewed.{% endtrans %}</li> </ul> - diff --git a/core/modules/views/templates/views-view-grid-responsive.html.twig b/core/modules/views/templates/views-view-grid-responsive.html.twig index d36a1bf722897d1e9ae49d0434f88162b79f4998..5d6e66d497146978a7cf8f905c472c89d8b1b067 100644 --- a/core/modules/views/templates/views-view-grid-responsive.html.twig +++ b/core/modules/views/templates/views-view-grid-responsive.html.twig @@ -35,9 +35,9 @@ %} {% set responsive_grid_styles = [ - '--views-responsive-grid--column-count:' ~ options.columns ~ ';', - '--views-responsive-grid--cell-min-width:' ~ options.cell_min_width ~ 'px;', - '--views-responsive-grid--layout-gap:' ~ options.grid_gutter ~ 'px;', + '--views-responsive-grid--column-count:' ~ options.columns ~ ';', + '--views-responsive-grid--cell-min-width:' ~ options.cell_min_width ~ 'px;', + '--views-responsive-grid--layout-gap:' ~ options.grid_gutter ~ 'px;', ] %} diff --git a/core/modules/views/templates/views-view-summary-unformatted.html.twig b/core/modules/views/templates/views-view-summary-unformatted.html.twig index 15b955b57c304e89dfd28095da0c5dbe9a8628f7..b28747e7f5b14db3838cf3209a331a171c94a179 100644 --- a/core/modules/views/templates/views-view-summary-unformatted.html.twig +++ b/core/modules/views/templates/views-view-summary-unformatted.html.twig @@ -20,7 +20,7 @@ * @ingroup themeable */ #} -{% for row in rows %} +{% for row in rows %} {{ options.inline ? '<span' : '<div' }} > {% if row.separator -%} {{ row.separator }} diff --git a/core/profiles/demo_umami/themes/umami/components/badge/badge.twig b/core/profiles/demo_umami/themes/umami/components/badge/badge.twig index 7b6743606b61f960826c8896e0e9c69c3867df79..c926d3b863a42ba548ee84c11bcccd27c0d1b92b 100644 --- a/core/profiles/demo_umami/themes/umami/components/badge/badge.twig +++ b/core/profiles/demo_umami/themes/umami/components/badge/badge.twig @@ -1,4 +1,4 @@ -<div{{attributes.addClass('umami-badge')}}> +<div{{ attributes.addClass('umami-badge') }}> <div class="umami-badge__container"> {% if icon %} <div class="umami-badge__icon"> diff --git a/core/profiles/demo_umami/themes/umami/components/card/card.twig b/core/profiles/demo_umami/themes/umami/components/card/card.twig index 3da4f9aac917382b5a4c348ec12e02d38b24981e..faae000fc10c06b691d2e2bbaebab7308f7ba51a 100644 --- a/core/profiles/demo_umami/themes/umami/components/card/card.twig +++ b/core/profiles/demo_umami/themes/umami/components/card/card.twig @@ -1,5 +1,5 @@ -<{{html_tag|default('article')}}{{attributes.addClass('umami-card')}}> +<{{ html_tag|default('article') }}{{ attributes.addClass('umami-card') }}> <div class="umami-card__wrapper"> {% block content %}{% endblock %} </div> -</{{html_tag|default('article')}}> +</{{ html_tag|default('article') }}> diff --git a/core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig b/core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig index 43532d748f507f77ee3f9e585b0a77a63457bef7..34907804ed2d1af46d0587286f1aeb03a25c236a 100644 --- a/core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig +++ b/core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig @@ -1,4 +1,4 @@ -<div{{attributes.addClass('footer-block')}}> +<div{{ attributes.addClass('footer-block') }}> <div class="footer-block__wrapper"> {% block image %} {% if image %} @@ -11,4 +11,4 @@ {% block content %}{% endblock %} </div> </div> -</div> \ No newline at end of file +</div> diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig index 3744839b6b55b85357f2846f2d12c3c47ec1435b..e704ff301a4af456fe2f542cf3397fc7390fe929 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/form/fieldset.html.twig @@ -41,7 +41,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend.attributes }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> </legend> diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/layout/book-export-html.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/layout/book-export-html.html.twig index b7525f7efa88263beed101cbe8e0dcd4377ab5a8..29c27cc2611378962298093b2048520b619666b1 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/layout/book-export-html.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/layout/book-export-html.html.twig @@ -34,11 +34,11 @@ to be exported as printer-friendly HTML. #} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} <div class="section-{{ i }}"> {% endfor %}{% endif %} {{ contents }} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} </div> {% endfor %}{% endif %} </body> diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/media-library/media--media-library.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/media-library/media--media-library.html.twig index e88635424fc07f47e181e5e894427f9e931c7bc8..45a72fce39477866cf38f360ffcb5999f5681210 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/media-library/media--media-library.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/media-library/media--media-library.html.twig @@ -44,7 +44,7 @@ {{ content|without('name') }} </div> {% if not status %} - <div class="media-library-item__status">{{ "unpublished" | t }}</div> + <div class="media-library-item__status">{{ "unpublished"|t }}</div> {% endif %} <div{{ metadata_attributes.addClass('media-library-item__attributes') }}> <div class="media-library-item__name"> diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view-summary-unformatted.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view-summary-unformatted.html.twig index 151734e948eea2fbb1c29261a0c169c1cd49581e..975460de2d7b0794a687c9dcfd5b3d2bf0e7cc6a 100644 --- a/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view-summary-unformatted.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view-summary-unformatted.html.twig @@ -18,7 +18,7 @@ * @see template_preprocess_views_view_summary_unformatted() */ #} -{% for row in rows %} +{% for row in rows %} {{ options.inline ? '<span' : '<div' }} class="views-summary views-summary-unformatted"> {% if row.separator -%} {{ row.separator }} diff --git a/core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig b/core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig index b99605d9fb382040022d1b23119d7009ca467adf..2d4c05f02ac7b895eb4020bbb9a817fecbfa4671 100644 --- a/core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/components/banner-block/block--bundle--banner-block.html.twig @@ -35,11 +35,11 @@ ] %} -<div{{attributes.addClass(classes)}}> +<div{{ attributes.addClass(classes) }}> <div class="banner-block__inner"> {{ title_prefix }} {% if label %} - <h2{{title_attributes}}>{{ label }}</h2> + <h2{{ title_attributes }}>{{ label }}</h2> {% endif %} {{ title_suffix }} {% block content %} diff --git a/core/profiles/demo_umami/themes/umami/templates/components/navigation/menu--main.html.twig b/core/profiles/demo_umami/themes/umami/templates/components/navigation/menu--main.html.twig index 185dccab32ebaa2105ee5ff5589ed90105424d24..13d09785290d795f3886d8b2ab74ad077b8b5810 100644 --- a/core/profiles/demo_umami/themes/umami/templates/components/navigation/menu--main.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/components/navigation/menu--main.html.twig @@ -46,7 +46,7 @@ %} {% if items %} {% if menu_level == 0 %} - <ul{{ attributes.addClass(menu_classes).setAttribute('data-drupal-selector','menu-main') }}> {# 1. #} + <ul{{ attributes.addClass(menu_classes).setAttribute('data-drupal-selector', 'menu-main') }}> {# 1. #} {% else %} <ul{{ attributes.removeClass(menu_classes).addClass(submenu_classes) }}> {# 1. #} {% endif %} diff --git a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common-alt.html.twig b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common-alt.html.twig index ed2ed5736f6ff0c2307ba03f3cbb3ddc000c71e2..e5893fb436ae5874e67e7f138210b92ff5371a09 100644 --- a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common-alt.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common-alt.html.twig @@ -95,7 +95,7 @@ url, } only %} {% block content %} - <div{{content_attributes.addClass('umami-card__content')}}> + <div{{ content_attributes.addClass('umami-card__content') }}> {{ content }} </div> {% include "umami:title" with { diff --git a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig index 4e5440b7327b622106e4545698ea5d289d4f7e23..95a7b5db733392862dc5471b0df6fe3e2e182411 100644 --- a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig @@ -106,7 +106,7 @@ a11y: label, extra_classes: 'umami-card__read-more' } only %} - <div{{content_attributes.addClass('umami-card__content')}}> + <div{{ content_attributes.addClass('umami-card__content') }}> {{ content }} </div> {% endblock %} diff --git a/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig b/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig index 04d0a33f776560ab109911ba02c72c0d480288c3..a0b57f79e1cb3ad13c0568b947338a81d777354c 100644 --- a/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig @@ -100,7 +100,7 @@ title_prefix, title_suffix, } only %} - <div{{content_attributes.addClass('umami-card__content')}}> + <div{{ content_attributes.addClass('umami-card__content') }}> {{ content }} </div> {% include "umami:read-more" with { diff --git a/core/themes/claro/templates/admin/system-modules-details.html.twig b/core/themes/claro/templates/admin/system-modules-details.html.twig index d2acf38540117a024dfc02334dcbbfcf0d619c79..06ce7022e99326e874178a0cf60b552738f116e8 100644 --- a/core/themes/claro/templates/admin/system-modules-details.html.twig +++ b/core/themes/claro/templates/admin/system-modules-details.html.twig @@ -47,15 +47,15 @@ <div class="claro-details__wrapper module-details__wrapper"> <div class="module-details__description"> <div class="module-details__requirements"> - <div class="module-details__requirement">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name }) }}</div> + <div class="module-details__requirement">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name}) }}</div> {% if module.version %} - <div class="module-details__requirement">{{ 'Version: @module-version'|t({'@module-version': module.version }) }}</div> + <div class="module-details__requirement">{{ 'Version: @module-version'|t({'@module-version': module.version}) }}</div> {% endif %} {% if module.requires %} - <div class="module-details__requirement">{{ 'Requires: @module-list'|t({'@module-list': module.requires }) }}</div> + <div class="module-details__requirement">{{ 'Requires: @module-list'|t({'@module-list': module.requires}) }}</div> {% endif %} {% if module.required_by %} - <div class="module-details__requirement">{{ 'Required by: @module-list'|t({'@module-list': module.required_by }) }}</div> + <div class="module-details__requirement">{{ 'Required by: @module-list'|t({'@module-list': module.required_by}) }}</div> {% endif %} </div> {% if module.links %} diff --git a/core/themes/claro/templates/classy/layout/book-export-html.html.twig b/core/themes/claro/templates/classy/layout/book-export-html.html.twig index b7525f7efa88263beed101cbe8e0dcd4377ab5a8..29c27cc2611378962298093b2048520b619666b1 100644 --- a/core/themes/claro/templates/classy/layout/book-export-html.html.twig +++ b/core/themes/claro/templates/classy/layout/book-export-html.html.twig @@ -34,11 +34,11 @@ to be exported as printer-friendly HTML. #} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} <div class="section-{{ i }}"> {% endfor %}{% endif %} {{ contents }} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} </div> {% endfor %}{% endif %} </body> diff --git a/core/themes/claro/templates/classy/views/views-view-summary-unformatted.html.twig b/core/themes/claro/templates/classy/views/views-view-summary-unformatted.html.twig index 151734e948eea2fbb1c29261a0c169c1cd49581e..975460de2d7b0794a687c9dcfd5b3d2bf0e7cc6a 100644 --- a/core/themes/claro/templates/classy/views/views-view-summary-unformatted.html.twig +++ b/core/themes/claro/templates/classy/views/views-view-summary-unformatted.html.twig @@ -18,7 +18,7 @@ * @see template_preprocess_views_view_summary_unformatted() */ #} -{% for row in rows %} +{% for row in rows %} {{ options.inline ? '<span' : '<div' }} class="views-summary views-summary-unformatted"> {% if row.separator -%} {{ row.separator }} diff --git a/core/themes/claro/templates/details.html.twig b/core/themes/claro/templates/details.html.twig index 1256f86e6b27a6b37aa2c57e3aa0a52d56a22128..af49cfd738bcfb05c3b19a720eca2083a4a63236 100644 --- a/core/themes/claro/templates/details.html.twig +++ b/core/themes/claro/templates/details.html.twig @@ -41,7 +41,7 @@ 'claro-details__content', accordion ? 'claro-details__content--accordion', accordion_item ? 'claro-details__content--accordion-item', - element['#module_package_listing'] ? 'claro-details__content--package-listing', + element['#module_package_listing'] ? 'claro-details__content--package-listing', ] %} <details{{ attributes.addClass(classes) }}> @@ -53,7 +53,7 @@ required ? 'form-required', accordion ? 'claro-details__summary--accordion', accordion_item ? 'claro-details__summary--accordion-item', - element['#module_package_listing'] ? 'claro-details__summary--package-listing', + element['#module_package_listing'] ? 'claro-details__summary--package-listing', ] %} diff --git a/core/themes/claro/templates/entity-add-list.html.twig b/core/themes/claro/templates/entity-add-list.html.twig index a4ba89cd40196b2e5f0f0d1e9ac426f2672313c5..4af8809240b0d9b812849bb5d698ab314fec49a9 100644 --- a/core/themes/claro/templates/entity-add-list.html.twig +++ b/core/themes/claro/templates/entity-add-list.html.twig @@ -29,7 +29,7 @@ #} {% set bundle_attributes = bundle.add_link.url.getOption('attributes') ?: {} %} {% set link_attributes = create_attribute(bundle_attributes).addClass('admin-item__link') %} - <div{{ create_attribute({ class: item_classes }) }}> + <div{{ create_attribute({class: item_classes}) }}> <dt class="admin-item__title"> <a href="{{ bundle.add_link.url }}"{{ link_attributes|without('href') }}> {{ bundle.add_link.text }} diff --git a/core/themes/claro/templates/fieldset.html.twig b/core/themes/claro/templates/fieldset.html.twig index d6c87070e9976ca6a3d25eb81ef80220e8da0bdf..2e94e5b7320982925b32642508833a0fe3e66977 100644 --- a/core/themes/claro/templates/fieldset.html.twig +++ b/core/themes/claro/templates/fieldset.html.twig @@ -65,7 +65,7 @@ %} <fieldset{{ attributes.addClass(classes) }}> - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} {% if legend.title %} <legend{{ legend.attributes.addClass(legend_classes) }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> diff --git a/core/themes/claro/templates/filter/filter-tips.html.twig b/core/themes/claro/templates/filter/filter-tips.html.twig index 665b56798eedfce5cdfb53c0b9abe30ba8d0ec81..b2403bf25dbae03ba144b4672732d035bd9da72f 100644 --- a/core/themes/claro/templates/filter/filter-tips.html.twig +++ b/core/themes/claro/templates/filter/filter-tips.html.twig @@ -41,7 +41,7 @@ {% endif %} {% if tip.list|length %} - <ul class="filter-tips {{ long ? 'filter-tips--long' : 'filter-tips--short'}}"> + <ul class="filter-tips {{ long ? 'filter-tips--long' : 'filter-tips--short' }}"> {% for item in tip.list %} {% set item_classes = [ diff --git a/core/themes/claro/templates/form-element.html.twig b/core/themes/claro/templates/form-element.html.twig index 3991b26efff844ff082648c050487741df295053..1dbf847b7b3a4a7a39cdd28661107bcf7aa9735a 100644 --- a/core/themes/claro/templates/form-element.html.twig +++ b/core/themes/claro/templates/form-element.html.twig @@ -35,7 +35,7 @@ {{ label }} {% endif %} {% if prefix is not empty %} - <span class="form-item__prefix{{disabled == 'disabled' ? ' is-disabled'}}">{{ prefix }}</span> + <span class="form-item__prefix{{ disabled == 'disabled' ? ' is-disabled' }}">{{ prefix }}</span> {% endif %} {% if description_display == 'before' and description.content %} <div{{ description.attributes.addClass(description_classes) }}> @@ -44,7 +44,7 @@ {% endif %} {{ children }} {% if suffix is not empty %} - <span class="form-item__suffix{{disabled == 'disabled' ? ' is-disabled'}}">{{ suffix }}</span> + <span class="form-item__suffix{{ disabled == 'disabled' ? ' is-disabled' }}">{{ suffix }}</span> {% endif %} {% if label_display == 'after' %} {{ label }} diff --git a/core/themes/claro/templates/form/checkboxes.html.twig b/core/themes/claro/templates/form/checkboxes.html.twig index b7bbb9148ff2d52458d39f177a3468414c54bc6b..71f6fb584a58e2481c9c1c7e600d38afc2e7cc57 100644 --- a/core/themes/claro/templates/form/checkboxes.html.twig +++ b/core/themes/claro/templates/form/checkboxes.html.twig @@ -12,4 +12,4 @@ @todo: remove this file once https://www.drupal.org/node/1819284 is resolved. This is identical to core/modules/system/templates/container.html.twig #} -<div{{ attributes.addClass('form-checkboxes','form-boolean-group') }}>{{ children }}</div> +<div{{ attributes.addClass('form-checkboxes', 'form-boolean-group') }}>{{ children }}</div> diff --git a/core/themes/claro/templates/media-library/media--media-library.html.twig b/core/themes/claro/templates/media-library/media--media-library.html.twig index b1f479f87c340a0efed4c791b3f21349f329b162..777378af91a4a4ab11cb62de398e92a831c17156 100644 --- a/core/themes/claro/templates/media-library/media--media-library.html.twig +++ b/core/themes/claro/templates/media-library/media--media-library.html.twig @@ -44,7 +44,7 @@ {{ content|without('name') }} </div> {% if not status %} - <div class="media-library-item__status">{{ "unpublished" | t }}</div> + <div class="media-library-item__status">{{ "unpublished"|t }}</div> {% endif %} <div{{ metadata_attributes.addClass('media-library-item__attributes') }}> <div class="media-library-item__name"> diff --git a/core/themes/claro/templates/node-add-list.html.twig b/core/themes/claro/templates/node-add-list.html.twig index 6024608b4fdd3f297518a2566558d64bd96ef35f..87826d4ca35a44cfd3432a40be56311b139c0ec5 100644 --- a/core/themes/claro/templates/node-add-list.html.twig +++ b/core/themes/claro/templates/node-add-list.html.twig @@ -21,5 +21,5 @@ {% set create_content = path('node.type_add') %} {% - set add_bundle_message = 'You have not created any content types yet. Go to the <a href="@create-content">content type creation page</a> to add a new content type.'|t({ '@create-content': create_content }) + set add_bundle_message = 'You have not created any content types yet. Go to the <a href="@create-content">content type creation page</a> to add a new content type.'|t({'@create-content': create_content}) %} diff --git a/core/themes/claro/templates/status-report-grouped.html.twig b/core/themes/claro/templates/status-report-grouped.html.twig index 595cea1c1a2c467a80ff8c973f42ae23eb3df0fe..4d0b47f050fb54d32e3ef16a7a7d2fbcf8dce17a 100644 --- a/core/themes/claro/templates/status-report-grouped.html.twig +++ b/core/themes/claro/templates/status-report-grouped.html.twig @@ -33,7 +33,7 @@ ] %} <div{{ create_attribute({'class': summary_classes}) }} role="button"> - {% if requirement.severity_title %} + {% if requirement.severity_title %} <span class="visually-hidden">{{ requirement.severity_title }}</span> {% endif %} {{ requirement.title }} diff --git a/core/themes/claro/templates/system-themes-page.html.twig b/core/themes/claro/templates/system-themes-page.html.twig index 36d958dd365582e4bdec7ae49466f821f260bdb7..8a7eaf2f4a567740d7a542c052c1f6908c73e45b 100644 --- a/core/themes/claro/templates/system-themes-page.html.twig +++ b/core/themes/claro/templates/system-themes-page.html.twig @@ -100,7 +100,7 @@ <div class="card__footer"> {% if theme.module_dependencies %} <div class="theme-info__requires"> - {{ 'Requires: @module_dependencies'|t({ '@module_dependencies': theme.module_dependencies|render }) }} + {{ 'Requires: @module_dependencies'|t({'@module_dependencies': theme.module_dependencies|render}) }} </div> {% endif %} {# Display operation links only if the theme is compatible. #} diff --git a/core/themes/claro/templates/views/views-ui-expose-filter-form.html.twig b/core/themes/claro/templates/views/views-ui-expose-filter-form.html.twig index afd6da1f456f32d145d27131dda35a7de401e365..cbbe227d2fe00a612f29e123086ab3ac24435493 100644 --- a/core/themes/claro/templates/views/views-ui-expose-filter-form.html.twig +++ b/core/themes/claro/templates/views/views-ui-expose-filter-form.html.twig @@ -76,8 +76,6 @@ </div> {% endif %} - - {{ form.admin_label }} {{ form.more }} diff --git a/core/themes/olivero/templates/block/block--page-title-block.html.twig b/core/themes/olivero/templates/block/block--page-title-block.html.twig index 1cf7bcb0e982a7a97656c81c90e8d2984585806d..6a8678369e2bb523d7cc3674b385424ead5d2082 100644 --- a/core/themes/olivero/templates/block/block--page-title-block.html.twig +++ b/core/themes/olivero/templates/block/block--page-title-block.html.twig @@ -41,7 +41,6 @@ ] %} - <div{{ attributes.addClass(classes) }}> {{ title_prefix }} {{ content }} diff --git a/core/themes/olivero/templates/content/search-result.html.twig b/core/themes/olivero/templates/content/search-result.html.twig index ae2207e3dfacb4f97ce615b2691e30e847ea4873..b73d133a443448b9ed3bf57bb282db1735df2113 100644 --- a/core/themes/olivero/templates/content/search-result.html.twig +++ b/core/themes/olivero/templates/content/search-result.html.twig @@ -58,12 +58,12 @@ {{ attach_library('olivero/search-results') }} {% if info_split %} <div class="search-result__meta"> - {% if info_split.user %} + {% if info_split.user %} <span> {{ 'By'|t }} {% apply spaceless %}<span class="search-result__author">{{ info_split.user }}</span>{% endapply %} </span> {% endif %} - {% if info_date %} + {% if info_date %} <span class="search-result__date">, {{ info_date }}</span> {% endif %} </div> diff --git a/core/themes/olivero/templates/filter/filter-tips.html.twig b/core/themes/olivero/templates/filter/filter-tips.html.twig index 665b56798eedfce5cdfb53c0b9abe30ba8d0ec81..b2403bf25dbae03ba144b4672732d035bd9da72f 100644 --- a/core/themes/olivero/templates/filter/filter-tips.html.twig +++ b/core/themes/olivero/templates/filter/filter-tips.html.twig @@ -41,7 +41,7 @@ {% endif %} {% if tip.list|length %} - <ul class="filter-tips {{ long ? 'filter-tips--long' : 'filter-tips--short'}}"> + <ul class="filter-tips {{ long ? 'filter-tips--long' : 'filter-tips--short' }}"> {% for item in tip.list %} {% set item_classes = [ diff --git a/core/themes/olivero/templates/form/fieldset.html.twig b/core/themes/olivero/templates/form/fieldset.html.twig index 9efc4e5a70fe0c17b5e1cce4928f44df502bddb5..a41ea257880cc9069795c336b4e45676e1493488 100644 --- a/core/themes/olivero/templates/form/fieldset.html.twig +++ b/core/themes/olivero/templates/form/fieldset.html.twig @@ -68,7 +68,7 @@ %} <fieldset{{ attributes.addClass(classes) }}> - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} {% if legend.title %} <legend{{ legend.attributes.addClass(legend_classes) }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> diff --git a/core/themes/olivero/templates/includes/get-started.html.twig b/core/themes/olivero/templates/includes/get-started.html.twig index fd9600cb9eebacbc770d82e90db15310ad149ac6..df9580d93ea422b108867e04d12c9515139d654e 100644 --- a/core/themes/olivero/templates/includes/get-started.html.twig +++ b/core/themes/olivero/templates/includes/get-started.html.twig @@ -14,7 +14,7 @@ {% set drupal_community = 'https://www.drupal.org/community' %} {% set drupal_values = 'https://www.drupal.org/about/values-and-principles' %} {% set drupal_user_guide = 'https://www.drupal.org/docs/user_guide/en/index.html' %} -{% set create_content = path('node.add_page') %} +{% set create_content = path('node.add_page') %} {% set drupal_extend = 'https://www.drupal.org/docs/extending-drupal' %} {% set drupal_global_training_days = 'https://groups.drupal.org/global-training-days' %} {% set drupal_events = 'https://www.drupal.org/community/events' %} diff --git a/core/themes/olivero/templates/layout/book-export-html.html.twig b/core/themes/olivero/templates/layout/book-export-html.html.twig index b7525f7efa88263beed101cbe8e0dcd4377ab5a8..29c27cc2611378962298093b2048520b619666b1 100644 --- a/core/themes/olivero/templates/layout/book-export-html.html.twig +++ b/core/themes/olivero/templates/layout/book-export-html.html.twig @@ -34,11 +34,11 @@ to be exported as printer-friendly HTML. #} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} <div class="section-{{ i }}"> {% endfor %}{% endif %} {{ contents }} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} </div> {% endfor %}{% endif %} </body> diff --git a/core/themes/olivero/templates/layout/html.html.twig b/core/themes/olivero/templates/layout/html.html.twig index 3aeb51968cd01102db6e1a8d88aa20277372e03a..5dd70acf842a6e83743fe0fc14011213f5127938 100644 --- a/core/themes/olivero/templates/layout/html.html.twig +++ b/core/themes/olivero/templates/layout/html.html.twig @@ -40,7 +40,7 @@ <title>{{ head_title|safe_join(' | ') }}</title> <css-placeholder token="{{ placeholder_token }}"> <js-placeholder token="{{ placeholder_token }}"> - {% include '@olivero/includes/preload.twig' with { olivero_path: olivero_path } only %} + {% include '@olivero/includes/preload.twig' with {olivero_path: olivero_path} only %} {{ noscript_styles }} </head> <body{{ attributes.addClass(body_classes) }}> diff --git a/core/themes/olivero/templates/navigation/menu--primary-menu.html.twig b/core/themes/olivero/templates/navigation/menu--primary-menu.html.twig index cbc13efb0896a24b0809afe925247d43aad32c18..1b744e272722da87a6a6a7063446c76dc713209d 100644 --- a/core/themes/olivero/templates/navigation/menu--primary-menu.html.twig +++ b/core/themes/olivero/templates/navigation/menu--primary-menu.html.twig @@ -76,13 +76,13 @@ ] %} - <li{{ item.attributes.addClass(item_classes).setAttribute('data-drupal-selector', is_top_level_menu and item.below ? 'primary-nav-menu-item-has-children': false) }}> + <li{{ item.attributes.addClass(item_classes).setAttribute('data-drupal-selector', is_top_level_menu and item.below ? 'primary-nav-menu-item-has-children' : false) }}> {# A unique HTML ID should be used, but that isn't available through Twig yet, so the |clean_id filter is used for now. @see https://www.drupal.org/project/drupal/issues/3115445 #} - {% set aria_id = (aria_id ~ loop.index )|clean_id %} + {% set aria_id = (aria_id ~ loop.index)|clean_id %} {% set link_title %} <span class="primary-nav__menu-link-inner primary-nav__menu-link-inner--level-{{ menu_level + 1 }}">{{ item.title }}</span> {% endset %} diff --git a/core/themes/olivero/templates/navigation/menu--secondary-menu.html.twig b/core/themes/olivero/templates/navigation/menu--secondary-menu.html.twig index 602ae632916b623585448ccbff1c72fd3d8cc8e5..a1fc87b9f442abf2d13b95c461e7f93db431978a 100644 --- a/core/themes/olivero/templates/navigation/menu--secondary-menu.html.twig +++ b/core/themes/olivero/templates/navigation/menu--secondary-menu.html.twig @@ -66,7 +66,7 @@ %} <li{{ item.attributes.addClass(item_classes) }}> - {{ link(item.title, item.url, { 'class': link_classes }) }} + {{ link(item.title, item.url, {'class': link_classes}) }} {% if item.below %} {{ menus.menu_links(item.below, attributes, menu_level + 1) }} diff --git a/core/themes/olivero/templates/navigation/menu.html.twig b/core/themes/olivero/templates/navigation/menu.html.twig index a28693ce6c371fd67cab2295963693a845107d38..136cabf2d99dbd167ff9bcb2b1e2163cae04dcc3 100644 --- a/core/themes/olivero/templates/navigation/menu.html.twig +++ b/core/themes/olivero/templates/navigation/menu.html.twig @@ -69,9 +69,9 @@ Twig yet, so the |clean_id filter is used for now. @see https://www.drupal.org/project/drupal/issues/3115445 #} - {% set aria_id = (item.title ~ '-submenu-' ~ loop.index )|clean_id %} + {% set aria_id = (item.title ~ '-submenu-' ~ loop.index)|clean_id %} - {{ link(item.title, item.url, { 'class': link_classes }) }} + {{ link(item.title, item.url, {'class': link_classes}) }} {% if item.below %} {{ menus.menu_links(item.below, attributes, menu_level + 1) }} diff --git a/core/themes/stable9/templates/admin/status-report-grouped.html.twig b/core/themes/stable9/templates/admin/status-report-grouped.html.twig index 1914c169fc5bdfcd3935fc93b42e89e289ddd062..a5bba7a4e9373dce527a75ed0325a4c772c46686 100644 --- a/core/themes/stable9/templates/admin/status-report-grouped.html.twig +++ b/core/themes/stable9/templates/admin/status-report-grouped.html.twig @@ -31,7 +31,7 @@ ] %} <summary{{ create_attribute({'class': summary_classes}) }} role="button"> - {% if requirement.severity_title %} + {% if requirement.severity_title %} <span class="visually-hidden">{{ requirement.severity_title }}</span> {% endif %} {{ requirement.title }} diff --git a/core/themes/stable9/templates/admin/status-report.html.twig b/core/themes/stable9/templates/admin/status-report.html.twig index 39f87db353c34fa86e32e07c4a4c851ee716e1c0..bb581e63d98093dd7042a07a1f73e75f93a899de 100644 --- a/core/themes/stable9/templates/admin/status-report.html.twig +++ b/core/themes/stable9/templates/admin/status-report.html.twig @@ -23,7 +23,7 @@ {% for requirement in group.items %} <details> <summary role="button"> - {% if requirement.severity_title %} + {% if requirement.severity_title %} <span class="visually-hidden">{{ requirement.severity_title }}</span> {% endif %} {{ requirement.title }} diff --git a/core/themes/stable9/templates/admin/system-modules-details.html.twig b/core/themes/stable9/templates/admin/system-modules-details.html.twig index 21397f6e36314f7a82d2e01ad8d4e0e9d7e534df..048780d38f641b2e91fcaaaeeef86072ad5ccae5 100644 --- a/core/themes/stable9/templates/admin/system-modules-details.html.twig +++ b/core/themes/stable9/templates/admin/system-modules-details.html.twig @@ -46,15 +46,15 @@ <div class="details-wrapper"> <div class="details-description"> <div class="requirements"> - <div class="admin-requirements">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name }) }}</div> + <div class="admin-requirements">{{ 'Machine name: <span dir="ltr" class="table-filter-text-source">@machine-name</span>'|t({'@machine-name': module.machine_name}) }}</div> {% if module.version %} - <div class="admin-requirements">{{ 'Version: @module-version'|t({'@module-version': module.version }) }}</div> + <div class="admin-requirements">{{ 'Version: @module-version'|t({'@module-version': module.version}) }}</div> {% endif %} {% if module.requires %} - <div class="admin-requirements">{{ 'Requires: @module-list'|t({'@module-list': module.requires }) }}</div> + <div class="admin-requirements">{{ 'Requires: @module-list'|t({'@module-list': module.requires}) }}</div> {% endif %} {% if module.required_by %} - <div class="admin-requirements">{{ 'Required by: @module-list'|t({'@module-list': module.required_by }) }}</div> + <div class="admin-requirements">{{ 'Required by: @module-list'|t({'@module-list': module.required_by}) }}</div> {% endif %} </div> {% if module.links %} diff --git a/core/themes/stable9/templates/admin/system-modules-uninstall.html.twig b/core/themes/stable9/templates/admin/system-modules-uninstall.html.twig index bf8ad1f314eb17b9a81f3e90f4827dd5f3f742b8..29c257dcfacc7063defdaaddb49436e13c2f8a6d 100644 --- a/core/themes/stable9/templates/admin/system-modules-uninstall.html.twig +++ b/core/themes/stable9/templates/admin/system-modules-uninstall.html.twig @@ -54,7 +54,7 @@ <li>{{ reason }}</li> {%- endfor -%} {%- if module.required_by -%} - <li>{{ 'Required by: @module-list'|t({'@module-list': module.required_by|safe_join(', ') }) }}</li> + <li>{{ 'Required by: @module-list'|t({'@module-list': module.required_by|safe_join(', ')}) }}</li> {%- endif -%} </ul> </div> diff --git a/core/themes/stable9/templates/content/media-reference-help.html.twig b/core/themes/stable9/templates/content/media-reference-help.html.twig index 753ce56ca7de8108f732d6f9f6b23da611539972..910dc4e94beaaae15b55801984630b7a367f6980 100644 --- a/core/themes/stable9/templates/content/media-reference-help.html.twig +++ b/core/themes/stable9/templates/content/media-reference-help.html.twig @@ -22,7 +22,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend_attributes }}> <span{{ legend_span_attributes.addClass(legend_span_classes) }}>{{ original_label }}</span> </legend> diff --git a/core/themes/stable9/templates/form/fieldset.html.twig b/core/themes/stable9/templates/form/fieldset.html.twig index efd05e3425bcb373a0b6b9ce0ac63568748d926d..7c4c9659fe205144f899ddee1e09e85bb587c2b5 100644 --- a/core/themes/stable9/templates/form/fieldset.html.twig +++ b/core/themes/stable9/templates/form/fieldset.html.twig @@ -42,7 +42,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend.attributes }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> </legend> diff --git a/core/themes/stable9/templates/layout/book-export-html.html.twig b/core/themes/stable9/templates/layout/book-export-html.html.twig index 951ec4e9b7a4fb45cfee417076f2f18ab9d2aa12..0bcf6806996833cfb9add1ccd01024ce606404b4 100644 --- a/core/themes/stable9/templates/layout/book-export-html.html.twig +++ b/core/themes/stable9/templates/layout/book-export-html.html.twig @@ -34,11 +34,11 @@ to be exported as printer-friendly HTML. #} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} <div> {% endfor %}{% endif %} {{ contents }} - {% if depth > 1 %}{% for i in 1..depth-1 %} + {% if depth > 1 %}{% for i in 1..depth - 1 %} </div> {% endfor %}{% endif %} </body> diff --git a/core/themes/stable9/templates/media-library/media--media-library.html.twig b/core/themes/stable9/templates/media-library/media--media-library.html.twig index 4c5a5a70970941d0a6a53b8463ae0752d5c5c0c5..48d23a7c55792a48cd0542da447bba3dc6fc09d7 100644 --- a/core/themes/stable9/templates/media-library/media--media-library.html.twig +++ b/core/themes/stable9/templates/media-library/media--media-library.html.twig @@ -38,7 +38,7 @@ {{ content|without('name') }} </div> {% if not status %} - {{ "unpublished" | t }} + {{ "unpublished"|t }} {% endif %} <div{{ metadata_attributes }}> {{ name }} diff --git a/core/themes/stable9/templates/views/views-view-summary-unformatted.html.twig b/core/themes/stable9/templates/views/views-view-summary-unformatted.html.twig index d9ff9958b23cf15a7350e559482844ba771f1097..3fab81e5c1b5928f5a1accf63402a1d5a20f32ce 100644 --- a/core/themes/stable9/templates/views/views-view-summary-unformatted.html.twig +++ b/core/themes/stable9/templates/views/views-view-summary-unformatted.html.twig @@ -18,7 +18,7 @@ * @see template_preprocess_views_view_summary_unformatted() */ #} -{% for row in rows %} +{% for row in rows %} {{ options.inline ? '<span' : '<div' }} > {% if row.separator -%} {{ row.separator }} diff --git a/core/themes/starterkit_theme/templates/form/fieldset.html.twig b/core/themes/starterkit_theme/templates/form/fieldset.html.twig index db63082e8a8979b3a54b84ec5b071fa424791470..75033edcf1aee60aea8d59a3bc8f6d5e83ceba03 100644 --- a/core/themes/starterkit_theme/templates/form/fieldset.html.twig +++ b/core/themes/starterkit_theme/templates/form/fieldset.html.twig @@ -36,7 +36,7 @@ required ? 'form-required', ] %} - {# Always wrap fieldset legends in a <span> for CSS positioning. #} + {# Always wrap fieldset legends in a <span> for CSS positioning. #} <legend{{ legend.attributes }}> <span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span> </legend> diff --git a/core/themes/starterkit_theme/templates/views/views-view-summary-unformatted.html.twig b/core/themes/starterkit_theme/templates/views/views-view-summary-unformatted.html.twig index 151734e948eea2fbb1c29261a0c169c1cd49581e..975460de2d7b0794a687c9dcfd5b3d2bf0e7cc6a 100644 --- a/core/themes/starterkit_theme/templates/views/views-view-summary-unformatted.html.twig +++ b/core/themes/starterkit_theme/templates/views/views-view-summary-unformatted.html.twig @@ -18,7 +18,7 @@ * @see template_preprocess_views_view_summary_unformatted() */ #} -{% for row in rows %} +{% for row in rows %} {{ options.inline ? '<span' : '<div' }} class="views-summary views-summary-unformatted"> {% if row.separator -%} {{ row.separator }}