Bug 34964: Add descriptions for different HTML customization regions
authorOwen Leonard <oleonard@myacpl.org>
Fri, 29 Sep 2023 17:33:38 +0000 (17:33 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 14:07:52 +0000 (11:07 -0300)
commit7a866a9241ae2dee5d2b8be618e4c457f84a3c0d
tree9b4c6c1b241da1d098fea19be25950600a579342
parentb497a8071bc64ce380c7044703495355e4ec541b
Bug 34964: Add descriptions for different HTML customization regions

This patch adds dynamically-shown hints on the HTML customization form
when the user selects a display location. The hint describes where the
content will be found.

Much of the descriptive text in this patch is adapted from the original
options' system preference descriptions.

To test, apply the patch and go to Tools -> HTML customizations -> New
entry.

- The page loads with the first display location preselected, so you
  should see a hint for the "ArticleRequestsDisclaimerText" option.
- Test the process of selecting each different display location option,
  confirming each time that the correct description is shown.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/html-customization-help.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt