This is an automated email from the git hooks/post-receive script. New commit to branch feature/13_manage_poll in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 659bf95710b7ca85171e853309b6de8fee28dbbb Author: Kevin Morin <morin@codelutin.com> Date: Thu Apr 20 16:06:50 2017 +0200 refs #13 the poll owner can delete the votes --- pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html index daf7f48..983024c 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html @@ -139,15 +139,16 @@ require("./Podium.tag.html"); value={poll.getVoteValue(vote, choice)}> </div> <div class="vote-actions"> - <span class="c-input-group" - if="{!poll.isClosed && vote.permission && (!voteId || voteId != vote.id)}"> + <span class="c-input-group"> <button type="button" - class="c-button c-button--error" + class="c-button c-button--error" + if="{(poll.permission || !poll.isClosed && vote.permission) && (!voteId || voteId != vote.id)}" onclick="{parent.deleteVote(vote)}"> <i class="fa fa-trash"/> </button> <button type="button" - class="c-button c-button--brand" + class="c-button c-button--brand" + if="{!poll.isClosed && vote.permission && (!voteId || voteId != vote.id)}" onclick="{parent.onEditVote(vote)}"> <i class="fa fa-pencil-square-o"/> </button> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.