This is an automated email from the git hooks/post-receive script. New commit to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 7c630d8a3d013e347c1d50e0097d97566997d03c Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 9 16:34:47 2019 +0200 Proper previous/next buttons when voting --- pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 bbc8ada8..dcb4620a 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 @@ -22,20 +22,20 @@ <div class="align-center"> - <button if={questionToVote > 0} - type="button" + <button type="button" class="c-button c-button--info" tabindex="1" - onclick={previousQuestion}> + onclick={previousQuestion} + disabled={questionToVote === 0}> <i class="fa fa-chevron-left " aria-hidden="true"></i> {_t.previousQuestion} </button> - <button if={questionToVote < poll.questions.length - 1} - type="button" + <button type="button" class="c-button c-button--info" tabindex="1" - onclick={nextQuestion}> + onclick={nextQuestion} + disabled={questionToVote === poll.questions.length - 1}> {_t.nextQuestion} <i class="fa fa-chevron-right " aria-hidden="true"></i> </button> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.