Bugzilla – Attachment 24511 Details for
Bug 11429
Add a link to basketgroup in basket detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11429 : Add a link to basketgroup in basket detail page
Bug-11429--Add-a-link-to-basketgroup-in-basket-det.patch (text/plain), 2.12 KB, created by
Jonathan Druart
on 2014-01-17 15:34:09 UTC
(
hide
)
Description:
Bug 11429 : Add a link to basketgroup in basket detail page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-17 15:34:09 UTC
Size:
2.12 KB
patch
obsolete
>From c0aafeca2a125bd3dff4d608f609144ce361f5ed Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Thu, 19 Dec 2013 22:58:35 +0100 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index c94aa86..ebfa553 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -346,7 +346,11 @@ > <li> > <span class="label">Basket group:</span> > [% IF basketgroup.closed %] >- [% basketgroup.name %] (closed) >+ [% IF ( CAN_user_acquisition_group_manage ) %] >+ <a href="basketgroup.pl?op=add&booksellerid=[% booksellerid %]&basketgroupid=[% basketgroup.id %]" title="basketgroup">[% basketgroup.name %] (closed)</a> >+ [% ELSE %] >+ [% basketgroup.name %] (closed) >+ [% END %] > [% ELSIF ( ! CAN_user_acquisition_group_manage ) %] > [%- IF basketgroup.name -%] > [% basketgroup.name %] >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11429
:
23702
|
23753
|
24511
|
24513
|
24553
|
24554