LP1312699 - Small adjustment to selection checkbox html user/kmlussier/lp1312699_hide_circ_history
authorJosh Stompro <stomproj@larl.org>
Thu, 11 Jun 2015 03:27:44 +0000 (22:27 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 18 Aug 2015 04:23:13 +0000 (00:23 -0400)
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/opac/myopac/circ_history.tt2

index a5e99c3..c400bfd 100644 (file)
     <div id='checked_main'>
         <table id="acct_checked_main_header"
             title="[% l('History of Items Checked Out') %]">
-                    <th align="center">
-                    <input type="checkbox" onclick="var inputs=document.getElementsByTagName('input'); for (i = 0; i < inputs.length; i++) { if (inputs[i].name == 'circ_id' && !inputs[i].disabled) inputs[i].checked = this.checked;}"/>
-                    </th>
             <thead>
                 <tr>
+                    <th align="center">
+                        <input type="checkbox" onclick="var inputs=document.getElementsByTagName('input'); for (i = 0; i < inputs.length; i++) { if (inputs[i].name == 'circ_id' && !inputs[i].disabled) inputs[i].checked = this.checked;}"/>
+                    </th>
                     <th>[% l('Title / Author') %]</th>
                     <th>[% l('Checkout Date') %]</th>
                     <th>[% l('Due Date') %]</th>
             <tbody>
                 [% FOR circ IN ctx.circs;
                     attrs = {marc_xml => circ.marc_xml};
-                        <td align="center" style="text-align:center;">
-                          <input type="checkbox" name="circ_id" value="[% circ.circ.id %]" />
-                        </td>
                     PROCESS get_marc_attrs args=attrs; %]
                     <tr>
+                        <td align="center" style="text-align:center;">
+                            <input type="checkbox" name="circ_id" value="[% circ.circ.id %]" />
+                        </td>
                         <td>
                             <a href="[% mkurl(ctx.opac_root _ '/record/' _ circ.circ.target_copy.call_number.record.id) %]" 
                                 [% html_text_attr('title', l('Catalog record [_1]', attrs.title)) %]>