From 98282951acf8bf5ad8a344a8b0f55606ed9e3931 Mon Sep 17 00:00:00 2001
From: BonfaceKilz
Date: Sat, 27 Nov 2021 09:14:18 +0300
Subject: display_files.html: Place "approved" before "rejected" section
---
wqflask/wqflask/templates/display_files.html | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
(limited to 'wqflask')
diff --git a/wqflask/wqflask/templates/display_files.html b/wqflask/wqflask/templates/display_files.html
index d5295fb4..2fd7d7ee 100644
--- a/wqflask/wqflask/templates/display_files.html
+++ b/wqflask/wqflask/templates/display_files.html
@@ -58,9 +58,9 @@
{% endif %}
- {% if rejected %}
+ {% if approved %}
- Rejected Files:
+ Approved Data:
@@ -69,7 +69,7 @@
TimeStamp |
- {% for data in rejected %}
+ {% for data in approved %}
{% set file_url = url_for('metadata_edit.show_diff', name=data.get('file_name')) %}
{{ data.get("resource_id") }} |
@@ -80,12 +80,12 @@
-
+
{% endif %}
- {% if approved %}
+ {% if rejected %}
- Approved Data:
+ Rejected Files:
@@ -94,7 +94,7 @@
TimeStamp |
- {% for data in approved %}
+ {% for data in rejected %}
{% set file_url = url_for('metadata_edit.show_diff', name=data.get('file_name')) %}
{{ data.get("resource_id") }} |
@@ -105,8 +105,9 @@
-
+
{% endif %}
+
{%endblock%}
--
cgit v1.2.3