From 720306e498d933219971ab1a7a24c042b017dec2 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 --- koha-tmpl/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 30b0103a808..d2e9dd48f21 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.11.0