From 64d2e676d6ab04e777a101ea4594f8acd535e84e Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 26 Feb 2024 23:36:34 +0300 Subject: Add extra "edit" buttons to the relevant sections. Signed-off-by: Munyoki Kilyungi --- gn2/wqflask/templates/dataset.html | 105 ++++++++++++++++++++++++++++++++----- 1 file 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 %} -

Experiment Type

+

+ Experiment Type + + [  + edit +  ] + +

{{ dataset.experimentType|safe }}
{% endif %} - {% if dataset.specificity %} -

Specifics of this Dataset

-
{{ dataset.specificity }}
+ {% if dataset.specifics %} +

+ Specifics of this Dataset + + [  + edit +  ] + +

+
{{ dataset.specifics }}
{% endif %} {% if dataset.experimentDesignInfo %} -

Experiment Design

+

+ Experiment Design + + [  + edit +  ] + +

{{ dataset.experimentDesignInfo|safe }}
{% endif %} {% if dataset.caseInfo %} -

About the Cases Used to Generate this Dataset:

+

+ About the Cases Used to Generate this Dataset: + + [  + edit +  ] + +

{{ dataset.caseInfo|safe }}
{% endif %} {% if dataset.tissue and dataset.tissueInfo %} -

About the Tissue +

+ About the Tissue {%if dataset.tissue and dataset.tissue.label %}({{ dataset.tissue.label }}) - {% endif %}Used to Generate this Dataset

+ {% endif %}Used to Generate this Dataset
+ + [  + edit +  ] + +

{{ dataset.tissueInfo|safe }}
{% endif %} {% if dataset.platform and dataset.platformInfo %} -

About the Array Platform

+

+ About the Array Platform + + [  + edit +  ] + +

{{ dataset.platformInfo|safe }}
{% endif %} {% if dataset.processingInfo %} -

About Data Values and Data Processing

+

+ About Data Values and Data Processing + + [  + edit +  ] + +

{{ dataset.processingInfo|safe }}
{% endif %} {% if dataset.notes %} -

Notes

+

+ Notes + + [  + edit +  ] + +

{{ dataset.notes|safe }}
{% endif %} {% if dataset.citation|trim %} -

Citation

+

+ Citation + + [  + edit +  ] + +

{{ dataset.citation|safe}}
{% endif %} {% if dataset.acknowledgement|trim %} -

Acknowledgment

+

+ Acknowledgment + + [  + edit +  ] + +

{{ dataset.acknowledgement|safe}}
{% endif %} {% if dataset.contributors %} -

Contributors

+

+ Contributors + + [  + edit +  ] + +

{{ dataset.contributors|safe }}
{% endif %} -- cgit v1.2.3