# HG changeset patch # User bsw # Date 1605036217 -3600 # Node ID 5e7d76a32227b31177fef8057d8a9e6c1f47b909 # Parent 09423cf96e9d09818f4a022c307030570b5b5453 Hide discard vote button after voting is closed diff -r 09423cf96e9d -r 5e7d76a32227 app/main/vote/list.lua --- a/app/main/vote/list.lua Mon Nov 09 18:00:14 2020 +0100 +++ b/app/main/vote/list.lua Tue Nov 10 20:23:37 2020 +0100 @@ -568,7 +568,7 @@ view = "show", id = issue.id } - if direct_voter then + if direct_voter and not issue.closed then slot.put("   ") ui.link { attr = { class = "mdl-button mdl-js-button mdl-button--raised" },