Bugzilla – Attachment 24852 Details for
Bug 11027
add a column for basketgroups in late orders table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 11027 - Create a link only if user have required permissions
SIGNED-OFF-Bug-11027---Create-a-link-only-if-user-.patch (text/plain), 2.37 KB, created by
Mark Tompsett
on 2014-01-28 17:37:11 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 11027 - Create a link only if user have required permissions
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-01-28 17:37:11 UTC
Size:
2.37 KB
patch
obsolete
>From 09d4e0cc58e12d11e9bb6a22f60fbb5630d85294 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Sun, 22 Dec 2013 22:48:34 +0100 >Subject: [PATCH] [SIGNED OFF] Bug 11027 - Create a link only if user have > required permissions > >With this followup, a user without order_manage permission won't be able to cick on a basket >and a user without group_manage permission won't be able to click on a basketgroup > >Note that the issue for basket is present in current master. So it deserves a separate bugfix (as bug 11027 is an ENH) > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > .../prog/en/modules/acqui/lateorders.tt | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >index a036945..c5341c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -159,10 +159,18 @@ $(document).ready(function() { > [% lateorder.subtotal %] > </td> > <td> >- <a href="basket.pl?basketno=[% lateorder.basketno %]" title="basket">[% lateorder.basketname %] ([% lateorder.basketno %])</a> >+ [% IF ( CAN_user_acquisition_order_manage ) %] >+ <a href="basket.pl?basketno=[% lateorder.basketno %]" title="basket">[% lateorder.basketname %] ([% lateorder.basketno %])</a> >+ [% ELSE %] >+ [% lateorder.basketname %] ([% lateorder.basketno %]) >+ [% END %] > </td> > <td> >- <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% IF ( CAN_user_acquisition_group_manage ) %] >+ <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% ELSE %] >+ [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% END %] > </td> > <td>[% lateorder.branch %] > </td> >-- >1.7.9.5
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 11027
:
21951
|
23659
|
23762
|
24850
|
24851
|
24852
|
24991
|
24993
|
25012
|
25013
|
25014