Hard-code electronic resource link text instead of using 856$y
authorWilliam Rockwood <wrockwood@tadl.org>
Tue, 14 Aug 2012 18:57:03 +0000 (14:57 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Tue, 14 Aug 2012 18:57:03 +0000 (14:57 -0400)
- set the link to be 'Connect to this resource online' instead of
  using whatever is in the 856$y. There are better ways to do this,
  but this works for now. (A future revision could be conditional,
  only mangling the link text for types of records/resources we
  specify.)

Signed-off-by: William Rockwood <wrockwood@tadl.org>
templates_tadlskin/opac/parts/record/summary.tt2

index 7560a28..ff1a0ee 100644 (file)
@@ -86,7 +86,7 @@ IF num_uris > 0;
     [%- IF num_uris > 1 %]<ul>[% END %]
     [%- FOR uri IN merged_uris %]
         [%- IF num_uris == 1 %]<p class="rdetail_uri">[% ELSE %]<li class="rdetail_uri">[% END %]
-        <a href="[% uri.href %]" class="tbutton medium tadlblue"><span>[% uri.link %]</span></a>[% ' - ' _ uri.note IF uri.note %]
+        <a href="[% uri.href %]" class="tbutton medium tadlblue"><span>Connect to this resource online</span></a>[% ' - ' _ uri.note IF uri.note %]
         [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
     [%- END %]
     [%- IF num_uris > 1 %]</ul>[% END %]