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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 18 Dec 2016 19:40:19 +0000 (19:40 +0000)
commit2bfd9a95f09c29d1ae116213f83b416a3922cf8c
treeec18d0a68e92a2361d2a306ee0ccad6648260f7a
parent327c2ba63612c56599d590a0a2dd8539d255b145
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt