diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-28 15:48:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-28 16:00:30 +0200 |
commit | 1f545e80b4db2aa371be48e3bce7de8f32d557d3 (patch) | |
tree | c879a3d074bf4f9fb30b56bb22eb1844a24c0c40 /client/src/app | |
parent | 77662dae240e6a60e0c5e659e79d48df8d6a5e99 (diff) | |
download | PeerTube-1f545e80b4db2aa371be48e3bce7de8f32d557d3.tar.gz PeerTube-1f545e80b4db2aa371be48e3bce7de8f32d557d3.tar.zst PeerTube-1f545e80b4db2aa371be48e3bce7de8f32d557d3.zip |
Hide all email block if we can't change it
Diffstat (limited to 'client/src/app')
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html index d85be846b..30ae9dd55 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html | |||
@@ -5,7 +5,7 @@ | |||
5 | <strong>{{ user.pendingEmail }}</strong> is awaiting email verification | 5 | <strong>{{ user.pendingEmail }}</strong> is awaiting email verification |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form" *ngIf="user.pluginAuth === null"> | 8 | <form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form"> |
9 | 9 | ||
10 | <div class="form-group"> | 10 | <div class="form-group"> |
11 | <label i18n for="new-email">Change your email</label> | 11 | <label i18n for="new-email">Change your email</label> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html index d9e833019..42a8d0856 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html | |||
@@ -62,7 +62,7 @@ | |||
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
64 | 64 | ||
65 | <div class="row mt-5"> <!-- email grid --> | 65 | <div class="row mt-5" *ngIf="user.pluginAuth === null"> <!-- email grid --> |
66 | <div class="col-12 col-lg-4 col-xl-3"> | 66 | <div class="col-12 col-lg-4 col-xl-3"> |
67 | <h2 i18n class="account-title">EMAIL</h2> | 67 | <h2 i18n class="account-title">EMAIL</h2> |
68 | </div> | 68 | </div> |