aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/templates/metadata/dataset.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/metadata/dataset.html b/gn2/wqflask/templates/metadata/dataset.html
index 83415544..23ceb3b5 100644
--- a/gn2/wqflask/templates/metadata/dataset.html
+++ b/gn2/wqflask/templates/metadata/dataset.html
@@ -118,16 +118,16 @@
<div>{{ dataset.caseInfo|safe }}</div>
{% endif %}
- {% if dataset.tissue %}
+ {% if dataset.tissue and dataset.tissueInfo %}
<h3><strong>About the Tissue
{%if dataset.tissue and dataset.tissue.label %}({{ dataset.tissue.label }})
{% endif %}Used to Generate this Dataset</strong></h3>
- <div>{{ dataset.tissue.tissueInfo|safe }}</div>
+ <div>{{ dataset.tissueInfo|safe }}</div>
{% endif %}
- {% if dataset.platform %}
+ {% if dataset.platform and dataset.platformInfo %}
<h3 title="{{ dataset.platform.label }}"><strong>About the Array Platform</strong></h3>
- <div>{{ dataset.platform.platformInfo|safe }}</div>
+ <div>{{ dataset.platformInfo|safe }}</div>
{% endif %}
{% if dataset.processingInfo %}