From: Thomas Berezansky Date: Wed, 12 Sep 2012 20:50:12 +0000 (-0400) Subject: TPAC - Use entire copy count line as link X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c35d8640d1848e43aeb668cfa4ca704ca47fee0f;p=working%2FEvergreen.git 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 --- 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;