From 873a771b1133745d823f3636715420aa5d01d743 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 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 --- .../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 30b0103a80..d2e9dd48f2 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.34.1