[Koha-patches] [PATCH] Adding Copy Number column to table of item information on holds pages. Fixes Bug
Owen Leonard
oleonard at myacpl.org
Mon Nov 3 17:05:16 CET 2008
---
.../prog/en/modules/reserve/request.tmpl | 10 ++++++----
.../opac-tmpl/prog/en/modules/opac-reserve.tmpl | 4 ++--
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl
index fcce2b0..0bb111f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl
@@ -184,11 +184,11 @@ if (alreadyreserved > "0"){
</li>
<li> <label for="requestany">Place a hold on the next available copy </label>
- <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
+ <input type="checkbox" id="requestany" name="request" checked="checked" value="Any" />
+ <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
+ <input type="hidden" name="alreadyreserved" value="<!-- TMPL_VAR NAME="alreadyreserved" -->" />
</li>
- <input type="hidden" name="biblioitem" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
- <input type="hidden" name="alreadyreserved" value="<!-- TMPL_VAR NAME="alreadyreserved" -->" />
</ol>
<fieldset class="action">
<!-- TMPL_IF NAME="cardnumber"-->
@@ -213,7 +213,8 @@ if (alreadyreserved > "0"){
<th>Barcode</th>
<th>Home Library</th>
<th>Last Location</th>
- <th>Call number</th>
+ <th>Call no.</th>
+ <th>Copy no.</th>
<th>Information</th>
</tr>
<!-- TMPL_LOOP Name="itemloop" -->
@@ -243,6 +244,7 @@ if (alreadyreserved > "0"){
<td>
<!-- TMPL_VAR NAME="itemcallnumber" -->
</td>
+ <td><!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
<td>
<!-- TMPL_IF Name="onloan" -->
<span class="checkedout">Due <!-- TMPL_VAR NAME="onloan" --></span>
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
index 08d0aa3..1a1c7cc 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
@@ -149,12 +149,12 @@
<!-- TMPL_IF NAME="item-level_itypes" -->
<th>Item Type</th>
<!-- /TMPL_IF -->
- <th>Barcode</th>
<!-- TMPL_UNLESS NAME="singleBranchMode" -->
<th>Home Library</th>
<th>Last Location</th>
<!-- /TMPL_UNLESS -->
<th>Call Number</th>
+ <th>Copy No.</th>
<th>Information</th>
</tr>
<!-- TMPL_LOOP Name="itemloop" -->
@@ -171,12 +171,12 @@
<img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" />
</td>
<!-- /TMPL_IF -->
- <td><!-- TMPL_VAR NAME="barcode" --></td>
<!-- TMPL_UNLESS NAME="singleBranchMode" -->
<td><!-- TMPL_VAR NAME="homebranchname" --></td>
<td><!-- TMPL_VAR NAME="holdingbranchname" --></td>
<!-- /TMPL_UNLESS -->
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
+ <td><!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
<td>
<!-- TMPL_IF Name="date_due" -->
<span class="checkedout">Due <!-- TMPL_VAR NAME="date_due" --></span>
--
1.5.5.GIT
More information about the Koha-patches
mailing list