Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
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
..
accountline-details.tt Bug 33385: Use template wrapper for breadcrumbs: Patrons part 1 2023-04-12 09:27:05 -03:00
apikeys.tt Bug 33883: "Make sure to copy your API secret" message overlaps text 2023-06-09 11:22:20 -03:00
boraccount.tt Bug 31448: Replace 'Print' with 'Receipt' dropdown 2023-05-05 10:18:45 -03:00
deletemem.tt Bug 33385: Use template wrapper for breadcrumbs: Patrons part 1 2023-04-12 09:27:05 -03:00
discharge.tt Bug 33385: Use template wrapper for breadcrumbs: Patrons part 1 2023-04-12 09:27:05 -03:00
discharges.tt
files.tt Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
holdshistory.tt
housebound.tt Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
ill-requests.tt Bug 22440: New ILL requests table 2023-05-05 09:13:41 -03:00
mancredit.tt
maninvoice.tt
member-flags.tt
member-password.tt Bug 33343: Catch more cases and correctly use new-password hint 2023-06-09 12:04:57 -03:00
member.tt Bug 28366: Add batch patron modification to patron search results 2023-05-15 18:24:02 -03:00
memberentrygen.tt 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
members-update.tt Bug 33320: Add spacing in Patron modification requests 2023-05-12 11:22:46 -03:00
merge-patrons.tt Bug 33388: Use template wrapper for breadcrumbs: Patrons part 4 2023-04-21 10:36:23 -03:00
moremember-brief.tt
moremember-print.tt Bug 22375: (follow-up) Format even more due dates consistently 2023-05-09 11:46:56 -03:00
moremember.tt Bug 33528: Use template wrapper for tabs: Patron details page 2023-07-17 12:04:17 +01:00
notices.tt Bug 33388: Use template wrapper for breadcrumbs: Patrons part 4 2023-04-21 10:36:23 -03:00
pay.tt Bug 33388: Use template wrapper for breadcrumbs: Patrons part 4 2023-04-21 10:36:23 -03:00
paycollect.tt
printfeercpt.tt
printinvoice.tt
printnotice.tt
purchase-suggestions.tt
readingrec.tt Bug 22375: Format due date consistantly 2023-05-09 11:46:55 -03:00
recallshistory.tt
routing-lists.tt
search.tt
statistics.tt
two_factor_auth.tt Bug 34028: Fix manual entry for two factor authentication 2023-06-26 14:56:48 +02:00
update-child.tt