From 1e49c836d80575057310b506fd348cb089ae9291 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 15 Jun 2016 10:23:41 -0400 Subject: [PATCH] Bug 16752 - Remove the use of event attributes from some acquisitions templates - Transfer order Content-Type: text/plain; charset="utf-8" This patch removes the use of 'onclick' from the acquisitions transfer order process. The patch also modifies the style of some links and buttons to conform with current guidelines. - Locate an open basket with items in it - Click the 'Transfer' link for a title in the basket - In the pop-up window: - Confirm that the 'Cancel' button at the bottom of the window is a Bootstrap-style button. - Search for a vendor; Confirm that the 'Choose' link is a Bootstrap-style button. - Choose a vendor; Confirm that the 'Choose' link on the following page is a Bootstrap-style button. - Confirm that clicking the 'Choose' button transfers the item to the correct basket. --- .../prog/en/modules/acqui/transferorder.tt | 49 +++++++++++++--------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt index 68e76e4..8f84663 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt @@ -17,9 +17,11 @@ [% IF ( bookselleridfrom ) %] [% END %] @@ -27,7 +29,6 @@ -
@@ -38,7 +39,7 @@
  • From vendor: [% booksellerfromname %]
  • Basket: [% basketfromname %]
  • Order: [% ordernumber %]
  • - +
    [% ELSE %]

    Search for a vendor to transfer from

    @@ -53,7 +54,7 @@ [% END %] - + @@ -62,10 +63,12 @@ [% IF ( basketsloop ) %] - - - - + + + + + + [% FOREACH basket IN basketsloop %] @@ -73,7 +76,7 @@ - [% END %] @@ -86,9 +89,11 @@

    Orders for [% booksellerfromname %]

    Basket (#)Created byDate 
    Basket (#)Created byDate 
    [% basket.basketname %] (#[% basket.basketno %]) [% basket.createdby %] [% basket.creationdate | $KohaDates %]Choose + Choose
    - - - + + + + + [% FOREACH ordersloo IN ordersloop %] @@ -100,7 +105,7 @@ [% IF ( ordersloo.isbn ) %] – [% ordersloo.isbn %][% END %] [% IF ( ordersloo.publishercode ) %]
    Publisher :[% ordersloo.publishercode %][% END %] - + [% END %] @@ -115,14 +120,16 @@ [% IF ( booksellersloop ) %]
    OrderSummary 
    OrderSummary 
    TransferTransfer
    - - + + + + [% FOREACH bookseller IN booksellersloop %] - + [% END %] @@ -133,7 +140,9 @@ [% END %] - + + -[% INCLUDE 'intranet-bottom.inc' %] + + -- 2.1.4
    Name 
    Name 
    [% bookseller.name %]ChooseChoose