[open-ils-commits] r12884 - in trunk/Open-ILS/web: css/skin/default js/ui/default/acq/common templates/default/acq/common (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 15 15:33:12 EDT 2009
Author: erickson
Date: 2009-04-15 15:33:05 -0400 (Wed, 15 Apr 2009)
New Revision: 12884
Modified:
trunk/Open-ILS/web/css/skin/default/acq.css
trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js
trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2
Log:
added circ_modifier and note fields to li details edit page
Modified: trunk/Open-ILS/web/css/skin/default/acq.css
===================================================================
--- trunk/Open-ILS/web/css/skin/default/acq.css 2009-04-15 19:32:27 UTC (rev 12883)
+++ trunk/Open-ILS/web/css/skin/default/acq.css 2009-04-15 19:33:05 UTC (rev 12884)
@@ -98,8 +98,11 @@
.acq-lit-alt-row td { padding-left:30px; }
#acq-lit-info-tbody td {padding:5px;}
#acq-lit-li-details-table {margin-top:20px;}
-#acq-lit-li-details-table td {padding:0px 10px 0px 10px;}
-#acq-lit-li-details-table th {padding:0px 10px 0px 10px; font-weight:bold;}
+#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;}
+#acq-lit-li-details-table td input {width:100px;}
+
.acq-lit-li-menu-bar {width:99%; text-align:left; border:1px solid #aaa; margin:5px 0px 10px 0px;}
.acq-lit-table-spacer { height:20px; }
.acq-lit-row td[name="selector"] { width:1.5em; font-weight:bold; color:blue; font-size:110%;}
Modified: trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js 2009-04-15 19:32:27 UTC (rev 12883)
+++ trunk/Open-ILS/web/js/ui/default/acq/common/li_table.js 2009-04-15 19:33:05 UTC (rev 12884)
@@ -305,7 +305,7 @@
this._drawBatchCopyWidgets = function() {
var row = this.copyBatchRow;
- dojo.forEach(['fund', 'owning_lib', 'location'],
+ dojo.forEach(['fund', 'owning_lib', 'location', 'circ_modifier'],
function(field) {
if(self.copyBatchRowDrawn) {
self.copyBatchWidgets[field].attr('value', null);
@@ -327,7 +327,7 @@
this.batchCopyUpdate = function() {
var self = this;
- var fields = ['fund', 'owning_lib', 'location'];
+ var fields = ['fund', 'owning_lib', 'location', 'circ_modifier'];
for(var k in this.copyWidgetCache) {
var cache = this.copyWidgetCache[k];
dojo.forEach(fields, function(f) {
@@ -371,7 +371,7 @@
row.setAttribute('copy_id', copy.id());
self.copyWidgetCache[copy.id()] = {};
- dojo.forEach(['fund', 'owning_lib', 'location', 'barcode', 'cn_label'],
+ dojo.forEach(['fund', 'owning_lib', 'location', 'barcode', 'cn_label', 'circ_modifier', 'note'],
function(field) {
var widget = new openils.widget.AutoFieldWidget({
fmObject : copy,
Modified: trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2 2009-04-15 19:32:27 UTC (rev 12883)
+++ trunk/Open-ILS/web/templates/default/acq/common/li_table.tt2 2009-04-15 19:33:05 UTC (rev 12884)
@@ -143,6 +143,7 @@
<td><div name='owning_lib'/></td>
<td><div name='location'/></td>
<td><div name='fund'/></td>
+ <td><div name='circ_modifier'/></td>
<td colspan='3' style='text-align:left;'>
<div dojoType='dijit.form.Button' jsId='acqLitBatchUpdateCopies'>Batch Update</div>
</td>
@@ -168,18 +169,22 @@
<td style='margin-top:30px;'>Owning Branch</td>
<td>Shelving Location</td>
<td>Fund</td>
+ <td>Circ Modifier</td>
<td>Barcode</td>
<td>Callnumber</td>
+ <td>Notes</td>
<td/>
</tr>
</tbody>
- <tbody id='acq-lit-li-details-tbody'>
+ <tbody id='acq-lit-li-details-tbody' class='oils-generic-table'>
<tr id='acq-lit-li-details-row'>
<td><div name='owning_lib'/></td>
<td><div name='location'/></td>
<td><div name='fund'/></td>
+ <td><div name='circ_modifier'/></td>
<td><div name='barcode'/></td>
<td><div name='cn_label'/></td>
+ <td><div name='note'/></td>
<td><div name='delete' dojoType='dijit.form.Button' style='color:red;'>X</div></td>
</tr>
</tbody>
More information about the open-ils-commits
mailing list