|
36 | 36 | .tips.username-tips(ng-show="vm.usernameTips")
|
37 | 37 | h3 Username Tips:
|
38 | 38 |
|
39 |
| - p This will be public to other members |
| 39 | + p Your username will be public |
40 | 40 |
|
41 |
| - p Between 2 and 15 characters |
| 41 | + p Please choose one that is between 2 and 15 characters |
42 | 42 |
|
43 |
| - p Can contain numbers and letters |
44 |
| - |
45 |
| - p You can always change it later |
| 43 | + p It can contain letters, numbers, and these characters: -_.{}[] |
46 | 44 |
|
47 | 45 | .form-errors
|
48 |
| - p.form-error(ng-show="vm.registerForm.username.$error.usernameIsFree") This username already exists. |
| 46 | + p.form-error(ng-show="vm.registerForm.username.$dirty && vm.registerForm.username.$error.usernameIsFree", ng-bind="vm.usernameErrorMessage") |
49 | 47 |
|
50 |
| - p.form-error(ng-show="vm.registerForm.username.$error.minlength || vm.registerForm.username.$error.maxlength") Username must be between 2 and 15 characters. |
| 48 | + p.form-error(ng-show="vm.registerForm.username.$dirty && (vm.registerForm.username.$error.minlength || vm.registerForm.username.$error.maxlength)") That username is not the correct length or format. |
51 | 49 |
|
52 | 50 | .validation-bar(ng-class="{ 'error-bar': (vm.registerForm.email.$dirty && vm.registerForm.email.$invalid), 'success-bar': (vm.registerForm.email.$valid) }")
|
53 | 51 | input(right-placeholder, focused-placeholder="Email", ng-model="vm.email", ng-model-options="{ debounce: {'default': 500} }", ng-focus="vm.emailTips = true", ng-blur="vm.emailTips = false", name="email", placeholder="Enter Your Email", type="email", valid-email, email-is-available, required)
|
54 | 52 |
|
55 | 53 | .tips.email-tips(ng-show="vm.emailTips")
|
56 | 54 | h3 Email Tips:
|
57 | 55 |
|
58 |
| - p This will be private and not shared with anyone. |
| 56 | + p Your email address will be private and not shared with anyone. |
59 | 57 |
|
60 |
| - p We will occasionally send you emails related to your account or interests. |
| 58 | + p We'll occasionally send you emails related to your activities or interests. |
61 | 59 |
|
62 | 60 | .form-errors
|
63 | 61 | p.form-error(ng-show="vm.registerForm.email.$dirty && (vm.registerForm.email.$error.emailIsAvailable || vm.registerForm.email.$error.validEmail)", ng-bind="vm.emailErrorMessage")
|
|
70 | 68 | .tips.password-tips(ng-show="vm.passwordFocus")
|
71 | 69 | h3 Password Tips:
|
72 | 70 |
|
73 |
| - p(ng-class="{ 'has-length-between-range': (vm.registerForm.password.$dirty && !vm.registerForm.password.$error.minlength && !vm.registerForm.password.$error.maxlength && !vm.registerForm.password.$error.required) }") Must be between 8 and 64 characters |
| 71 | + p Your password must have: |
| 72 | + |
| 73 | + p(ng-class="{ 'has-length-between-range': (vm.registerForm.password.$dirty && !vm.registerForm.password.$error.minlength && !vm.registerForm.password.$error.maxlength && !vm.registerForm.password.$error.required) }") At least 8 characters |
74 | 74 |
|
75 | 75 | p(ng-class="{ 'has-letter': (vm.registerForm.password.$dirty && !vm.registerForm.password.$error.hasLetter) }") At least one letter
|
76 | 76 |
|
77 | 77 | p(ng-class="{ 'has-symbol-or-number': (vm.registerForm.password.$dirty && !vm.registerForm.password.$error.hasSymbolOrNumber) }") At least one number or symbol
|
78 | 78 |
|
79 |
| - button(type="submit", ng-disabled="vm.registerForm.$invalid", ng-class="{'enabled-button': vm.registerForm.$valid}") Join |
| 79 | + button(type="submit", ng-disabled="vm.registerForm.$invalid", ng-class="{'enabled-button': vm.registerForm.$valid}") Join Now |
80 | 80 |
|
81 | 81 | section.terms
|
82 |
| - p By clicking "JOIN" I agree to Topcoder's |
| 82 | + p By clicking "JOIN NOW" you agree to Topcoder's |
83 | 83 |
|
84 | 84 | p #[a(href="http://www.topcoder.com/community/how-it-works/terms/", target="_blank") Terms of Service] and #[a(href="http://www.topcoder.com/community/how-it-works/privacy-policy/", target="_blank") Privacy Policy]
|
85 | 85 |
|
86 | 86 | section.social
|
87 |
| - p Register using another account. |
| 87 | + p Use an existing account to register. |
88 | 88 |
|
89 | 89 | .social-icons
|
90 | 90 | i.fa.fa-github-square(ng-click="vm.socialRegister('github')")
|
91 | 91 | i.fa.fa-facebook-square(ng-click="vm.socialRegister('facebook')")
|
92 | 92 | i.fa.fa-google-plus-square(ng-click="vm.socialRegister('google-oauth2')")
|
93 | 93 |
|
94 |
| - p.redirect Already have an account? |
95 |
| - a(ui-sref="login(vm.$stateParams)") Login. |
| 94 | + p.redirect Already a member? |
| 95 | + a(ui-sref="login(vm.$stateParams)") Log in. |
0 commit comments