]> git.koha-community.org Git - koha.git/commit
Bug 33766: Fix ambiguous "Login" field
authorPaul Derscheid <paul.derscheid@lmscloud.de>
Thu, 17 Aug 2023 12:31:08 +0000 (12:31 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 11 Nov 2024 14:35:30 +0000 (15:35 +0100)
commitcd58b70b76f7002285d15f01899eef201be88965
treed4dbcd4c4cefcc152e83094c9d5f629683d9a8ab
parenteef67f1e48f1b27a91922dc370e5e0d271a4ca9a
Bug 33766: Fix ambiguous "Login" field

This patch introduces a new syspref 'OPACLoginLabelTextContent' which can be set
to the following values
- Cardnumber
- Username
- Cardnumber or Username

To test:
- Check that the label for
    - The masthead inc
    - The opac-auth template
    - The opac-main template
    - The opac-password-recovery template
    - The opac-registration-confirmation template
    - The opac-reset-password template
    - The sco-main template
  reflect the changes you made to the syspref

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
installer/data/mysql/atomicupdate/bug_33766-a11y_fix_ambiguous_form-field_in_opac-auth.tt [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reset-password.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt