branch develop updated (d8168236 -> b34c6524)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from d8168236 fixes #94 Le flux RSS ne fonctionne pas si pas de permission (même si aucune permission n'est requise) new b34c6524 fixes #95 correction de la modification des votes d'un sondage restreint The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit b34c6524b7ff524e7f59b2265697c70bd790dd94 Author: Kevin Morin <morin@codelutin.com> Date: Thu Aug 3 17:12:11 2017 +0200 fixes #95 correction de la modification des votes d'un sondage restreint Summary of changes: pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit b34c6524b7ff524e7f59b2265697c70bd790dd94 Author: Kevin Morin <morin@codelutin.com> Date: Thu Aug 3 17:12:11 2017 +0200 fixes #95 correction de la modification des votes d'un sondage restreint --- pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 73234456..4ab1a92c 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 @@ -11,7 +11,7 @@ require("../components/HumanInput.tag.html"); <HumanInput onsubmit="{voteInEdition ? updateVote : addVote}"></HumanInput> <div class="current-voter"> <div class="o-field o-field--icon-left o-field--icon-right" - if={poll.canVote} > + if={poll.canVote || voteInEdition} > <i class="fa fa-fw fa-user c-icon"></i> <input class="c-field {c-field--error: !voteInEdition && error && error['voter.name']}" type="text" @@ -21,7 +21,7 @@ require("../components/HumanInput.tag.html"); placeholder={__.authorPlaceHolder} value={poll.voterName}> </div> - <div if={!poll.canVote} + <div if={!poll.canVote && !voteInEdition} class="choices-label"> {__.choices} </div> @@ -31,7 +31,7 @@ require("../components/HumanInput.tag.html"); <ChoiceView choice={choice} center="true"></ChoiceView> </div> <div class="current-choice" - if={poll.canVote}> + if={poll.canVote || voteInEdition}> <input if={pollTypeCheckbox} class="check" type="checkbox" @@ -229,6 +229,7 @@ require("../components/HumanInput.tag.html"); this.onEditVote = (vote) => () => { this.voteInEdition = vote; this.error = null; + this.update(); this.refs.voterName.value = vote.voterName; vote.choice.forEach(choice => { let input = this.refs[choice.choiceId + "_voteValue"]; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm