aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-08-02 22:07:06 +0300
committerBonfaceKilz2021-08-03 15:49:50 +0300
commitfbe52a11f4471d928e398f09edc2e243bbbab58a (patch)
treeaf8a582df5f4d3f93a386569327f8eb5972102ed
parent3241306917277278a218270a6691d103df6fee4e (diff)
downloadgenenetwork2-fbe52a11f4471d928e398f09edc2e243bbbab58a.tar.gz
Rename display_files.html -> display_files_admin.html
-rw-r--r--wqflask/wqflask/templates/display_files_admin.html (renamed from wqflask/wqflask/templates/display_files.html)0
-rw-r--r--wqflask/wqflask/views.py3
2 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/display_files.html b/wqflask/wqflask/templates/display_files_admin.html
index 4b4babc4..4b4babc4 100644
--- a/wqflask/wqflask/templates/display_files.html
+++ b/wqflask/wqflask/templates/display_files_admin.html
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 69b432f5..56f9a5eb 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -1399,7 +1399,8 @@ def display_diffs_admin():
files = os.listdir(DIFF_DIR)
files = filter(lambda x: not(x.endswith((".approved", ".rejected"))),
files)
- return render_template("display_files.html",
+ return render_template("display_files_admin.html",
+ files=files)
files=files)