aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/display_files.html17
1 files changed, 9 insertions, 8 deletions
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 @@
</div>
{% endif %}
- {% if rejected %}
+ {% if approved %}
<div class="row">
- Rejected Files:
+ Approved Data:
<div class="table-responsive">
<table class="table m-0">
<thead>
@@ -69,7 +69,7 @@
<th scope="col">TimeStamp</th>
</thead>
<tbody>
- {% for data in rejected %}
+ {% for data in approved %}
<tr>
{% set file_url = url_for('metadata_edit.show_diff', name=data.get('file_name')) %}
<td><a href="{{ file_url }}" target="_blank">{{ data.get("resource_id") }}</a></td>
@@ -80,12 +80,12 @@
</tbody>
</table>
</div>
- </div>
+ </div>
{% endif %}
- {% if approved %}
+ {% if rejected %}
<div class="row">
- Approved Data:
+ Rejected Files:
<div class="table-responsive">
<table class="table m-0">
<thead>
@@ -94,7 +94,7 @@
<th scope="col">TimeStamp</th>
</thead>
<tbody>
- {% for data in approved %}
+ {% for data in rejected %}
<tr>
{% set file_url = url_for('metadata_edit.show_diff', name=data.get('file_name')) %}
<td><a href="{{ file_url }}" target="_blank">{{ data.get("resource_id") }}</a></td>
@@ -105,8 +105,9 @@
</tbody>
</table>
</div>
- </div>
+ </div>
{% endif %}
+
</div>
{%endblock%}