Bug 11429: Add a link to basketgroup in basket detail page
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Thu, 19 Dec 2013 21:58:35 +0000 (22:58 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 Jan 2014 16:30:55 +0000 (16:30 +0000)
commiteba01fcafb438fd2523017a553ea39ffc23b7799
treedb903c807b95ada5e3f988e50ccc81bf91a4ce48
parentce2b280903060a37e1cabeba66fc89a833a529a1
Bug 11429: Add a link to basketgroup in basket detail page

If a basket is in a closed basketgroup, the basketgroup name is
currently displayed.

This patch adds a link around the basketgroup name if the librarian
has permission to manage basketgroups.

Test:

A. With a librarian with rights for managing basketgroups
Display a closed basket that is grouped in a basketgroup
Check the name of the basketgroup is now a link
Click on the link and check you are seeing information about the
right basketgroup

B. With a librarian WITHOUT rights for managing basketgroups
Display a closed basket that is grouped in a basketgroup
Check the name of the basketgroup is not a link

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt