branch develop updated (19ee2010 -> c102f0a1)
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 19ee2010 modification du n° de version et import de celui-ci dans le JS new c102f0a1 fix #190 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 c102f0a12ab6f69b4d2e08fd3fa8341b50940da4 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Jan 25 12:28:50 2018 +0100 fix #190 Summary of changes: .../src/main/web/tag/components/LetterAvatar.tag.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 c102f0a12ab6f69b4d2e08fd3fa8341b50940da4 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Jan 25 12:28:50 2018 +0100 fix #190 --- .../src/main/web/tag/components/LetterAvatar.tag.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html index cdf93c1c..046b59af 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html @@ -8,12 +8,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% @@ -28,7 +28,7 @@ <script type="es6"> this.redraw = () => { - if (this.opts.name.trim().length > 0) { + if (this.opts.name && this.opts.name.trim().length > 0) { let nameSplit = this.opts.name.split(); this.avatarLetter = nameSplit[0][0].toUpperCase(); let secondLetter = null; @@ -43,7 +43,7 @@ this.backgroundColor = "hsl(" + hue + ", 68%, 48%)"; } else { this.avatarLetter = "?"; - this.backgroundColor = "#000000"; + this.backgroundColor = "#AAAAAA"; } }; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm