From 02462274fd74a84acf8c3bcbad6ecac19d16faf8 Mon Sep 17 00:00:00 2001 From: Fridolin Somers 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 --- 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 @@ Location Collection Call number - Copy + Copy number Status Date due Notes 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 () { Call number [% IF ( itemdata_enumchron ) %]Vol info[% END %] [% IF ( itemdata_uri ) %]url[% END %] - [% IF ( itemdata_copynumber ) %]Copy[% END %] + [% IF ( itemdata_copynumber ) %]Copy number[% END %] Status [% IF ( itemdata_itemnotes ) %]Notes[% END %] Date due 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 @@ - + [% IF ( item_level_itypes ) %] [% END %] @@ -487,7 +487,7 @@ [% FOREACH itemLoo IN bibitemloo.itemLoop %] -
Select a specific copy:
CopyCopy numberItem type
+ [% IF ( itemLoo.available ) %] -- 1.8.5.3