END;
-%]
</a>
- [%- IF uri.note -%]
- [%- '- <span property="description">' _ uri.note _ '</span>' %]
- [%- ELSE -%]
- [% IF ctx.get_org_setting(ctx.search_ou, 'opac.uri_default_note_text') %]
- [% link_note = ctx.get_org_setting(ctx.search_ou, 'opac.uri_default_note_text') %]
- [% '<span property="description">'; link_note | html; '</span>' %]
- [% END %]
- [%- END -%]
-
-
+ [% INCLUDE "opac/parts/uri_note.tt2" %]
<link property="availability" href="http://schema.org/OnlineOnly" />
[%- IF attrs.gtin13; '<meta property="gtin13" content="' _ attrs.gtin13 _ '" />'; END; %]
<td valign='top'>
<strong>[% l('Electronic resource') %]</strong>
</td>
- <td><a href="[% uri.href %]" class="uri_link" target="_blank">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
+ <td><a href="[% uri.href %]" class="uri_link" target="_blank">[% uri.link | html %]</a>
+ [% INCLUDE "opac/parts/uri_note.tt2" %]
+ </td>
</tr>
[% END %]
[% END %]
--- /dev/null
+[%- IF uri.note -%]
+ [%- '- <span property="description">' _ uri.note _ '</span>' %]
+[%- ELSE -%]
+ [% IF ctx.get_org_setting(ctx.search_ou, 'opac.uri_default_note_text') %]
+ [% link_note = ctx.get_org_setting(ctx.search_ou, 'opac.uri_default_note_text') %]
+ [% '<span property="description">'; link_note | html; '</span>' %]
+ [% END %]
+[%- END -%]
If a URI does not have a 856$z defining a note to display next to
it in the OPAC you can use the opac.uri_default_note_text setting
to define one.
+
+This feature helps to save catalogers time. If your library has
+a note that should be added to a wide range of electronic resources,
+rather than applying the note to all applicable records, you can set
+this setting to an appropriate value, and add an 856$z note for any
+resources that don't meet the criteria.