diff options
author | Munyoki Kilyungi | 2024-03-28 17:55:43 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-04-02 13:55:15 +0300 |
commit | 42d678a392aeef8fcf261bd850cbe7cd32fdd4c6 (patch) | |
tree | 81408ab023e4435a7db0d4a3ace986f9a777e94a /gn2 | |
parent | 7252ea1ef81530f02af11b3e8fdd333991152815 (diff) | |
download | genenetwork2-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.html | 24 |
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> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=description&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=description&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -198,7 +198,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=experimentType&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=experimentType&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -212,7 +212,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=specifics&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=specifics&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -226,7 +226,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=experimentDesignInfo&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=experimentDesignInfo&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -240,7 +240,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=caseInfo&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=caseInfo&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -256,7 +256,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=tissueInfo&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=tissueInfo&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -270,7 +270,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=platformInfo&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=platformInfo&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -284,7 +284,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=processingInfo&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=processingInfo&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -298,7 +298,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=notes&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=notes&name={{ dataset.label}}">edit</a> ] </sup> </h3> @@ -312,7 +312,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=citation&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=citation&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -326,7 +326,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=acknowledgement&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=acknowledgement&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} @@ -340,7 +340,7 @@ {% if dataset.editable %} <sup> [ - <a href="/metadata/edit?type=dcat:Dataset§ion=contributors&name={{ dataset.label}}" target="_blank">edit</a> + <a href="/metadata/edit?type=dcat:Dataset§ion=contributors&name={{ dataset.label}}">edit</a> ] </sup> {% endif %} |