Merge branch 'rel_2_7_mergery' into rel_2_7_mergery_tpac
authorDan Scott <dscott@laurentian.ca>
Thu, 5 Mar 2015 17:54:05 +0000 (12:54 -0500)
committerDan Scott <dscott@laurentian.ca>
Thu, 5 Mar 2015 17:54:05 +0000 (12:54 -0500)
1  2 
Open-ILS/src/templates/opac/parts/misc_util.tt2
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/src/templates/opac/results.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 = ' <span class="rdetail-author-div"' _ iprop _ ' resource="' _ contrib_ref _ '"><a href="' _ url _ '"><span resource="' _ contrib_ref _ '">';
+         authtml = ' <span class="rdetail-author-div"' _ iprop _ ' resource="' _ contrib_ref _ '"><a href="' _ url _ '" rel="nofollow"><span resource="' _ contrib_ref _ '">';
          IF iprop; authtml = authtml _ '<span property="name">'; END;
          authtml = authtml _ link_term.replace('^\s+', '');
          IF iprop; authtml = authtml _ '</span>'; END;