]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 14:47:32 +0000 (15:47 +0100)
commit4a4032745293af7a3fec97c44c61b11c94e0edf7
tree9aedd5f18fb04c809002a1e48b5cccf5128089b0
parent4d351d2c6d2452462732a2cce71565ba45ec3c05
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>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc