Bugzilla – Attachment 16309 Details for
Bug 9806
Show more information on basketgroups lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 2/2] cosmetic patch (reindent part of basketgroup.tt)
0011-cosmetic.patch (text/plain), 10.39 KB, created by
Mathieu Saby
on 2013-03-18 19:52:18 UTC
(
hide
)
Description:
[PATCH 2/2] cosmetic patch (reindent part of basketgroup.tt)
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2013-03-18 19:52:18 UTC
Size:
10.39 KB
patch
obsolete
>From 8bc1ef4e5939da52b2cd9372410a577ca2b08934 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Mon, 18 Mar 2013 20:47:36 +0100 >Subject: [PATCH 2/2] cosmetic patch (reindent part of basketgroup.tt) > >Only reindenting the end of basketgroup.tt > >--- > .../prog/en/modules/acqui/basketgroup.tt | 149 ++++++++++---------- > 1 file changed, 74 insertions(+), 75 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >index 0247222..010efea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >@@ -234,89 +234,88 @@ function submitForm(form) { > <div class="btn-group"><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% booksellerid %]" class="btn btn-small" id="newbasketgroup"><i class="icon-plus"></i> New basket group</a></div> > </div> > <h1>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername |html %]</a></h1> >- >- <div id="basket_groups" class="toptabs"> >- <ul class="ui-tabs-nav"> >- [% UNLESS ( closed ) %]<li class="ui-tabs-selected"><a href="#opened">Open</a></li> >- [% ELSE%]<li><a href="#opened">Open</a></li>[% END %] >- [% IF ( closed ) %]<li class="ui-tabs-selected"><a href="#closed">Closed</a></li> >- [% ELSE %]<li><a href="#closed">Closed</a></li>[% END %] >- </ul> >- <div id="opened"> >- <table id="basket_group_opened"> >- <thead> >- <tr> >- <th>Name</th> >- <th>Number</th> >- <th>Billing place</th> >- <th>Delivery place</th> >- <th>Number of baskets</th> >- <th>Action</th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH basketgroup IN basketgroups %] >- [% UNLESS ( basketgroup.closed ) %] >- <tr> >- <td>[% IF ( basketgroup.name ) %] >- [% basketgroup.name %] >- [% ELSE %] >- Basket group no. [% basketgroup.id %] >- [% END %] >- </td> >+ <div id="basket_groups" class="toptabs"> >+ <ul class="ui-tabs-nav"> >+ [% UNLESS ( closed ) %]<li class="ui-tabs-selected"><a href="#opened">Open</a></li> >+ [% ELSE%]<li><a href="#opened">Open</a></li>[% END %] >+ [% IF ( closed ) %]<li class="ui-tabs-selected"><a href="#closed">Closed</a></li> >+ [% ELSE %]<li><a href="#closed">Closed</a></li>[% END %] >+ </ul> >+ <div id="opened"> >+ <table id="basket_group_opened"> >+ <thead> >+ <tr> >+ <th>Name</th> >+ <th>Number</th> >+ <th>Billing place</th> >+ <th>Delivery place</th> >+ <th>Number of baskets</th> >+ <th>Action</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH basketgroup IN basketgroups %] >+ [% UNLESS ( basketgroup.closed ) %] >+ <tr> >+ <td>[% IF ( basketgroup.name ) %] >+ [% basketgroup.name %] >+ [% ELSE %] >+ Basket group no. [% basketgroup.id %] >+ [% END %] >+ </td> > <td>[% basketgroup.id %]</td> > <td>[% basketgroup.billingplacename %]</td> > <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplacename %][% END %]</td> > <td>[% basketgroup.basketsqty %]</td> >- <td> >- <input type="button" onclick="closeandprint([% basketgroup.id %])" value="Close and print" /> >- <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Edit" /></form> >- <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="delete" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Delete" /></form> >- </td> >- </tr> >- [% END %] >- [% END %] >- </tbody> >- </table> >- </div> >- <div id="closed"> >- <table id="basket_group_closed"> >- <thead> >- <tr> >- <th>Name</th> >- <th>Number</th> >- <th>Billing place</th> >- <th>Delivery place</th> >- <th>Number of baskets</th> >- <th>Action</th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH basketgroup IN basketgroups %] >- [% IF ( basketgroup.closed ) %] >- <tr> >- <td> >- [% IF ( basketgroup.name ) %] >- [% basketgroup.name %] >- [% ELSE %] >- Basket group no. [% basketgroup.id %] >- [% END %] >- </td> >+ <td> >+ <input type="button" onclick="closeandprint([% basketgroup.id %])" value="Close and print" /> >+ <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Edit" /></form> >+ <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="delete" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Delete" /></form> >+ </td> >+ </tr> >+ [% END %] >+ [% END %] >+ </tbody> >+ </table> >+ </div> >+ <div id="closed"> >+ <table id="basket_group_closed"> >+ <thead> >+ <tr> >+ <th>Name</th> >+ <th>Number</th> >+ <th>Billing place</th> >+ <th>Delivery place</th> >+ <th>Number of baskets</th> >+ <th>Action</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH basketgroup IN basketgroups %] >+ [% IF ( basketgroup.closed ) %] >+ <tr> >+ <td> >+ [% IF ( basketgroup.name ) %] >+ [% basketgroup.name %] >+ [% ELSE %] >+ Basket group no. [% basketgroup.id %] >+ [% END %] >+ </td> > <td>[% basketgroup.id %]</td> > <td>[% basketgroup.billingplacename %]</td> > <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplacename %][% END %]</td> > <td>[% basketgroup.basketsqty %]</td> >- <td> >- <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form> >- <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Print" /></form> >- <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as CSV" /></form> >- </td> >- </tr> >- [% END %] >- [% END %] >- </tbody> >- </table> >- </div> >+ <td> >+ <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form> >+ <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Print" /></form> >+ <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as CSV" /></form> >+ </td> >+ </tr> >+ [% END %] >+ [% END %] >+ </tbody> >+ </table> >+ </div> > </div> > [% END %] > </div> >-- >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 9806
:
16173
|
16307
|
16309
|
16509
|
18228
|
18331
|
18333
|
18334
|
18335