From b1bafff2fb66c7ec506edb1b559dd8abefbe316d Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Thu, 20 Oct 2022 19:57:36 +0300 Subject: [PATCH] fix: Add `value` attributes back to buttons to make the logic work (#4617) --- ietf/templates/liaisons/detail.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ietf/templates/liaisons/detail.html b/ietf/templates/liaisons/detail.html index 63f427f38..5f08d9bbc 100644 --- a/ietf/templates/liaisons/detail.html +++ b/ietf/templates/liaisons/detail.html @@ -229,9 +229,10 @@ {% endif %} {% if liaison.state.slug == 'pending' and can_edit %} - + {% endif %} {% if liaison.state.slug == 'posted' and user|has_role:"Secretariat" %} @@ -243,7 +244,8 @@ {% if liaison.state.slug == 'dead' and can_edit %} {% endif %} {% if liaison.state.slug == 'pending' and can_edit or liaison.state.slug == 'dead' and can_edit %}{% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file