From 566ebb21d4ec320be5b94b10707e13a792949eee Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 13 Apr 2011 14:48:25 +0000 Subject: [PATCH] Copy LUL details page, sans resolver lookup, into default git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_2_0@1343 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- .../skin/default/xml/rdetail/rdetail_summary.xml | 347 +++++++++++++++++---- 1 file changed, 280 insertions(+), 67 deletions(-) diff --git a/web/opac/skin/default/xml/rdetail/rdetail_summary.xml b/web/opac/skin/default/xml/rdetail/rdetail_summary.xml index 7293a3cf19..fdb3e7cff5 100644 --- a/web/opac/skin/default/xml/rdetail/rdetail_summary.xml +++ b/web/opac/skin/default/xml/rdetail/rdetail_summary.xml @@ -7,11 +7,12 @@ + - - + + + + + @@ -61,8 +75,8 @@ @@ -70,8 +84,8 @@ @@ -79,26 +93,38 @@ - + - - - + + + @@ -110,8 +136,8 @@ @@ -134,8 +160,8 @@ @@ -143,36 +169,125 @@ - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -180,17 +295,17 @@ - @@ -198,8 +313,8 @@ @@ -207,8 +322,13 @@ @@ -216,8 +336,8 @@ @@ -225,8 +345,8 @@ @@ -234,7 +354,7 @@ - + + + +
+ &common.title;
&common.alternate.title; +
&common.former.title; + +
&common.author; @@ -52,8 +66,8 @@ &common.author;
&common.corporate.author;
&common.meeting.name;
&common.isbn;
&common.issn;&common.issn;
&common.edition;
&common.edition; + +
&common.publisher;
&rdetail.detailMain.abstract;
&common.subject.600; + +
&common.subject.610; + +
&common.subject.611; + +
&common.subject.630; + +
&common.subject.648; + +
&common.subjects; + +
&common.subject.651; + +
&common.subject.653; + +
&common.subject.654; + +
&common.subject.655; +
&common.subject.656; + +
&common.subject.657; + +
&common.subject.658; + +
&common.subject.662; + +
&common.general.note;
&common.contents.note;
&common.usage.restrictions; +
&common.performer.note;
&common.additional.authors;
&common.preceding.entry;
&common.succeeding.entry;
&rdetail.summary.online; +
&rdetail.summary.issues_held; + ${holdingsStatement} + +
@@ -273,15 +452,49 @@ config.ids.rdetail.image = 'rdetail_image'; config.ids.rdetail.tor_pic = 'rdetail_tor_pic'; + /* Only clear the resources box once */ + var first_issn = true; + + function subjectMe(tag, item) { + dojo.query(tag).removeClass('hide_me'); + var cgi = new CGI(); + var other_params = [ 'd', 'l', 'r', 'av', 's', 'sd' ]; + var total = ''; + var output = []; + dojo.query( 'subfield:not([code=2])', item ).forEach( function (onesub) { + var subtext = ''; + try { + if (dojo.isIE) { + subtext = onesub.firstChild.nodeValue; + } else { + subtext = onesub.textContent; + } + total += subtext + ' '; + } catch (e) { + return; + } + var current = '' + subtext + '' + output.push(current); + }); + return '' + output.join(' -- ') + '
'; + } + dojo.addOnLoad( function () { - var here = findOrgUnit(getLocation()); - if (getDepth() > 0 || getDepth === 0 ) { - while (getDepth() < findOrgDepth(here)) - here = findOrgUnit( here.parent_ou() ); - } - - dojo.require('openils.BibTemplate'); - new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render(); + setTimeout( function () { + var here = findOrgUnit(getLocation()); + if (getDepth() > 0 || getDepth === 0 ) { + while (getDepth() < findOrgDepth(here)) + here = findOrgUnit( here.parent_ou() ); + } + + dojo.require('openils.BibTemplate'); + new openils.BibTemplate({ record : new CGI().param('r'), org_unit : here.shortname() }).render(); + }, 0); }); ]]> -- 2.11.0