Bug 39135

Summary: adding a OpacPasswordLabelTextContent system preference
Product: Koha Reporter: Imani <imani.thomas>
Component: AuthenticationAssignee: Imani <imani.thomas>
Status: Patch doesn't apply --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, dpavlin
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 39135: adding a OpacPasswordLabelTextContent system preference
Bug 39135: adding a OpacPasswordLabelTextContent system preference

Description Imani 2025-02-13 14:07:56 UTC
A Partner wants the password field to be able to say Password/Pin instead of just Password so I believe adding a system preference similar to the one for the login label would accommodate them without impacting other users.

html_helpers.inc is where the login label one is currently located.
Comment 1 Imani 2025-02-13 16:51:53 UTC
Created attachment 178040 [details] [review]
Bug 39135: adding a OpacPasswordLabelTextContent system preference

fixing order of systemPrefs in sysprefs.sql
Comment 2 Imani 2025-02-13 17:05:03 UTC
Created attachment 178041 [details] [review]
Bug 39135:  adding a OpacPasswordLabelTextContent system preference

add a new system preference for password labels

to test:
1. apply the patch
2. log into admin and go to the opac system preferences and change the OpacPasswordLabelTextContent system preference to Password/PIN
3. go to the public url and open the login and see the password field now says Password/PIN instead
4. Change the preference again and save and see your changes reflected
Comment 3 Imani 2025-02-13 17:05:48 UTC
(In reply to Imani from comment #1)
> Created attachment 178040 [details] [review] [review]
> Bug 39135: adding a OpacPasswordLabelTextContent system preference
> 
> fixing order of systemPrefs in sysprefs.sql

Please disregard this first patch, accidentally only included part of the changes.
Comment 4 Imani 2025-03-31 13:21:16 UTC
to be clear the second patch has the changes and the test instructions from the comment for the first patch are accurate.
Comment 5 Caroline Cyr La Rose 2025-03-31 15:06:35 UTC
Hi, looks like the patch doesn't apply anymore.