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)
committerMason James <mtj@kohaaloha.com>
Tue, 3 Jan 2017 01:44:42 +0000 (14:44 +1300)
commit8f7b95d8e24b6547701a0101848b671ff2abbc32
treecee1913045c299f036e7df5a316a7e3e6f05acab
parent6b0c0141c7291ab0760af5b97373fb3de7923247
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>
(cherry picked from commit 1bfcebfb7fa0837428fb577a6fc059886fe37afb)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 2bfd9a95f09c29d1ae116213f83b416a3922cf8c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt