about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-24 11:48:59 +0300
committerBonfaceKilz2022-05-27 15:17:52 +0300
commit0817605c5feafab3aec0b634c60e140f876094ac (patch)
treecd33b5d1a9b7101597fce4fa24496723787771ae
parent22eeefc8950195505bc265ad03dd803a6bcc0c26 (diff)
downloadgenenetwork2-0817605c5feafab3aec0b634c60e140f876094ac.tar.gz
Ony show the title if there are any changes to be approved/rejected
-rw-r--r--wqflask/wqflask/templates/case_attributes.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/case_attributes.html b/wqflask/wqflask/templates/case_attributes.html
index c71ca96f..d55dcf18 100644
--- a/wqflask/wqflask/templates/case_attributes.html
+++ b/wqflask/wqflask/templates/case_attributes.html
@@ -123,7 +123,9 @@
             </tbody>
         </table>
 
-	<h2>Please Review This Changes</h2>
+	{% if modifications or inserts or deletions %}
+	<h2>Please Review These Changes</h2>
+	{% endif %}
 	{% if modifications %}
 	<h3>Modify Existing Case Attributes</h3>
 	<table class="table table-responsive table-hover table-striped cell-border" id="table-modifications">