replacing copy_table.tt2 with the correct version
authorChris Sharp <csharp@georgialibraries.org>
Tue, 6 Jan 2015 21:33:18 +0000 (16:33 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 6 Jan 2015 21:33:18 +0000 (16:33 -0500)
Open-ILS/src/templates/kpac/parts/copy_table.tt2

index b0763a7..d8c83d3 100644 (file)
@@ -15,9 +15,9 @@ END;
 <table cellpadding="0" cellspacing="0" border="0" class="item_location_table">
     <tbody>
         <tr class="header">
-            <td class="location">[% l('Location') %]</td>
-            <td class="callnumber">[% l('Call Number') %]</td>
+            <td class="location">[% l('Library System: Library Name') %]</td>
             <td class="shelving_location">[% l('Shelving Location') %]</td>
+            <td class="callnumber">[% l('Call Number') %]</td>
             <td class="status">[% l('Status') %]</td>
         </tr>
         [%- 
@@ -37,24 +37,15 @@ END;
         -%]
         <tr>
             <td class="location">
-           [%  
-              org_obj = ctx.get_aou(copy_info.circ_lib); 
-               IF org_obj.parent_ou;   
-                       parent_org_name = ctx.get_aou(org_obj.parent_ou).name;
-                       org_name = parent_org_name _ ' - ' _ org_obj.name; 
-               ELSE; 
-               org_name = org_obj.name; END;
-               lib_url = ctx.get_org_setting(copy_info.circ_lib, 'lib.info_url');
-               IF lib_url; '<a href="'; lib_url | url; '">'; END;
-               org_name | html
-               %]</td>
-            
+            [%- INCLUDE "opac/parts/library_name_link.tt2"; -%]
+            </td>
+
+            <td class="shelving_location">[% copy_info.copy_location | 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 %]