From: Dan Scott Date: Thu, 5 Mar 2015 17:54:05 +0000 (-0500) Subject: Merge branch 'rel_2_7_mergery' into rel_2_7_mergery_tpac X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b8cf37c5e3a2a821be18fd39d431157f39fe7eed;p=contrib%2FConifer.git Merge branch 'rel_2_7_mergery' into rel_2_7_mergery_tpac --- b8cf37c5e3a2a821be18fd39d431157f39fe7eed diff --cc Open-ILS/src/templates/opac/parts/record/authors.tt2 index 735b3ef1df,b5cbd381b8..307150c537 --- a/Open-ILS/src/templates/opac/parts/record/authors.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/authors.tt2 @@@ -105,16 -105,12 +105,16 @@@ BLOCK build_author_links END; ELSIF type == 'added'; IF tag.substr(1,2) == '00'; - iprop = ' typeof="Person" property="contributor"'; + iprop = ' typeof="Person" property="contributor'; ELSE; - iprop = ' typeof="Organization" property="contributor"'; + iprop = ' typeof="Organization" property="contributor'; END; + IF relcode; + iprop = iprop _ ' http://id.loc.gov/vocabulary/relators/' _ relcode; + END; + iprop = iprop _ '"'; END; - authtml = ' '; + authtml = ' '; IF iprop; authtml = authtml _ ''; END; authtml = authtml _ link_term.replace('^\s+', ''); IF iprop; authtml = authtml _ ''; END;