This is an automated email from the git hooks/post-receive script. New commit to branch feature/april in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit f6f55bf7cb50cd05bb537d9e90d59a6d7716836d Author: jcouteau <couteau@codelutin.com> Date: Tue Jan 8 11:06:48 2019 +0100 refs #233 : PollCard ok --- pollen-ui-riot-js/src/main/web/tag/poll/PollCard.tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/PollCard.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/PollCard.tag.html index 083ba258..3337c4ad 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/PollCard.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/PollCard.tag.html @@ -60,9 +60,9 @@ import "../components/Avatar.tag.html"; <span class="poll-votes"> <a href="#poll/{opts.poll.id}/vote/{opts.poll.permission}"> - {opts.poll.voteCount === 0 ? _t.noVote : (opts.poll.voteCount + " " + (count === 1 ? _t.vote : _t.votes))} + {opts.poll.questions[0].voteCount === 0 ? _t.noVote : (opts.poll.questions[0].voteCount + " " + (count === 1 ? _t.vote : _t.votes))} </a> - <a if={opts.poll.maxVoters > 0 &&opts.poll.voteCount > opts.poll.maxVoters} + <a if={opts.poll.maxVoters > 0 &&opts.poll.questions[0].voteCount > opts.poll.maxVoters} class="c-badge c-badge--rounded c-badge--warning" onclick={toggleMaxVoters}>{_l("maxVoters", opts.poll.maxVoters)} </a> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.