From cddd68f43d50bb5298e06f71cba7b2b232bd591f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Feb 2013 12:58:46 -0500 Subject: [PATCH] Bug 9674 - Replace YUI buttons and menu on acquisitions pages with Bootstrap Content-Type: text/plain; charset="utf-8" This patch converts the toolbar on acquisitions pages to Bootstrap, replacing YUI button code with Bootstrap markup. To test, view acquisitions pages and confirm that buttons look correct and work correctly: - acqui-home.pl (Acquisitions home page) - booksellers.pl (Acquisitions -> Vendor search) - supplier.pl (Acquisitions -> Vendor search -> Vendor) - aqcontract.pl (Acquisitions -> Vendor search -> Vendor -> Contracts) - uncertainprice.pl (Aquisitions -> Vendor search -> Vendor -> Uncertain prices) View these pages for vendors with and without orders. --- .../prog/en/includes/acquisitions-toolbar.inc | 66 +++++++++----------- 1 file changed, 31 insertions(+), 35 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc index c0654fb..5308b5a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc @@ -1,44 +1,40 @@ -
+
+ [% IF ( booksellerid ) %] +
+ New + + +
+ [% IF ( CAN_user_acquisition_vendors_manage ) %] + [% UNLESS ( basketcount OR subscriptioncount ) %] -
  • Delete vendor
  • + [% END %] [% END %] - [% IF ( CAN_user_acquisition_order_receive && basketcount ) %]
  • Receive shipments
  • [% END %] + [% IF ( CAN_user_acquisition_order_receive && basketcount ) %] + + [% END %] [% ELSE %] -
  • New vendor
  • + [% END %] -
    -- 1.7.9.5