org_sname = ctx.get_aou(org_id).shortname;
END;
+ org_obj = ctx.get_aou(copy_info.circ_lib);
+ parent_org_name = ctx.get_aou(org_obj.parent_ou).name;
+
lib_url = ctx.get_org_setting(org_id, 'lib.info_url');
prefer_external_url = ctx.get_org_setting(org_id, 'lib.prefer_external_url');
UNLESS lib_url && prefer_external_url;
lib_url = mkurl(opac_root _ '/library/' _ org_sname, {}, 1);
END;
+ '<span property="name">'; parent_org_name _ ':' | html;'</span>';
+ '<br/> ';
IF lib_url; '<a target="_blank" property="offeredBy" typeof="Library" href="'; lib_url | html; '">'; END;
'<span property="name">'; org_name | html; '</span>';
IF lib_url; '</a>'; END;