Mark library & flowcell as a type in RDF.
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_header.html
index abca499242c4a92b26f3b3faa8349e5ef367d4cd..15ccdae05e5cd0eae02476fe8d36d193c5832c15 100644 (file)
@@ -1,13 +1,14 @@
   <div class="flowcell_identity">
   <h2>About this Flowcell</h2>
-  <b>Flowcell</b>: 
-    <a href="{{flowcell.get_absolute_url}}" property="libns:flowcell_id">{{flowcell.flowcell_id}}</a>{% if user.is_staff %}<a href="{{flowcell.get_admin_url}}"><img class="icon_button" src="/media/img/admin/icon_changelink.gif" alt="Edit"/></a>{% endif%}<br/>
+  <b>Flowcell</b>:
+    <a href="{{flowcell.get_absolute_url}}" property="libns:flowcell_id">{{flowcell.flowcell_id}}</a>{% if user.is_staff %}<a href="{{flowcell.get_admin_url}}"><img class="icon_button" src="/media/img/admin/icon_changelink.gif" alt="Edit"/></a>{% endif%}
+  <br property="rdf:type" content="libns:illumina_flowcell"/>
   <b>Run Date</b>:
     <span property="libns:date" content="{{flowcell.run_date|date:'Y-m-d\TH:i:s'}}" datatype="xsd:dateTime">{{ flowcell.run_date }}</span><br/>
-  <b>Type</b>: 
+  <b>Type</b>:
     <span property="libns:flowcell_type">{{flowcell.flowcell_type}}</span><br/>
   <b>Read Length</b>:
-    <span property="libns:read_length">{{flowcell.read_length}}</span><br/>
+    <span property="libns:read_length" datatype="xsd:decimal">{{flowcell.read_length}}</span><br/>
   <b>Control Lane</b>:
     <span property="libns:control_lane">{{flowcell.control_lane}}</span><br/>