More about-ness
authorDan Scott <dscott@laurentian.ca>
Mon, 9 Feb 2015 20:44:24 +0000 (15:44 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 9 Feb 2015 20:44:24 +0000 (15:44 -0500)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates_laurentian/opac/parts/record/subjects.tt2

index 3aaeb5f..9ff5a0a 100644 (file)
@@ -30,6 +30,7 @@
     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;
@@ -55,6 +56,7 @@
                 link880.value | html;
                 '</div>';
             END;
+            '</span>';
         END;
     END 
 %]
@@ -68,7 +70,7 @@
             <tbody>
                 <tr>
                     <td class='rdetail_subject_type'>[% subj.label %]</td>
-                    <td class='rdetail_subject_value' property='about'>[% content %]</td>
+                    <td class='rdetail_subject_value'>[% content %]</td>
                 </tr>
             </tbody>
         </table>