diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/genewiki.html (renamed from gn2/wqflask/templates/generif.html) | 0 | ||||
-rw-r--r-- | gn2/wqflask/views.py | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/generif.html b/gn2/wqflask/templates/genewiki.html index ac815b43..ac815b43 100644 --- a/gn2/wqflask/templates/generif.html +++ b/gn2/wqflask/templates/genewiki.html diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 2442da03..9346c22b 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -1221,7 +1221,7 @@ def display_diffs_users(): @app.route("/genewiki/<symbol>") -def display_generif_page(symbol): +def display_genewiki_page(symbol): """Fetch GeneRIF metadata from GN3 and display it""" entries = requests.get( urljoin( @@ -1230,7 +1230,7 @@ def display_generif_page(symbol): ) ).json() return render_template( - "generif.html", + "genewiki.html", symbol=symbol, entries=entries ) |