aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-29 11:55:20 +0300
committerBonfaceKilz2024-08-29 14:51:30 +0300
commit3285757d2e5846089ed1f688e4f9cf448dde378a (patch)
tree88b24bfa124285bd1f65ea38f115fb2407d59588
parentd600e91463d526462761a3ab1decabf0033944a6 (diff)
downloadgenenetwork2-3285757d2e5846089ed1f688e4f9cf448dde378a.tar.gz
Move genewiki template to wiki template folder.
* gn2/wqflask/templates/genewiki.html: Move this... * gn2/wqflask/templates/genewiki.html: ... here. * gn2/wqflask/views.py (display_genewiki_page): Update the render_template page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn2/wqflask/templates/wiki/genewiki.html (renamed from gn2/wqflask/templates/genewiki.html)0
-rw-r--r--gn2/wqflask/views.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/genewiki.html b/gn2/wqflask/templates/wiki/genewiki.html
index 63f36741..63f36741 100644
--- a/gn2/wqflask/templates/genewiki.html
+++ b/gn2/wqflask/templates/wiki/genewiki.html
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index baed268b..d40cfdb7 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -1230,7 +1230,7 @@ def display_genewiki_page(symbol: str):
)
).json()
return render_template(
- "genewiki.html",
+ "wiki/genewiki.html",
symbol=symbol,
wiki=wiki
)