]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jan 2021 15:31:29 +0000 (16:31 +0100)
commitc7e228c60cfe352ccd7f1dee54990dcaa22c0240
treef44316ee93b0f384e6fed4d9e73de38974b20f2d
parent69bf6e80cf4c35601dbeea871c973c7ce3997e41
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc