KPAC - add shelving location to copy table display
authorMelissa Lefebvre <mlefebvre@biblio.org>
Tue, 27 Nov 2012 18:35:42 +0000 (13:35 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 27 Nov 2012 19:26:54 +0000 (14:26 -0500)
Addition of shelving location information to the display along with the
removal of broken "view library info" javascript link.

Signed-off-by: Melissa Lefebvre <mlefebvre@biblio.org>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/kpac/parts/copy_table.tt2

index 0527f9f..7939987 100644 (file)
@@ -16,9 +16,9 @@ END;
     <tbody>
         <tr class="header">
             <td class="location">[% l('Location') %]</td>
-            <td class="loc_info">&nbsp;</td>
-            <td class="status">[% l('Status') %]</td>
             <td class="callnumber">[% l('Call Number') %]</td>
+            <td class="shelving_location">[% l('Shelving Location') %]</td>
+            <td class="status">[% l('Status') %]</td>
         </tr>
         [%- 
         FOR copy_info IN ctx.copies;
@@ -37,13 +37,13 @@ END;
         -%]
         <tr>
             <td class="location">[% ctx.get_aou(copy_info.circ_lib).name | html %]</td>
-            <td class="loc_info"><a href="javascript:;">View Library Info</a></td><!-- TODO -->
-            <td class="status">[% copy_info.copy_status | html %]</td>
             [%- IF has_parts == 'true' %]
             <td class="callnumber">[% l('[_1] ([_2])', callnum, copy_info.part_label) | html %]</td>
             [% ELSE %]
             <td class="callnumber">[% callnum | html %]</td>
             [%- END %]
+            <td class="shelving_location">[% copy_info.copy_location | html %]</td>
+            <td class="status">[% copy_info.copy_status | html %]</td>
         </tr>
         [%- END %]