Summary: | The logged in link (class "loggedinusername") needs data-patroncategory | ||
---|---|---|---|
Product: | Koha | Reporter: | Christopher Brannon <cbrannon> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.11.00
|
|
Circulation function: | |||
Attachments: |
Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory
Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory Bug 23648: The logged in link (class "loggedinusername") needs data-patroncategory |
Description
Christopher Brannon
2019-09-19 20:36:04 UTC
Slightly changing the title - I think code means 'patron category code'? :) (In reply to Katrin Fischer from comment #1) > Slightly changing the title - I think code means 'patron category code'? :) Yes. Created attachment 93152 [details] [review] 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. Created attachment 93158 [details] [review] 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 <cbrannon@cdalibrary.org> Works as described. Created attachment 93252 [details] [review] 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 <cbrannon@cdalibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Nice work! Pushed to master for 19.11.00 |