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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 2 Dec 2012 14:27:20 +0000 (09:27 -0500)
commitc101f779e587217ae5ac46ee18aa0292c30aa808
tree7c4fcdc502ca39aef44348c6e909d6cd53ca532c
parentb0edca918b74b48d658534b54c0df1a84ec94661
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>
circ/circulation-home.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt