From ae702def717f990d9e9e3481ac9df02bec5f5710 Mon Sep 17 00:00:00 2001
From: Fridolin Somers <fridolin.somers@biblibre.com>
Date: Fri, 31 Jan 2014 14:47:09 +0100
Subject: [PATCH] Bug 11649 - Always use words "copy number" - opac prog

In most cases, the value of items.copynumber is displayed using the words "Copy number". But in some cases, it is just "Copy".
It would be better to always use "Copy number" because in translation the word "Copy" means the action of coping.

This patch manages templates of opac prog theme.

To test, display an item containing a value in items.copynumber.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
---
 koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css                 |    2 +-
 koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt |    2 +-
 koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt         |    2 +-
 koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt        |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css b/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
index c59ecd7..27fbfa2 100644
--- a/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
+++ b/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
@@ -498,7 +498,7 @@ body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.expiration_date:before
 body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.place_on_type:before {content: "Place On : ";}
 body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.branch:before {content: "Pickup Location : ";}
 
-body#opac-holds #bibitemloop table td.copy:before {content: "Copy : ";}
+body#opac-holds #bibitemloop table td.copynumber:before {content: "Copy Number : ";}
 body#opac-holds #bibitemloop table td.itype:before {content: "Item Type : ";}
 body#opac-holds #bibitemloop table td.barcode:before {content: "Barcode : ";}
 body#opac-holds #bibitemloop table td.homebranch:before {content: "Home Library : ";}
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt
index a1da668..39cecbe 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-course-details.tt
@@ -43,7 +43,7 @@
                         <th>Location</th>
                         <th>Collection</th>
                         <th>Call number</th>
-                        <th>Copy</th>
+                        <th>Copy number</th>
                         <th>Status</th>
                         <th>Date due</th>
                         <th>Notes</th>
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
index a4003cb..3f3ade7 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
@@ -1508,7 +1508,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
             <th id="item_callnumber" class="call_no">Call number</th>
             [% IF ( itemdata_enumchron ) %]<th id="item_enumchron" class="vol_info">Vol info</th>[% END %]
             [% IF ( itemdata_uri ) %]<th id="item_url" class="url">url</th>[% END %]
-            [% IF ( itemdata_copynumber ) %]<th id="item_copy" class="copynumber">Copy</th>[% END %]
+            [% IF ( itemdata_copynumber ) %]<th id="item_copy" class="copynumber">Copy number</th>[% END %]
             <th id="item_status" class="status">Status</th>
             [% IF ( itemdata_itemnotes ) %]<th id="item_notes" class="notes">Notes</th>[% END %]
             <th id="item_datedue" class="date_due">Date due</th>
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
index b2e20c4..4f1882d 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
@@ -469,7 +469,7 @@
                         <table class="copiesrow" id="copiesrow_[% bibitemloo.biblionumber %]">
                           <caption>Select a specific copy:</caption>
                           <tr>
-                            <th>Copy</th>
+                            <th>Copy number</th>
                             [% IF ( item_level_itypes ) %]
                               <th>Item type</th>
                             [% END %]
@@ -487,7 +487,7 @@
 
                           [% FOREACH itemLoo IN bibitemloo.itemLoop %]
                             <tr class="[% itemLoo.backgroundcolor %]">
-                              <td class="copy">
+                              <td class="copynumber">
                                 [% IF ( itemLoo.available ) %]
                                   <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]"
                                          value="[% itemLoo.itemnumber %]" />
-- 
1.7.10.4