From aed3c917467c7d08f32525167a8ac285f910cd08 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Thu, 1 Oct 2020 23:25:36 -0400 Subject: [PATCH] ISTWCMS-4083: removing old copy text block template file and replacing with new copy text custom template --- templates/content/uw-copy-text.html.twig | 4 ++++ ...block--inline-block--uw-cbl-copy-text.html.twig | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) create mode 100644 templates/content/uw-copy-text.html.twig delete mode 100644 templates/inline-blocks/block--inline-block--uw-cbl-copy-text.html.twig diff --git a/templates/content/uw-copy-text.html.twig b/templates/content/uw-copy-text.html.twig new file mode 100644 index 00000000..8eea55e3 --- /dev/null +++ b/templates/content/uw-copy-text.html.twig @@ -0,0 +1,4 @@ +{% include "@components/copy-text/copy-text.twig" with { + 'copy_text': copy_text|field_value, + 'width': width +} %} diff --git a/templates/inline-blocks/block--inline-block--uw-cbl-copy-text.html.twig b/templates/inline-blocks/block--inline-block--uw-cbl-copy-text.html.twig deleted file mode 100644 index ff566f8a..00000000 --- a/templates/inline-blocks/block--inline-block--uw-cbl-copy-text.html.twig +++ /dev/null @@ -1,14 +0,0 @@ -{% if in_layout_builder %} - <div{{ attributes.addClass(classes) }}> - {{ title_prefix }} - {{ title_suffix }} -{% endif %} - - {% include "@components/copy-text/copy-text.twig" with { - 'copy_text': copy_text|field_value, - 'width': width - } %} - -{% if in_layout_builder %} - </div> -{% endif %} -- GitLab