aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-28 17:55:43 +0300
committerBonfaceKilz2024-04-02 13:55:15 +0300
commit42d678a392aeef8fcf261bd850cbe7cd32fdd4c6 (patch)
tree81408ab023e4435a7db0d4a3ace986f9a777e94a /gn2
parent7252ea1ef81530f02af11b3e8fdd333991152815 (diff)
downloadgenenetwork2-42d678a392aeef8fcf261bd850cbe7cd32fdd4c6.tar.gz
Load the edit page on the same page using HTMX.
* gn2/wqflask/templates/dataset.html: Delete target="_blank" for the edit links. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/dataset.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/gn2/wqflask/templates/dataset.html b/gn2/wqflask/templates/dataset.html
index 63141aa3..e4ae34ae 100644
--- a/gn2/wqflask/templates/dataset.html
+++ b/gn2/wqflask/templates/dataset.html
@@ -184,7 +184,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=description&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=description&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -198,7 +198,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=experimentType&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=experimentType&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -212,7 +212,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=specifics&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=specifics&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -226,7 +226,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=experimentDesignInfo&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=experimentDesignInfo&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -240,7 +240,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=caseInfo&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=caseInfo&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -256,7 +256,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=tissueInfo&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=tissueInfo&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -270,7 +270,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=platformInfo&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=platformInfo&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -284,7 +284,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=processingInfo&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=processingInfo&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -298,7 +298,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=notes&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=notes&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
</h3>
@@ -312,7 +312,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=citation&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=citation&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -326,7 +326,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=acknowledgement&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=acknowledgement&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}
@@ -340,7 +340,7 @@
{% if dataset.editable %}
<sup>
[&nbsp;
- <a href="/metadata/edit?type=dcat:Dataset&section=contributors&name={{ dataset.label}}" target="_blank">edit</a>
+ <a href="/metadata/edit?type=dcat:Dataset&section=contributors&name={{ dataset.label}}">edit</a>
&nbsp;]
</sup>
{% endif %}