From f085d88c83c2cd56d45b276a38dfabb9f6a8bf10 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 31 Jan 2014 14:46:20 +0100 Subject: [PATCH] Bug 11649 - Always use words "copy number" - opac bootstrap 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 bootstrap theme. To test, display an item containing a value in items.copynumber. Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt index 622c2a6..d5ff4bc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt @@ -51,7 +51,7 @@ Location Collection Call number - Copy + Copy number Status Date due Notes diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 867cb74..46f73db 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1118,7 +1118,7 @@ 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/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index af6a5a5..e715ff9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -253,7 +253,7 @@ - + [% IF ( item_level_itypes ) %] [% END %] @@ -271,7 +271,7 @@ [% FOREACH itemLoo IN bibitemloo.itemLoop %] -
Select a specific copy:
CopyCopy numberItem type
+ [% IF ( itemLoo.available ) %] [% ELSE %] -- 1.7.10.4