aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-06-08 10:15:13 +0300
committerBonfaceKilz2021-06-08 10:19:10 +0300
commitb8408cea1ba673a4cf562349ed28c26b38f6caab (patch)
tree90cb0897f1e60caf93ce7a1fe57f048510c8d306
parent69f6397c8f07245f10b4e21b23f769567db9b17f (diff)
downloadgenenetwork2-b8408cea1ba673a4cf562349ed28c26b38f6caab.tar.gz
templates: edit_trait: Display edited fields for every modification
-rw-r--r--wqflask/wqflask/templates/edit_trait.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/edit_trait.html b/wqflask/wqflask/templates/edit_trait.html
index c6668683..7d4c65f8 100644
--- a/wqflask/wqflask/templates/edit_trait.html
+++ b/wqflask/wqflask/templates/edit_trait.html
@@ -29,19 +29,17 @@ Submit Trait | Reset
{% if ns.display_cell and i.timestamp == timestamp %}
{% set author = i.author %}
- {% set field = i.diff.field %}
{% set timestamp_ = i.timestamp %}
{% else %}
{% set author = "" %}
- {% set field = "" %}
{% set timestamp_ = "" %}
{% endif %}
<td>{{ timestamp_ }}</td>
- <td>{{ author }} {{ display_cell }}</td>
- <td>{{ field }}</td>
+ <td>{{ author }}</td>
+ <td>{{ i.diff.field }}</td>
<td><pre>{{ i.diff.diff }}</pre></td>
{% set ns.display_cell = False %}
</tr>