Bugzilla – Attachment 24513 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: Manage display for basketgroup without name
Bug-11429-Manage-display-for-basketgroup-without-n.patch (text/plain), 1.97 KB, created by
Jonathan Druart
on 2014-01-17 15:46:42 UTC
(
hide
)
Description:
Bug 11429: Manage display for basketgroup without name
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-17 15:46:42 UTC
Size:
1.97 KB
patch
obsolete
>From 69161ace1c2e65835716f63e84d92f59136bd601 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Jan 2014 16:31:54 +0100 >Subject: [PATCH] Bug 11429: Manage display for basketgroup without name > >If a basketgroup does not have a name, the link was ' (closed)' >Now it is "Basket group no. ID (closed)". >This is used on the acqui/basketgroup.pl?booksellerid=XX page > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 5 ++++- > 1 file changed, 4 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 ebfa553..da78b7b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -345,6 +345,9 @@ > <ol> > <li> > <span class="label">Basket group:</span> >+ [% IF basketgroup.id and not basketgroup.name %] >+ [% SET basketgroup.name = "Basket group no. " _ basketgroup.id %] >+ [% END %] > [% IF basketgroup.closed %] > [% IF ( CAN_user_acquisition_group_manage ) %] > <a href="basketgroup.pl?op=add&booksellerid=[% booksellerid %]&basketgroupid=[% basketgroup.id %]" title="basketgroup">[% basketgroup.name %] (closed)</a> >@@ -352,7 +355,7 @@ > [% basketgroup.name %] (closed) > [% END %] > [% ELSIF ( ! CAN_user_acquisition_group_manage ) %] >- [%- IF basketgroup.name -%] >+ [%- IF basketgroup.id -%] > [% basketgroup.name %] > [%- ELSE -%] > No group >-- >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