Bugzilla – Attachment 2039 Details for
Bug 4356
Basket.pl: adding a link to the basketgroup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Basket.pl: adding a link to the basketgroup
0001-BUG-4356-Basket.pl-adding-a-link-to-the-basketgroup.patch (text/plain), 2.26 KB, created by
Chris Cormack
on 2010-03-31 08:05:00 UTC
(
hide
)
Description:
Basket.pl: adding a link to the basketgroup
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-03-31 08:05:00 UTC
Size:
2.26 KB
patch
obsolete
>From b10f5245eec114bc7f3cf2b1acdf6c72eef65d1d Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Wed, 31 Mar 2010 10:04:31 +0200 >Subject: [PATCH] (BUG #4356) Basket.pl: adding a link to the basketgroup > >--- > acqui/basket.pl | 1 + > .../prog/en/modules/acqui/basket.tmpl | 10 +++++++++- > 2 files changed, 10 insertions(+), 1 deletions(-) > >diff --git a/acqui/basket.pl b/acqui/basket.pl >index 1e27d8f..51ea00a 100755 >--- a/acqui/basket.pl >+++ b/acqui/basket.pl >@@ -207,6 +207,7 @@ if ( $op eq 'delete_confirm' ) { > name => "No group"); > if ( ! $basket->{basketgroupid} ) { > $emptygroup{default} = 1; >+ $emptygroup{nogroup} = 1; > } > unshift( @$basketgroups, \%emptygroup ); > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl >index e67e838..5a2a853 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tmpl >@@ -162,7 +162,15 @@ > <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="post"> > <p>Closed on: <!-- TMPL_VAR name="closedate" --></p> > <!-- TMPL_IF name="basketgroups" --> >- <p> basketgroup: <select id="basketgroupid" name="basketgroupid"> >+ <p> basketgroup: >+ <!-- TMPL_LOOP name="basketgroups" --> >+ <!-- TMPL_IF name="default" --> >+ <!-- TMPL_UNLESS name="nogroup" --> >+ <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=<!-- TMPL_VAR name="basketgroups" -->&basketgroupid=<!-- TMPL_VAR name="id" -->"><!-- TMPL_VAR name="name" --></a> >+ <!-- /TMPL_UNLESS --> >+ <!-- /TMPL_IF --> >+ <!-- /TMPL_LOOP --> >+ <select id="basketgroupid" name="basketgroupid"> > <!-- TMPL_LOOP name="basketgroups" --> > <!-- TMPL_IF name="default" --> > <option value="<!-- TMPL_VAR name="id" -->" selected="selected"><!-- TMPL_VAR name="name" --></option> >-- >1.6.3.3 >
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 4356
: 2039