Bugzilla – Attachment 147472 Details for
Bug 33082
Add yellow buttons and page sections to 'copy order' pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33082: Add yellow buttons and page sections to 'copy order' pages
Bug-33082-Add-yellow-buttons-and-page-sections-to-.patch (text/plain), 3.49 KB, created by
Caroline Cyr La Rose
on 2023-02-27 22:04:39 UTC
(
hide
)
Description:
Bug 33082: Add yellow buttons and page sections to 'copy order' pages
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2023-02-27 22:04:39 UTC
Size:
3.49 KB
patch
obsolete
>From 636a7402cbeee969ccc81a4d66ede906251cb0dd Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 27 Feb 2023 21:44:09 +0000 >Subject: [PATCH] Bug 33082: Add yellow buttons and page sections to 'copy > order' pages > >When creating a new order from an existing order (copy), >there was no page section on the search results and the >submit buttons were not yellow (primary). > >To test: >1. Make sure you have budgets, funds and vendors >2. In Acquisitions, search for a vendor >3. Create a basket >4. Add an order to that basket (Order from new (empty) record is easiest) >5. Add to the basket again, choosing the "From existing orders (copy)" option >6. Search for you previous order >7. The table of ordres has no white background (missing page-section) and > the "Next" button is not yellow >8. Check the order and click Next >9. The "Duplicate orders" button is not yellow >10. Apply patch >11. Verify buttons are now yellow and the table has a white background > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > .../prog/en/modules/acqui/duplicate_orders.tt | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >index 95861eefe6..7247bdac38 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >@@ -139,8 +139,8 @@ Acquisitions › Koha > > > [% IF op == 'select' && ( result_order_loop || selected_order_loop ) %] >- <div id="xxx"> >- <form method="post" action="/cgi-bin/koha/acqui/duplicate_orders.pl"> >+<form method="post" action="/cgi-bin/koha/acqui/duplicate_orders.pl"> >+ <div id="orders_to_copy" class="page-section"> > <table id="table_orders"> > <caption> > <span class="actions"><a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> >@@ -176,13 +176,13 @@ Acquisitions › Koha > [% END %] > </tbody> > </table> >- <fieldset class="action"> >- <input type="hidden" name="op" value="batch_edit" /> >- <input type="hidden" name="basketno" value="[% basket.basketno | html %]" /> >- <button type="submit" class="btn btn-default go_to_batch_edit">Next <i class="fa fa-fw fa-arrow-right"></i></button> >- </fieldset> >- </form> > </div> >+ <fieldset class="action"> >+ <input type="hidden" name="op" value="batch_edit" /> >+ <input type="hidden" name="basketno" value="[% basket.basketno | html %]" /> >+ <button type="submit" class="btn btn-primary go_to_batch_edit">Next <i class="fa fa-fw fa-arrow-right"></i></button> >+ </fieldset> >+</form> > > [% ELSIF op == "batch_edit" %] > >@@ -260,7 +260,7 @@ Acquisitions › Koha > <input type="hidden" name="basketno" value="[% basket.basketno | html %]" /> > <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order --> > <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" /> >- <button type="submit" class="btn btn-default">Duplicate orders</button> >+ <button type="submit" class="btn btn-primary">Duplicate orders</button> > <a class="cancel" href="/cgi-bin/koha/acqui/duplicate_orders.pl?basketno=[% basket.basketno | html %]">Cancel</a> > </fieldset> > </form> >-- >2.34.1
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 33082
:
147471
|
147472
|
148240