From: Diane Trout Date: Thu, 17 Feb 2011 19:51:06 +0000 (-0800) Subject: Minor RDFa cleanups X-Git-Tag: 0.5.1~2 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=29de2e334c8547b2788811c1f9b8a1ce7e1d08c2 Minor RDFa cleanups I changed the XMLSchema prefix to the example used by the W3c "xsd" instead of the random other sites example "xmls". More importantly the content tag is content and not contents so the places I was trying to replace the human readable value with a standardized number or date were being ignored. Lastly I figured out how to get django 1.1 to spit out a XMLSchema#dateTime value. (which is not XMLSchema#datetime value) --- diff --git a/htsworkflow/frontend/templates/base.html b/htsworkflow/frontend/templates/base.html index ba17cbd..22dad4b 100644 --- a/htsworkflow/frontend/templates/base.html +++ b/htsworkflow/frontend/templates/base.html @@ -5,7 +5,7 @@ version="XHTML+RDFa 1.0" xmlns:xml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:xmls="http://www.w3.org/2001/XMLSchema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:libns="http://jumpgate.caltech.edu/wiki/LibraryOntology#" xml:lang="en" > diff --git a/htsworkflow/frontend/templates/samples/library_detail.html b/htsworkflow/frontend/templates/samples/library_detail.html index 1bbd65b..d073103 100644 --- a/htsworkflow/frontend/templates/samples/library_detail.html +++ b/htsworkflow/frontend/templates/samples/library_detail.html @@ -98,7 +98,7 @@ {{ lib.made_by }}
Creation Date - {{ lib.creation_date }} + {{ lib.creation_date }}
Protocol Stopping Point {{ lib.stopping_point_name }} @@ -129,7 +129,7 @@ {% for result in eland_results %} - {{ result.run_date|date}} + {{ result.run_date|date}} {{ result.cycle }} {{ result.flowcell_id }} {{ result.lane }} @@ -201,7 +201,7 @@ {{ lane.match_codes.U0|intcomma }} {{ lane.match_codes.U1|intcomma }} {{ lane.match_codes.U2|intcomma }} - {{ lane.unique_reads|intcomma }} + {{ lane.unique_reads|intcomma }} {{ lane.match_codes.R0|intcomma }} {{ lane.match_codes.R1|intcomma }} {{ lane.match_codes.R2|intcomma }}