]> git.koha-community.org Git - koha.git/commit
Bug 35444: Add hidden span with information about the loggedinuser categorycode
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 29 Nov 2023 23:19:12 +0000 (23:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 08:06:43 +0000 (10:06 +0200)
commitf9fe29f1955dbe71f7fbd1ec5f92b5b470b7fb1e
treef14c89dbb54078498d2efbc7d4eacb6aba7b9b47
parentaeae2771bae5975d28403b482805c35d9b64b442
Bug 35444: Add hidden span with information about the loggedinuser categorycode

To test:
1. APPLY PATCH
2. Log into the staff interface and use the browser's dev tools to look
   for the HTML class 'loggedincategorycode'. It should match the
   current logged in user's categorycode.
3. You could also use a console.log like so:

console.log( $('.loggedincategorycode').text() );

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 4a4032745293af7a3fec97c44c61b11c94e0edf7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc