From 15b5767aaed52364f9c32afb1df2272f00fca75b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 25 Sep 2019 11:58:38 +0000 Subject: [PATCH] Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory This patch adds a "data-categorycode" attribte to the logged in link in the global header of the OPAC. This will allow access to the patron category for use in customization and whatnot. To test, apply the patch and log in to the OPAC. Use the browser's DOM inspector tool to examine the logged-in user's name in the header. It should have a "data-categorycode" attribute with the correct value. Signed-off-by: Christopher Brannon Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 184a60527d..a1ca8fc568 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -100,7 +100,7 @@ [% END %] [% END %] [% IF ( loggedinusername ) %] -
  • +
  • [% END %] [% END %] -- 2.39.5