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 acb3f0f81969e6a8ee3387c3c9e20608719c39d8 Author: Kevin Morin <morin@codelutin.com> Date: Fri Oct 27 11:00:23 2017 +0200 fixes #169 Suggest all the user's email addresses when he creates a poll --- pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html index 074437f7..8d8af1ed 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Description.tag.html @@ -10,12 +10,12 @@ it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. #L% @@ -77,9 +77,13 @@ class="c-field c-field--label" name="email" value="{form.model.creatorEmail}" - maxlength="255" disabled={opts.form.model.closed} - placeholder="{__.emailPlaceHolder}"/> + placeholder="{__.emailPlaceHolder}" + list="userEmailAddresses" + autocomplete="off"/> + <datalist if={session.isConnected() && session.getUser().emailAddresses.length > 0} id="userEmailAddresses"> + <option each={emailAddress in session.getUser().emailAddresses} value={emailAddress.emailAddress}> + </datalist> </div> </div> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.