Bug 8781: hiding of transfer page when it's useless
authorAdrien Saurat <adrien.saurat@biblibre.com>
Tue, 18 Sep 2012 08:27:39 +0000 (10:27 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Mon, 3 Dec 2012 06:55:44 +0000 (19:55 +1300)
commitade813575612d3490adc943c0d100a9b90752b90
tree925133b6ff3c61388690a1664d837372ab37f808
parent0817a4c5ccfaad7676a552c155318aaf67b1bea4
Bug 8781: hiding of transfer page when it's useless

The transfer page is only useful when the system
preference "IndependantBranches" is Off of when the user
is a superlibrarian. Otherwise it can be hidden.

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and perlcritic pass.

TEST PLAN :
It's about testing the display of the "Transfer" link on "circulation-home.pl".
The link needs to appear if IndependantBranches is off or if the user is a superlibrarian.

1) IndependantBranches = Off, user is superlibrarian : link appears
2) IndependantBranches = Off, user is not superlibrarian : link appears
3) IndependantBranches = On, user is superlibrarian : link appears
4) IndependantBranches = On, user is not superlibrarian : link does not appear
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
circ/circulation-home.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt