From 77f9c6f5f87a5b0454b240bb10b7cfab325d4722 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 25 Jul 2011 14:15:25 -0400 Subject: [PATCH] Lineitem copies page layout changes Move the Distribution Formula selector above the batch editor widgets mainly so the batch editor widgets sit closer to batch edit target copy grid. Signed-off-by: Bill Erickson Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/web/css/skin/default/acq.css | 3 +- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- .../web/templates/default/acq/common/li_table.tt2 | 52 ++++++++++------------ 3 files changed, 27 insertions(+), 30 deletions(-) diff --git a/Open-ILS/web/css/skin/default/acq.css b/Open-ILS/web/css/skin/default/acq.css index 91fceb416e..6d03933675 100644 --- a/Open-ILS/web/css/skin/default/acq.css +++ b/Open-ILS/web/css/skin/default/acq.css @@ -146,7 +146,8 @@ label[for="attr_search_type_scalar"] { vertical-align: top; } .acq-lit-po-heading td span a[attr="name"] { font-weight: bold; } #acq-lit-info-tbody td {padding:5px;} #acq-lit-info-related { margin-top: 10px; } -#acq-lit-li-details-table {margin-top:5px;} +#acq-lit-distrib-formula-table { margin-top: 10px; margin-bottom: 5px;} +#acq-lit-li-details-table {margin-top:5px; border-top;} #acq-lit-li-details-table td {padding:0px 3px 1px 3px;} #acq-lit-li-details-table th {padding:0px 3px 1px 3px; font-weight:bold;} #acq-lit-li-details-table .dijit {width:130px;} diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index d3dad875fb..bc0c0a8ba8 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -1118,7 +1118,7 @@ function AcqLiTable() { if (!self.distribForms) { // no formulas, hide the form - openils.Util.hide('acq-lit-distrib-formula-tbody'); + openils.Util.hide('acq-lit-distrib-formula-table'); return; } diff --git a/Open-ILS/web/templates/default/acq/common/li_table.tt2 b/Open-ILS/web/templates/default/acq/common/li_table.tt2 index 6f4606c85e..28ef757560 100644 --- a/Open-ILS/web/templates/default/acq/common/li_table.tt2 +++ b/Open-ILS/web/templates/default/acq/common/li_table.tt2 @@ -161,9 +161,7 @@ constraints="{min:0,max:1000,places:0}" style='width:40px' value='0'>
Go
- - - +
Save Changes