From: Bill Erickson Date: Fri, 20 Dec 2013 16:42:06 +0000 (-0500) Subject: LP#1268636 more expressive titles in search results X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3e1e2b918368d6b921b9aad2c45e0b0cc0878760;p=evergreen%2Fpines.git LP#1268636 more expressive titles in search results Signed-off-by: Bill Erickson Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 06a7c69436..5faed1dc7c 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -25,7 +25,7 @@ [% INCLUDE 'opac/parts/result/facets.tt2' %]
- [% FOR rec IN ctx.records; @@ -91,7 +91,7 @@ END; -%] -
+
[%- IF attrs.format_label; %] [% attrs.format_label | html %] [% attrs.format_label; %] [%- END %] @@ -110,7 +110,9 @@ END; class='classic_link hide_me' name="googleBooks-link">[% l("Browse in Google Books Search") %] -
+
[% IF args.holdings.size > 0 %]
@@ -232,7 +234,8 @@ END; %]
- +
@@ -294,6 +297,7 @@ END;
l('Place Hold on [_1]', attrs.title)) %] name="place_hold_link" class="no-dec">[% l('Place Hold') %] @@ -305,11 +309,14 @@ END; %] [% ELSE; operation = ctx.mylist.grep(rec.id).size ? "delete" : "add"; - label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); + label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); + title_label = (operation == "add") ? + l("Add [_1] to my list", attrs.title) : + l("Remove [_1] from my list", attrs.title); href = mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => rec.id, anchor => 'record_' _ rec.id}, 1); %] - + title_label) %]> [% label %] @@ -318,11 +325,12 @@ END; [% IF ENV.OILS_CONTENT_CAFE_USER %] [% ident = attrs.isbn_clean || attrs.upc %]
[% l('Library') %] [% l('Shelving location') %]