Revert "LP#1419977 Map subject headings to schema:about"
authorDan Scott <dscott@laurentian.ca>
Thu, 5 Mar 2015 17:53:05 +0000 (12:53 -0500)
committerDan Scott <dscott@laurentian.ca>
Thu, 5 Mar 2015 17:53:05 +0000 (12:53 -0500)
This reverts commit f29dcccda5e7ce137a42b5ab1f01388fa4f402d7.

Open-ILS/src/templates/opac/parts/record/subjects.tt2

index 14001b6..95bb313 100644 (file)
@@ -30,7 +30,6 @@
     BLOCK render_subject;
         xpath = xpath || '//*[starts-with(@tag,"6")]';
         FOR node IN ctx.marc_xml.findnodes(xpath);
-            '<span property="about">';
             all_terms = [];
             graphics = [];
             FOR subfield IN node.childNodes;
@@ -56,7 +55,6 @@
                 link880.value | html;
                 '</div>';
             END;
-            '</span>';
         END;
     END 
 %]
@@ -70,7 +68,7 @@
             <tbody>
                 <tr>
                     <td class='rdetail_subject_type'>[% subj.label %]</td>
-                    <td class='rdetail_subject_value'>[% content %]</td>
+                    <td class='rdetail_subject_value' property='about'>[% content %]</td>
                 </tr>
             </tbody>
         </table>