}, collapse_clear_params, 'issues'
);
- "<div class='rdetail-holding-group'><a href='";
+ "<div class='rdetail-holding-group'>";
IF node.children.size;
- collapse_link;
+ # TODO: make images or figure out a CSS trick or
+ # something. I doubt we can count on all OPAC clients
+ # having adequate fonts to cover these Unicode glyphs.
+ "▼ <a href='"; collapse_link;
ELSE;
- expand_link;
+ "► <a href='"; expand_link;
END;
"'>"; node.label; "</a></div>";
ctx.get_aou(item.org_unit).name; "<br />";
FOREACH summary IN item.holding_summaries;
IF summary.holdings;
+ twisty = '▼ ';
link = mkurl(
'', {},
['sid','stype','selimit','sepath','seoffset'], 'issues'
);
link_title = l('Collapse');
ELSE;
+ twisty = '► ';
link = mkurl(
'', {sid => summary.id, stype => summary.summary_type},
['selimit','sepath','seoffset'], 'issues'
);
link_title = l('Expand');
END;
- '<span><a href="' _ link _ '" title="' _ link_title _ '">';
+ '<span>'; twisty;
+ '<a href="' _ link _ '" title="' _ link_title _ '">';
summary.generated_coverage.join(", ");
'</a></span><br />';
IF summary.holdings;