From 4b4c52bfa839d29ea77ee52596a854a637d19c3e Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 21 Feb 2011 16:18:33 -0500 Subject: [PATCH] empty case for myopac/holds. use of quant for plural word in i18n. --- .../web/templates/default/opac/myopac/holds.tt2 | 7 ++++++- .../templates/default/opac/parts/result/table.tt2 | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Open-ILS/web/templates/default/opac/myopac/holds.tt2 b/Open-ILS/web/templates/default/opac/myopac/holds.tt2 index bdda327..8babf82 100644 --- a/Open-ILS/web/templates/default/opac/myopac/holds.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/holds.tt2 @@ -87,6 +87,11 @@ + [% IF ctx.holds.size < 1 %] +
+ [% l('No holds found.') %] +
+ [% ELSE %] @@ -212,9 +217,9 @@ [% END %]
+ [% END %] -
testing...
[% l("Are you sure you wish to cancel the selected holds?") %] [% l("Are you sure you wish to suspend the selected holds? If an item has already been selected to fulfill the hold, it will not be suspended") %] diff --git a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 index 64d3bbc..414c8ba 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 @@ -137,9 +137,8 @@
- [% l('[_1] of [_2] [_3] available', - rec.copy_counts.available, rec.copy_counts.visible, - rec.copy_counts.visible == 1 ? 'copy' : 'copies') %] + [% l('[_1] of [quant,_2,copy,copies] available', + rec.copy_counts.available, rec.copy_counts.visible) %]
-- 1.7.2.5