Bug 27439: Improve hint labels on patron attribute type entry form
authorOwen Leonard <oleonard@myacpl.org>
Thu, 14 Jan 2021 17:53:49 +0000 (17:53 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jan 2021 12:42:08 +0000 (13:42 +0100)
commita6bf70a9fcf8ab91acd36ecc46d5f62c629b3766
tree5e79f8ad7c5bdaf61184f0bc029035120c192c43
parent726cfda78b24df8a87cf060455430c91cb41a930
Bug 27439: Improve hint labels on patron attribute type entry form

This patch makes some minor changes to the patron attribute type
template in order make corrections and improve consistency:

- Change some generic <span>s to <div class="hint">
- Correct terminology: Branch -> Library
- Improve hint text:
  Before: "Select All if this attribute type must to be displayed all
  the time."
  After: "Select "All libraries" if this attribute type should always
  be displayed"
- Link reference to authorized values "PA_CLASS" directly to that page
  for users with permission.

To test, apply the patch and go to Administration -> Patron attribute
types -> New patron attribute type.

 - Confirm that the hints on these fields are properly styled:
   Authorized value category, Library limitation, Category, and Class.
 - Confirm that the text uses the term "library" instead of "branch."
 - Confirm that the hint on the "Class" field links directly to
   authorized values if you are logged in with a user with permission.

Signed-off-by: Victoria Faafia <vfaafia29@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt