Include the library_id in addition to the RDFa library uri
authorDiane Trout <diane@caltech.edu>
Sat, 18 Jun 2011 20:29:39 +0000 (13:29 -0700)
committerDiane Trout <diane@caltech.edu>
Sat, 18 Jun 2011 20:29:39 +0000 (13:29 -0700)
Hopefully forcing the trailing '/' in the uri won't cause
trouble elsewhere.

htsworkflow/frontend/templates/sample_header.html

index 4444fc160171845fe818f415b7cd5da4febdc9e2..8ef06a84f8e919acdb466bb762008ee8d62c09c4 100644 (file)
@@ -1,7 +1,7 @@
-<div id="librarydetail">
+<div id="librarydetail"  about="{{lib.get_absolute_url}}">
   <div class="library_identity">
     <h2>Library Name</h2>  
-    <b>Library ID</b>: <a href="{{lib.get_absolute_url}}">{{ lib.id }}</a><br/>
+    <b>Library ID</b>: <a href="{{lib.get_absolute_url}}"><span property="libns:library_id">{{ lib.id }}</span></a><br/>
     <b>Name</b>: 
       <span property="libns:name">{{ lib.library_name }}</span>
     <br/>