From 7d0891f9f6f4579b25fcfb68ee462104d0bb3e6c Mon Sep 17 00:00:00 2001 From: Aman Budgujar Date: Fri, 3 Mar 2023 10:48:34 +0530 Subject: [PATCH] Revert "Changes associated with #2026" This reverts commit 0090088cb3d038b36e3fdf79f4731fa03c731c9c. --- .../eperson-form/eperson-form.component.html | 3 +-- .../eperson-form/eperson-form.component.ts | 12 ------------ .../eperson-group-list.component.html | 7 ------- src/assets/i18n/en.json5 | 10 ---------- 4 files changed, 1 insertion(+), 31 deletions(-) diff --git a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html index 7386177ea0..e9cc48aee3 100644 --- a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html +++ b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html @@ -13,13 +13,12 @@ [formGroup]="formGroup" [formLayout]="formLayout" [displayCancel]="false" - [submitLabel]="submitLabel" (submitForm)="onSubmit()">
-
+
diff --git a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts index 6c2a850846..c5c9f8f954 100644 --- a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts +++ b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts @@ -164,16 +164,6 @@ export class EPersonFormComponent implements OnInit, OnDestroy { * Whether or not this EPerson is currently being impersonated */ isImpersonated = false; - - /** - * A boolean that indicate if to display EPersonForm's Rest password button - */ - displayResetPassword = false; - - /** - * A string that indicate the label of Submit button - */ - submitLabel = 'form.create'; /** * Subscription to email field value change @@ -198,8 +188,6 @@ export class EPersonFormComponent implements OnInit, OnDestroy { this.epersonInitial = eperson; if (hasValue(eperson)) { this.isImpersonated = this.authService.isImpersonatingUser(eperson.id); - this.displayResetPassword = true; - this.submitLabel = 'form.submit'; } })); } diff --git a/src/app/shared/eperson-group-list/eperson-group-list.component.html b/src/app/shared/eperson-group-list/eperson-group-list.component.html index e5bed22480..6ee5aad943 100644 --- a/src/app/shared/eperson-group-list/eperson-group-list.component.html +++ b/src/app/shared/eperson-group-list/eperson-group-list.component.html @@ -14,8 +14,6 @@ {{'resource-policies.form.eperson-group-list.table.headers.id' | translate}} {{'resource-policies.form.eperson-group-list.table.headers.name' | translate}} - {{'resource-policies.form.eperson-group-list.table.headers.identity' | translate}} - {{'resource-policies.form.eperson-group-list.table.headers.collcomm' | translate}} {{'resource-policies.form.eperson-group-list.table.headers.action' | translate}} @@ -24,11 +22,6 @@ [class.table-primary]="isSelected(entry) | async"> {{entry.id}} {{dsoNameService.getName(entry)}} - - {{'resource-policies.form.eperson-group-list.cell.email' | translate}} {{entry.email}}
- {{'resource-policies.form.eperson-group-list.cell.netid' | translate}} {{entry.netid}} - - {{(entry.object | async)?.payload?.name}}