From: Bill Erickson Date: Mon, 2 Dec 2013 16:11:25 +0000 (-0500) Subject: web staff / minor code cleanup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b0ab0f8fc5c7abf190e0d6a1fb52e31d09961de4;p=working%2FEvergreen.git web staff / minor code cleanup Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_holds_table.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_holds_table.tt2 index 749afe8438..12d5edef35 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_holds_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_holds_table.tt2 @@ -26,7 +26,9 @@ holds.setColumns([ [%- FOR col IN COLUMNS %] {label:'[% col.label %]',name:'[% col.name %]'[% IF col.display %],display:true[% END %]}[% IF !loop.last; ','; END -%] [% END %] -])"> +]); +holds.addColumnsForClass('ahr', 'hold'); +">
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 index 0f76b4a761..b85fda4e76 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 @@ -9,13 +9,15 @@ [% COLUMNS = [ -{label => l('Circ ID'), name => 'id', display => 1}, -{label => l('Barcode'), name => 'target_copy.barcode' display => 1}, -{label => l('Due Date'), name => 'due_date' display => 1}, -{label => l('Checkout/Renewal Library'), name => 'circ_lib.shortname' display => 1}, -{label => l('Renewals Remaining'), name => 'renewal_remaining' display => 1}, +{label => l('Circ ID'), name => 'id', display => 1}, +{label => l('Barcode'), name => 'target_copy.barcode' display => 1}, +{label => l('Due Date'), name => 'due_date' display => 1}, +{label => l('Checkout/Renewal Library'), + name => 'circ_lib.shortname' display => 1}, +{label => l('Renewals Remaining'), name => 'renewal_remaining' display => 1}, {label => l('Fines Stopped'), name => 'stop_fines' display => 1}, -{label => l('Title'), name => 'target_copy.call_number.record.simple_record.title', display => 1}, +{label => l('Title'), + name => 'target_copy.call_number.record.simple_record.title', display => 1}, ] %] @@ -25,7 +27,8 @@ items_out.setColumns([ [%- FOR col IN COLUMNS %] {label:'[% col.label %]',name:'[% col.name %]'[% IF col.display %],display:true[% END %]}[% IF !loop.last; ','; END -%] [% END %] -])"> +]); +">