From b0ab0f8fc5c7abf190e0d6a1fb52e31d09961de4 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 2 Dec 2013 11:11:25 -0500 Subject: [PATCH] web staff / minor code cleanup Signed-off-by: Bill Erickson --- .../src/templates/staff/circ/patron/t_holds_table.tt2 | 4 +++- .../templates/staff/circ/patron/t_items_out_table.tt2 | 17 ++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) 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 %] -])"> +]); +">
-- 2.11.0