diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-12-08 15:37:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-11 09:26:40 +0100 |
commit | 67b1d3fed765278bdc876cce393ef56d56942df0 (patch) | |
tree | 4b893b8503ca29869c5fd7eb69e7a98dacd4d27f /client/src/app/+admin/users/user-edit/user-edit.component.html | |
parent | 2c2baef6f30625794cf1f4f72c184527a4d82562 (diff) | |
download | PeerTube-67b1d3fed765278bdc876cce393ef56d56942df0.tar.gz PeerTube-67b1d3fed765278bdc876cce393ef56d56942df0.tar.zst PeerTube-67b1d3fed765278bdc876cce393ef56d56942df0.zip |
cleanup and remove paramSubs
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-edit.component.html')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.component.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html index 6944ec435..3ce246771 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/users/user-edit/user-edit.component.html | |||
@@ -82,10 +82,12 @@ | |||
82 | <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid"> | 82 | <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid"> |
83 | </form> | 83 | </form> |
84 | 84 | ||
85 | <div *ngIf="!isCreation()"> | ||
85 | <div class="account-title" i18n>Danger Zone</div> | 86 | <div class="account-title" i18n>Danger Zone</div> |
86 | 87 | ||
87 | <p i18n>Send a link to reset the password by mail to the user.</p> | 88 | <p i18n>Send a link to reset the password by mail to the user.</p> |
88 | <button (click)="resetPassword()" i18n>Ask for new password</button> | 89 | <button style="margin-top:0;" (click)="resetPassword()" i18n>Ask for new password</button> |
89 | 90 | ||
90 | <p class="mt-4" i18n>Manually set the user password</p> | 91 | <p class="mt-4" i18n>Manually set the user password</p> |
91 | <my-user-password userId="userId"></my-user-password> | 92 | <my-user-password userId="userId"></my-user-password> |
93 | </div> \ No newline at end of file | ||