From 5445a6f8a844cab410cbe87d1d3645699ba98833 Mon Sep 17 00:00:00 2001 From: idoctnef Date: Tue, 11 Oct 2016 09:11:06 +0200 Subject: [PATCH] phone and telegram not mandatory on signup --- www/js/controllers.js | 4 ---- www/templates/settings.html | 2 +- www/templates/signup.html | 10 +++++----- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/www/js/controllers.js b/www/js/controllers.js index bbe9473..4ca131d 100644 --- a/www/js/controllers.js +++ b/www/js/controllers.js @@ -133,10 +133,6 @@ angular.module('starter.controllers', ['pascalprecht.translate']) { return(false); } - if(obj.phone==undefined) - { - return(false); - } if(obj.avatar==undefined) { return(false); diff --git a/www/templates/settings.html b/www/templates/settings.html index 5db22d0..ddd89e9 100644 --- a/www/templates/settings.html +++ b/www/templates/settings.html @@ -10,7 +10,7 @@

- version: CarsInCommon-v010 + version: CarsInCommon-v011

diff --git a/www/templates/signup.html b/www/templates/signup.html index e414ebc..08f6545 100644 --- a/www/templates/signup.html +++ b/www/templates/signup.html @@ -9,15 +9,15 @@
-

{{'Avatar' | translate }}: {{signupData.avatar}}

+

{{'Avatar' | translate }}*: {{signupData.avatar}}