From ef103d862ac6f7d547f9fdcf7d76d6ef9f0d8017 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 1 Dec 2023 15:16:15 +0200 Subject: [PATCH] UHF-9132: Improve readability of component classes templates --- .../paragraph/paragraph--district-listing.html.twig | 5 ++++- .../templates/paragraph/paragraph--list-of-plans.html.twig | 5 ++++- .../templates/paragraph/paragraph--project-listing.html.twig | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--district-listing.html.twig b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--district-listing.html.twig index 18f2f9409..1f9645022 100644 --- a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--district-listing.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--district-listing.html.twig @@ -1,7 +1,10 @@ {% block paragraph %} {% embed "@hdbt/misc/component.twig" with { - component_classes: [ 'component--full-width', 'component--district-listing' ], + component_classes: [ + 'component--full-width', + 'component--district-listing' + ], component_title: content.field_district_list_title, component_description: content.field_district_list_description, component_content_class: 'district-listing', diff --git a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--list-of-plans.html.twig b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--list-of-plans.html.twig index a83a03eb9..a4b52fd3f 100644 --- a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--list-of-plans.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--list-of-plans.html.twig @@ -1,7 +1,10 @@ {% block paragraph %} {% embed "@hdbt/misc/component.twig" with { - component_classes: [ 'component--full-width', 'component--list-of-plans' ], + component_classes: [ + 'component--full-width', + 'component--list-of-plans' + ], component_title: title, component_description: description, component_content_class: 'list-of-plans', diff --git a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--project-listing.html.twig b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--project-listing.html.twig index cc031e625..cfa6b04c7 100644 --- a/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--project-listing.html.twig +++ b/public/themes/custom/hdbt_subtheme/templates/paragraph/paragraph--project-listing.html.twig @@ -1,7 +1,10 @@ {% block paragraph %} {% embed "@hdbt/misc/component.twig" with { - component_classes: [ 'component--full-width', 'component--project-list' ], + component_classes: [ + 'component--full-width', + 'component--project-list' + ], component_title: content.field_project_list_title, component_description: content.field_project_list_description, component_content_class: 'project-list',