[Koha-patches] [PATCH] [Bug 3262] Adding column for homebranch to catalogue/detail.tmpl

Liz Rea lrea at nekls.org
Tue Dec 14 22:31:26 CET 2010


Seeking sign off, please.

I believe this is a better solution for Bug 3262 than adding yet another syspref. The column, if not wanted or needed, can be suppressed using jquery.
---
 .../prog/en/modules/catalogue/detail.tmpl          |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
index db6fe31..7924d2a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl
@@ -215,7 +215,8 @@ function verify_images() {
         <table>
             <tr>
                 <!-- TMPL_IF NAME="item-level_itypes" --><th>Item type</th><!-- /TMPL_IF -->
-                <th>Location</th>
+                <th>Current Location</th>
+		<th>Home Library</th>
                 <!-- TMPL_IF NAME="itemdata_ccode" --><th>Collection</th><!-- /TMPL_IF -->
                 <th>Call Number</th>
                 <th>Status</th>
@@ -242,7 +243,8 @@ function verify_images() {
                         <!-- /TMPL_IF --></td>
                     <!-- /TMPL_IF -->
                     <td class="location"><!-- TMPL_UNLESS NAME="singlebranchmode" --><!-- TMPL_VAR NAME="branchname" --> <!-- /TMPL_UNLESS --><span class="shelvingloc"><!-- TMPL_VAR NAME="location" --></span> </td>
-                    <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR name="ccode" --></td><!-- /TMPL_IF -->
+                    <td class="homebranch"><!-- TMPL_VAR NAME="homebranch" -->
+		    <!-- TMPL_IF NAME="itemdata_ccode" --><td><!-- TMPL_VAR name="ccode" --></td><!-- /TMPL_IF -->
                     <td class="itemcallnumber"><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
                     <td class="status">
 
-- 
1.5.6.5



More information about the Koha-patches mailing list