From c35d8640d1848e43aeb668cfa4ca704ca47fee0f Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 12 Sep 2012 16:50:12 -0400 Subject: [PATCH] TPAC - Use entire copy count line as link Instead of showing a little "Show" link, just make the entire line a link. From context it should be obvious that the link will show those copies. Signed-off-by: Thomas Berezansky --- Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 index 25a8257e0a..288c31b14c 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 @@ -17,12 +17,14 @@ displayed_ous.$ou_name = 1; %]
  • - [% l('[_1] of [quant,_2,copy,copies] at [_3].', ou_avail, ou_count, ou_name) | html %] [%- this_depth = ctx.get_aou(ou_id).ou_type.depth; IF ou_avail > 0 && this_depth != ctx.copy_depth %] - [%- l('(Show)'); %] + [%- END; %] + [% l('[_1] of [quant,_2,copy,copies] at [_3].', ou_avail, ou_count, ou_name) | html %] + [%- IF ou_avail > 0 && this_depth != ctx.copy_depth -%] + [%- END; %]
  • [%- depth = depth + 1; -- 2.11.0