about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-12 11:30:32 +0300
committerFrederick Muriuki Muriithi2023-07-12 11:30:32 +0300
commitf8263ccb64daa5cbeeb0b1d7da3605f825e8acb6 (patch)
tree0a3db2def90b20e48aebe2db89fcb12c986f91b6
parent02ead7e620eafb1609d25096faa759909337caef (diff)
downloadgenenetwork2-f8263ccb64daa5cbeeb0b1d7da3605f825e8acb6.tar.gz
Provide message when there are no diffs.
-rw-r--r--wqflask/wqflask/templates/display_files.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/display_files.html b/wqflask/wqflask/templates/display_files.html
index 08933ee0..80464bb1 100644
--- a/wqflask/wqflask/templates/display_files.html
+++ b/wqflask/wqflask/templates/display_files.html
@@ -18,6 +18,12 @@
 {% endwith %}
 
 <div class="container">
+  {%if (not waiting) and (not approved) and (not rejected)%}
+  <div class="row" style="text-align: left; padding: 5em 0 0 5em;">
+    <span class="glyphicon glyphicon-info-sign text-info"></span>
+    <strong>There are no diffs to act on.</strong>
+  </div>
+  {%endif%}
     {% if waiting %}
     <h2>Files for approval:</h2>
     <div class="row">