aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-30 18:06:25 +0300
committerBonfaceKilz2023-11-30 18:07:49 +0300
commit16045dd44dccd6de38b3ecf13f7f131413e11676 (patch)
tree32ebe5e0743e76194415fee78228a30fc3ff8758
parent78970800809b8abd4af2c64c044cf350876c4baa (diff)
downloadgenenetwork2-16045dd44dccd6de38b3ecf13f7f131413e11676.tar.gz
Fix dataset page links in Phenotypes UI page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--wqflask/wqflask/templates/phenotype.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/phenotype.html b/wqflask/wqflask/templates/phenotype.html
index 7eb86328..9bc958b9 100644
--- a/wqflask/wqflask/templates/phenotype.html
+++ b/wqflask/wqflask/templates/phenotype.html
@@ -90,7 +90,8 @@
<td><b>Database</b></td>
<td>
{% for database in metadata.dataset %}
- <a href="{{ url_for('get_dataset', name='database.identifier' )}}" target="blank">{{ database.prefLabel }}</a> <br/>
+ {% set dataset_url = url_for('get_dataset', name=database.identifier)%}
+ <a href="{{ dataset_url }}" target="blank">{{ database.prefLabel }}</a> <br/>
{% endfor %}
</td>
</tr>