From 5c71ead0411b834b51bf084c147543208390c310 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 17 Sep 2024 15:13:57 +0300 Subject: Refactor: remove hardcoded links and fix bug for path. --- gn2/wqflask/static/new/javascript/show_trait.js | 2 +- gn2/wqflask/templates/mapping_results.html | 10 +++++----- gn2/wqflask/templates/show_trait_calculate_correlations.html | 2 +- gn2/wqflask/templates/show_trait_statistics.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/static/new/javascript/show_trait.js b/gn2/wqflask/static/new/javascript/show_trait.js index edb2cfab..6d77e130 100644 --- a/gn2/wqflask/static/new/javascript/show_trait.js +++ b/gn2/wqflask/static/new/javascript/show_trait.js @@ -68,7 +68,7 @@ statTableRows.push( }, { vn: "interquartile", pretty: "Interquartile Range", - url: "http://www.genenetwork.org/glossary.html#Interquartile", + url: "{{ url_for('gn_docs_blueprint.glossary') }}#Interquartile", digits: 3 }, { vn: "skewness", diff --git a/gn2/wqflask/templates/mapping_results.html b/gn2/wqflask/templates/mapping_results.html index 2fed79c1..2b1660fd 100644 --- a/gn2/wqflask/templates/mapping_results.html +++ b/gn2/wqflask/templates/mapping_results.html @@ -116,7 +116,7 @@ - + ? @@ -158,27 +158,27 @@