]> git.koha-community.org Git - koha.git/commit
Bug 26847: Add data-categorycode to opac pages
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 4 Nov 2020 14:53:57 +0000 (14:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 7 Jan 2021 14:30:58 +0000 (15:30 +0100)
commitdb6654730e5c14bd8ef6cce15fa1a54cf801273c
treeea81fdb429d6f66b1c6ec37100d75103cfba475b
parentfac4d77e12b3e843d115fd596bd3923a4918719a
Bug 26847: Add data-categorycode to opac pages

This patch adds the data-categorycode attribute to the loggedinuser span
for all pages in the opac.

Test plan
1/ Apply first patch, varify unit test fails.
2/ Apply second patch, varify unit test now passes.
3/ Navigate to opac and login
4/ Varify that data-categorycode is present in the loggedinuser span in
the client.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c7e228c60cfe352ccd7f1dee54990dcaa22c0240)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc