diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-09 13:20:58 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-09 13:20:58 +0100 |
commit | e0fea785bf28966da09cdc16a274c9e750b488f4 (patch) | |
tree | 23a9eb2a78c326e647276703fa42ee8625cd89c6 /client/src/app/+signup/+register/register.component.ts | |
parent | 23cd3129a9f13691c25c1f0935cc781a9aa882db (diff) | |
download | PeerTube-e0fea785bf28966da09cdc16a274c9e750b488f4.tar.gz PeerTube-e0fea785bf28966da09cdc16a274c9e750b488f4.tar.zst PeerTube-e0fea785bf28966da09cdc16a274c9e750b488f4.zip |
add previous button to registration form, with alignment
Diffstat (limited to 'client/src/app/+signup/+register/register.component.ts')
-rw-r--r-- | client/src/app/+signup/+register/register.component.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+signup/+register/register.component.ts b/client/src/app/+signup/+register/register.component.ts index b1f5d8e93..8e89bb01a 100644 --- a/client/src/app/+signup/+register/register.component.ts +++ b/client/src/app/+signup/+register/register.component.ts | |||
@@ -38,7 +38,8 @@ export class RegisterComponent implements OnInit { | |||
38 | moderation: false | 38 | moderation: false |
39 | } | 39 | } |
40 | 40 | ||
41 | defaultNextStepButtonLabel = $localize`Next` | 41 | defaultPreviousStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Back` |
42 | defaultNextStepButtonLabel = $localize`:Button on the registration form to go to the previous step:Next` | ||
42 | stepUserButtonLabel = this.defaultNextStepButtonLabel | 43 | stepUserButtonLabel = this.defaultNextStepButtonLabel |
43 | 44 | ||
44 | private serverConfig: ServerConfig | 45 | private serverConfig: ServerConfig |
@@ -60,7 +61,7 @@ export class RegisterComponent implements OnInit { | |||
60 | 61 | ||
61 | this.videoUploadDisabled = this.serverConfig.user.videoQuota === 0 | 62 | this.videoUploadDisabled = this.serverConfig.user.videoQuota === 0 |
62 | this.stepUserButtonLabel = this.videoUploadDisabled | 63 | this.stepUserButtonLabel = this.videoUploadDisabled |
63 | ? $localize`Signup` | 64 | ? $localize`:Button on the registration form to finalize the account and channel creation:Signup` |
64 | : this.defaultNextStepButtonLabel | 65 | : this.defaultNextStepButtonLabel |
65 | 66 | ||
66 | this.hooks.runAction('action:signup.register.init', 'signup') | 67 | this.hooks.runAction('action:signup.register.init', 'signup') |