diff options
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 | ||