Koha/koha-tmpl/opac-tmpl/bootstrap
Nick Clemens 34d4299341 Bug 20921: Add borrowernumber and branchcode as html attributes
To test:
1 - Apply patch
2 - Visit the opac
3 - Sign in
4 - You should not see any difference
5 - Inspect the element  'Welcome, {username}'
6 - Note the attributes for borrowernumber and branchcode
7 - Add to OPACUserJS:
$(document).ready(function(){
    console.log( $(".loggedinusername").attr('data-branchcode'));
    console.log( $(".loggedinusername").attr('data-borrowernumber'));
});
8 - Check the console and note you can see the info expected

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Followed the test plan and it works.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-06-29 20:43:42 +00:00
..
css Bug 20756: Compiled CSS 2018-06-08 09:48:12 -04:00
en Bug 20921: Add borrowernumber and branchcode as html attributes 2018-06-29 20:43:42 +00:00
images Bug 20756: OPAC "Share list" button should be styled with an icon 2018-06-08 09:48:12 -04:00
itemtypeimg
js Bug 20122: Explicitly set path to fix emptying cart functionality 2018-04-09 16:15:17 -03:00
less Bug 20756: OPAC "Share list" button should be styled with an icon 2018-06-08 09:48:12 -04:00
lib Bug 13696: Add support for Font Awesome icons in Koha 2015-10-27 09:57:23 -03:00