From faf66db7b15148b8576fd9bb4e85e1fce30bb3c1 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 15 Feb 2023 14:58:33 +1300 Subject: [PATCH] Bug 32021: Don't show 'appear in position' for Pages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The 'Appear in position' option isn't relevant for Pages, so we should hide it when not adding or modifying a Page. To test: 1) Add a new Page 2) Confirm the 'Appear in position' option does not show 3) Add a new News item or HTML customisation 4) Confirm the 'Appear in position' option DOES show Sponsored-by: Catalyst IT Signed-off-by: Caroline Cyr La Rose Signed-off-by: Kyle M Hall Signed-off-by: Tomás Cohen Arazi Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/tools/additional-contents.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 1a5e53bee4..f4a2736f28 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -256,6 +256,7 @@ [% END %] + [% UNLESS category == 'pages' %]
  • [% IF ( additional_content.number ) %] @@ -264,6 +265,7 @@ [% END %]
  • + [% END %] -- 2.39.2