Browse Source

phone and telegram not mandatory on signup

master
idoctnef 8 years ago
parent
commit
5445a6f8a8
3 changed files with 6 additions and 10 deletions
  1. +0
    -4
      www/js/controllers.js
  2. +1
    -1
      www/templates/settings.html
  3. +5
    -5
      www/templates/signup.html

+ 0
- 4
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);

+ 1
- 1
www/templates/settings.html

@ -10,7 +10,7 @@
</select>
</label>
<p>
version: CarsInCommon-v010
version: CarsInCommon-v011
</p>
</ion-content>
</ion-view>

+ 5
- 5
www/templates/signup.html

@ -9,15 +9,15 @@
<form ng-submit="doSignup()">
<div class="list">
<label class="item item-input">
<span class="input-label">{{'Username' | translate }}</span>
<span class="input-label">{{'Username' | translate }}*</span>
<input type="text" ng-model="signupData.username">
</label>
<label class="item item-input">
<span class="input-label">{{'Password' | translate }}</span>
<span class="input-label">{{'Password' | translate }}*</span>
<input type="password" ng-model="signupData.password">
</label>
<label class="item item-input">
<span class="input-label">{{'Mail' | translate }}</span>
<span class="input-label">{{'Mail' | translate }}*</span>
<input type="email" ng-model="signupData.mail">
</label>
<label class="item item-input">
@ -29,14 +29,14 @@
<input type="text" ng-model="signupData.telegram">
</label>
<label class="item item-input">
<span class="input-label">{{'Description' | translate }}</span>
<span class="input-label">{{'Description' | translate }}*</span>
<input type="text" ng-model="signupData.description">
</label>
<!--<label class="item item-input">
<span class="input-label">{{'Avatar' | translate }}</span>
<input type="text" ng-model="signupData.avatar">
</label>-->
<p>{{'Avatar' | translate }}: <b>{{signupData.avatar}}</b></p>
<p>{{'Avatar' | translate }}*: <b>{{signupData.avatar}}</b></p>
<img ng-repeat="avatar in avatars" ng-click="avatarSelect('{{avatar}}')" ng-src="img/avatars/{{avatar}}.png" class="o-imgSelectAvatar" >
<label class="item">

Loading…
Cancel
Save