aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)