1 [% PROCESS "opac/parts/misc_util.tt2"; %]
4 <div id="carousel_title">Featured books</div>
6 [% FOR entry IN ctx.carousel;
7 attrs = { marc_xml => entry };
8 PROCESS get_marc_attrs args=attrs; %]
10 <img src='[% ctx.media_prefix %]/opac/extras/ac/jacket/medium/r/[% attrs.bibid | uri %]' />
11 <a href="[% mkurl(ctx.opac_root _ '/record/' _ attrs.bibid, {}, 1) %]"
12 title="[% l('Catalog record') %]"><span[%- deemphasize_class -%]>
13 [%- attrs.title.substr(0,attrs.nonfiling_characters) | html %]</span>
14 [%- attrs.title.substr(circ.ATTRS.nonfiling_characters) | html %]</a>