Bug 17652: opac-account.pl does not include login branchcode
authorChris Kirby <chris.kirby@ilsleypubliclibrary.org>
Mon, 28 Nov 2016 05:15:02 +0000 (00:15 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Dec 2016 11:31:40 +0000 (11:31 +0000)
commit1bfcebfb7fa0837428fb577a6fc059886fe37afb
treebebbaa50d7b0e747ce7e7d2b32474f99ab1bc68d
parentb5c1a965b165093fb66a5db356da84b4a62bf9a6
Bug 17652: opac-account.pl does not include login branchcode

opac-account.pl does not include the login branchcode, whereas the other pages
available to users (opac-user, opac-memberentry, opac-passwd, opac-readingrecord,
opac-suggestions, opac-messaging, opac-shelves, etc.) on login DO provide
the login branchcode. Having the login branchcode available on opac-account.pl
would facilitate customization of the OPAC for individual branches.

To test:
1) Login to the OPAC and open  /cgi-bin/koha/opac-account.pl
2) Inspect the body tag and observe the class attribute does not include
   the login branchcode.
3) Apply the patch.
4) Repeat step 2.
5) Observe that the login branchcode is present.

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt