Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart b2c7a37906
Bug 33820: Add hints to warn the librarian that they will be logged out if they change their username
This patch adds some JavaScript to the patron entry form which adds a
hint if the logged-in librarian tries to change their own username. It
warns them that they will be logged out.

To test, apply the patch and log into the staff interface.

- Locate and edit your own patron record.
- In the "OPAC/Staff interface login" section, change the value in the
  username field. When focus leaves that form field a hint should
  appear, "You will be logged out if you modify your username."
- Change the username field back to your original username. The hint
  should disappear.
- Confirm that submitting a username change works correctly: You should
  be logged out, and when you log in again your username should be
  updated.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8e611b79f1)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-07-17 13:20:11 +01:00
..
acqui Bug 33798: Improve consistency of the vendor display view 2023-07-12 09:21:10 +01:00
admin Bug 33868: Upgrade the Multiple Select plugin in the staff interface 2023-07-17 12:21:42 +01:00
authorities Bug 33524: Use template wrapper for tabs: Authority editor 2023-06-09 12:04:59 -03:00
basket Bug 33160: (QA follow-up) Adjust condition on biblio object 2023-04-06 09:47:24 -03:00
batch
catalogue Bug 33725: Add collection to search results 2023-06-09 16:05:09 -03:00
cataloguing Bug 33525: Use template wrapper for tabs: Basic MARC editor 2023-06-09 11:22:16 -03:00
circ Bug 33528: Use template wrapper for tabs: Patron details page 2023-07-17 12:04:17 +01:00
clubs Bug 33528: Use template wrapper for tabs: Patron details page 2023-07-17 12:04:17 +01:00
course_reserves Bug 33383: Use template wrapper for breadcrumbs: Course reserves 2023-04-12 09:27:07 -03:00
erm Bug 33408: Remove obsolete tests and template sys pref code 2023-04-13 11:48:02 -03:00
errors Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page 2023-02-27 11:39:31 -03:00
ill Bug 33779: Terminology: biblio record 2023-06-09 11:22:13 -03:00
installer Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
labels Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
mana
members Bug 33820: Add hints to warn the librarian that they will be logged out if they change their username 2023-07-17 13:20:11 +01:00
offline_circ Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
onboarding
patron_lists Bug 25379: (QA follow-up) Adjust other occurrences and add line break 2023-05-09 11:47:01 -03:00
patroncards Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
plugins Bug 33463: Remove sort for 'Actions' on the plugins table 2023-05-15 08:53:54 -03:00
pos Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
recalls Bug 32688: Convert recalls awaiting pickup tabs to Bootstrap 2023-01-30 12:21:34 -03:00
reports Bug 33966: (bug 23824 follow-up) Fix submit buttons for translated templates 2023-06-20 14:35:39 +02:00
reserve Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
reviews Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
rotating_collections Bug 33555: Use template wrapper for breadcrumbs: Rotating collections 2023-04-21 10:36:22 -03:00
serials Bug 32752: Update serial edit form to allow for new status 2023-05-15 18:24:08 -03:00
services
suggestion Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
tags Bug 33565: Use template wrapper for breadcrumbs: Tags 2023-04-24 10:43:35 -03:00
test
tools Bug 33855: Clean up forms and page sections on 'manage MARC imports' page 2023-07-12 09:21:28 +01:00
virtualshelves Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
about.tt Bug 33868: Upgrade the Multiple Select plugin in the staff interface 2023-07-17 12:21:42 +01:00
auth.tt Bug 33253: Turn off autocompletion for 2FA authentication code 2023-05-09 11:46:59 -03:00
intranet-main.tt Bug 33133: Add fast cataloging to 'Cataloging' page 2023-03-27 12:50:07 +02:00