diff options
Diffstat (limited to 'gn2/wqflask/templates/dataset.html')
-rw-r--r-- | gn2/wqflask/templates/dataset.html | 105 |
1 files changed, 91 insertions, 14 deletions
diff --git a/gn2/wqflask/templates/dataset.html b/gn2/wqflask/templates/dataset.html index 06af9d24..6c34305b 100644 --- a/gn2/wqflask/templates/dataset.html +++ b/gn2/wqflask/templates/dataset.html @@ -182,59 +182,136 @@ {% endif %} {% if dataset.experimentType %} - <h3><strong>Experiment Type</strong></h3> + <h3> + <strong>Experiment Type</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=experimentType&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.experimentType|safe }}</div> {% endif %} - {% if dataset.specificity %} - <h2><strong>Specifics of this Dataset</strong></h2> - <div>{{ dataset.specificity }}</div> + {% if dataset.specifics %} + <h3> + <strong>Specifics of this Dataset</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=specifics&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> + <div>{{ dataset.specifics }}</div> {% endif %} {% if dataset.experimentDesignInfo %} - <h3><strong>Experiment Design</strong></h3> + <h3> + <strong>Experiment Design</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=experimentDesignInfo&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.experimentDesignInfo|safe }}</div> {% endif %} {% if dataset.caseInfo %} - <h3><strong>About the Cases Used to Generate this Dataset:</strong></h3> + <h3> + <strong>About the Cases Used to Generate this Dataset:</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=caseInfo&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.caseInfo|safe }}</div> {% endif %} {% if dataset.tissue and dataset.tissueInfo %} - <h3><strong>About the Tissue + <h3> + <strong>About the Tissue {%if dataset.tissue and dataset.tissue.label %}({{ dataset.tissue.label }}) - {% endif %}Used to Generate this Dataset</strong></h3> + {% endif %}Used to Generate this Dataset</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=tissueInfo&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.tissueInfo|safe }}</div> {% endif %} {% if dataset.platform and dataset.platformInfo %} - <h3 title="{{ dataset.platform.label }}"><strong>About the Array Platform</strong></h3> + <h3 title="{{ dataset.platform.label }}"> + <strong>About the Array Platform</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=platformInfo&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.platformInfo|safe }}</div> {% endif %} {% if dataset.processingInfo %} - <h3><strong>About Data Values and Data Processing</strong></h3> + <h3> + <strong>About Data Values and Data Processing</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=processingInfo&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.processingInfo|safe }}</div> {% endif %} {% if dataset.notes %} - <h3><strong>Notes</strong></h3> + <h3> + <strong>Notes</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=notes&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.notes|safe }}</div> {% endif %} {% if dataset.citation|trim %} - <h3><strong>Citation</strong></h3> + <h3> + <strong>Citation</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=citation&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.citation|safe}}</div> {% endif %} {% if dataset.acknowledgement|trim %} - <h3><strong>Acknowledgment</strong></h3> + <h3> + <strong>Acknowledgment</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=acknowledgement&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.acknowledgement|safe}}</div> {% endif %} {% if dataset.contributors %} - <h3><strong>Contributors</strong></h3> + <h3> + <strong>Contributors</strong> + <sup> + [ + <a href="/metadata/edit?type=dcat:Dataset§ion=contributors&name={{ dataset.label}}" target="_blank">edit</a> + ] + </sup> + </h3> <div>{{ dataset.contributors|safe }}</div> {% endif %} </div> |