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 59bdbff4fcbb29c055fccc9447fd9be64ca1ff6b Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri Jul 28 10:54:33 2017 +0200 correction panneaux sondage + trie des sondages --- .../src/main/web/tag/poll/PollCard.tag.html | 20 ++++++++++++++------ .../src/main/web/tag/poll/Polls.tag.html | 4 ++-- 2 files changed, 16 insertions(+), 8 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 96366e19..999696e2 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 @@ -1,9 +1,10 @@ <PollCard class="poll-{opts.poll.status.toLowerCase()}"> <div class="card-actions"> - <a class="info" + <a if={opts.poll.permission} + class="info" title={__.edit} - href="#poll/{opts.poll.id}/vote/{opts.poll.permission}"> + href="#poll/{opts.poll.id}/edit/{opts.poll.permission}"> <i class="fa fa-pencil"></i> </a> <a class="error" @@ -16,9 +17,11 @@ <div class="card-content"> - <div class="poll-title" title={opts.poll.title}> + <a class="poll-title" + title={opts.poll.title} + href="#poll/{opts.poll.id}/result/{opts.poll.permission}"> {opts.poll.title} - </div> + </a> <div class="poll-creator-avatar"> <LetterAvatar name={opts.poll.creatorName} rounded="true"/> @@ -32,9 +35,10 @@ {formatDate(opts.poll.createDate, "LT")} </div> - <div class="poll-votes"> + <a class="poll-votes" + href="#poll/{opts.poll.id}/vote/{opts.poll.permission}"> {opts.poll.voteCount === 0 ? __.noVote : (opts.poll.voteCount + " " + (count === 1 ? __.vote : __.votes))} - </div> + </a> </div> <script type="es6"> @@ -106,5 +110,9 @@ font-size: 1.5em; } + a { + color: var(--default); + } + </style> </PollCard> diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Polls.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Polls.tag.html index 296de2a4..eadb4e2e 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Polls.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Polls.tag.html @@ -55,8 +55,8 @@ require("../components/Search.tag.html"); this.pollToAssignUrlPattern = session.pollenUIContext.uiEndPoint + "/#poll/(.+)/vote/(.+)"; this.pagination = { - order: "title", - desc: false, + order: "topiaCreateDate", + desc: true, pageSize: -1, pageNumber: 0 }; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.