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:16 +0000 (19:55 +1300)
commit6a58c145702206a709ffa30e6f8f40dadda0441b
treefe562bd8db75305b5ff78cadedc98a74e7bd328e
parent2f2a9493b6c861bc6ef135f9c1d941052c957af1
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