From 5c5d045e7b7f3fdd3a2bd8cda148f961f314e006 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. --- 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 184a60527de..a1ca8fc568b 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.11.0