diff options
author | BonfaceKilz | 2021-11-27 09:14:18 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-27 09:14:57 +0300 |
commit | 98282951acf8bf5ad8a344a8b0f55606ed9e3931 (patch) | |
tree | 8a751df9075f21ac87b0eda1fdba104948d69566 | |
parent | eaf63573e1a78bf9e5c1051875f4e2c10d1dcb77 (diff) | |
download | genenetwork2-98282951acf8bf5ad8a344a8b0f55606ed9e3931.tar.gz |
display_files.html: Place "approved" before "rejected" section
-rw-r--r-- | wqflask/wqflask/templates/display_files.html | 17 |
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%} |