]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/opac/parts/record/refworks.tt2
lp1481844 Change Available Copies Display
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / record / refworks.tt2
1 [%-
2     # Default to the root of the org unit tree in the absence of a specific library
3     loc = ctx.search_ou;
4
5     # Get the full name of the library
6     ou_name = ctx.get_aou(loc).name | uri;
7
8     # Generate the gross RefWorks URL, based on parameters from config.tt2
9     rw_uri = ctx.refworks.url _ 
10         '/express/expressimport.asp?vendor=' _
11         ou_name _
12         '&filter=MARC+Format&database=All+MARC+Formats&' _
13         'encoding=65001&url=http%3A%2F%2F' _
14         CGI.server_name _ 
15         '/opac/extras/supercat/marctxt/record/' _ 
16         ctx.bre_id;
17 %]
18 <div class="rdetail_aux_utils rdetail_refworks">
19     <a href="[% rw_uri %]" rel="nofollow" vocab=""><img src="/images/starz.png" alt="" />[% l('Export to RefWorks') %]</a>
20 </div>