diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-11 14:30:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-11 14:31:12 +0200 |
commit | 0ba5f5baade94a051710d9d9d408ac8083c14ac6 (patch) | |
tree | e470a2b546d1d1ac9796b6c8ae3afffccd0aca6c /client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html | |
parent | d1ab89deb79f70c439b58750d044d9cadf1194e5 (diff) | |
download | PeerTube-0ba5f5baade94a051710d9d9d408ac8083c14ac6.tar.gz PeerTube-0ba5f5baade94a051710d9d9d408ac8083c14ac6.tar.zst PeerTube-0ba5f5baade94a051710d9d9d408ac8083c14ac6.zip |
Add ability to change email in client
Diffstat (limited to 'client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html')
-rw-r--r-- | client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html b/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html index 728709ca6..47519c943 100644 --- a/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html +++ b/client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html | |||
@@ -3,13 +3,16 @@ | |||
3 | Verify account email confirmation | 3 | Verify account email confirmation |
4 | </div> | 4 | </div> |
5 | 5 | ||
6 | <my-signup-success i18n *ngIf="success; else verificationError" message="Your email has been verified and you may now login."> | 6 | <my-signup-success i18n *ngIf="!isPendingEmail && success" message="Your email has been verified and you may now login."> |
7 | </my-signup-success> | 7 | </my-signup-success> |
8 | 8 | ||
9 | <ng-template #verificationError> | 9 | <div i18n class="alert alert-success" *ngIf="isPendingEmail && success"> |
10 | <div> | 10 | Email updated. |
11 | <span i18n>An error occurred. </span> | 11 | </div> |
12 | <a i18n routerLink="/verify-account/ask-send-email">Request new verification email.</a> | 12 | |
13 | </div> | 13 | <div *ngIf="failed"> |
14 | </ng-template> | 14 | <span i18n>An error occurred.</span> |
15 | |||
16 | <a i18n routerLink="/verify-account/ask-send-email" [queryParams]="{ isPendingEmail: isPendingEmail }">Request new verification email.</a> | ||
17 | </div> | ||
15 | </div> | 18 | </div> |