aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-24 11:49:26 +0300
committerBonfaceKilz2022-05-27 15:17:52 +0300
commit8e1886fdfc34676009a881433fe1b6b96c755ae6 (patch)
tree23c76b34cc6b96dd033afbe0f58fc580b6bc7c08
parent0817605c5feafab3aec0b634c60e140f876094ac (diff)
downloadgenenetwork2-8e1886fdfc34676009a881433fe1b6b96c755ae6.tar.gz
Display description diff-data if it exists
-rw-r--r--wqflask/wqflask/templates/case_attributes.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/case_attributes.html b/wqflask/wqflask/templates/case_attributes.html
index d55dcf18..4c87a522 100644
--- a/wqflask/wqflask/templates/case_attributes.html
+++ b/wqflask/wqflask/templates/case_attributes.html
@@ -145,7 +145,8 @@
<small>Current: </small>{{ data["name"].get("Current") }} <br/>
<small>Diff:</small><br/>
<pre>{{data["name"].get("Diff")}}</pre>
- {% elif data.get("description")%}
+ {% endif %}
+ {% if data.get("description")%}
<b>Description:</b><br/>
<small>Original: </small>{{ data["description"].get("Original") }}<br/>
<small>Current: </small>{{ data["description"].get("Current") }} <br/>