From b8408cea1ba673a4cf562349ed28c26b38f6caab Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 8 Jun 2021 10:15:13 +0300 Subject: templates: edit_trait: Display edited fields for every modification --- wqflask/wqflask/templates/edit_trait.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wqflask') 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 %} {{ timestamp_ }} - {{ author }} {{ display_cell }} - {{ field }} + {{ author }} + {{ i.diff.field }}
{{ i.diff.diff }}
{% set ns.display_cell = False %} -- cgit v1.2.3