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 228449a8a57..3aa488b4953 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
@@ -16,23 +16,23 @@
{{messagePrefix + '.edit' | translate}}
[submitLabel]="submitLabel"
(submitForm)="onSubmit()">
-
-
-
+
{{'admin.access-control.epeople.actions.impersonate' | translate}}
-
+
{{'admin.access-control.epeople.actions.stop-impersonating' | translate}}
-
+
{{'admin.access-control.epeople.actions.delete' | translate}}
diff --git a/src/app/access-control/group-registry/group-form/group-form.component.html b/src/app/access-control/group-registry/group-form/group-form.component.html
index 77a81a8daa0..64a16c3aedd 100644
--- a/src/app/access-control/group-registry/group-form/group-form.component.html
+++ b/src/app/access-control/group-registry/group-form/group-form.component.html
@@ -36,12 +36,12 @@
[displayCancel]="false"
(submitForm)="onSubmit()">
- {{messagePrefix + '.return' | translate}}
+ (click)="delete()" type="button">
{{ messagePrefix + '.actions.delete' | translate}}
diff --git a/src/app/collection-page/collection-form/collection-form.component.ts b/src/app/collection-page/collection-form/collection-form.component.ts
index ebb03df3b98..aae200b4019 100644
--- a/src/app/collection-page/collection-form/collection-form.component.ts
+++ b/src/app/collection-page/collection-form/collection-form.component.ts
@@ -98,9 +98,8 @@ export class CollectionFormComponent extends ComColFormComponent imp
// retrieve all entity types to populate the dropdowns selection
entities$.subscribe((entityTypes: ItemType[]) => {
- entityTypes
- .filter((type: ItemType) => type.label !== NONE_ENTITY_TYPE)
- .forEach((type: ItemType, index: number) => {
+ entityTypes = entityTypes.filter((type: ItemType) => type.label !== NONE_ENTITY_TYPE);
+ entityTypes.forEach((type: ItemType, index: number) => {
this.entityTypeSelection.add({
disabled: false,
label: type.label,
@@ -112,7 +111,7 @@ export class CollectionFormComponent extends ComColFormComponent imp
}
});
- this.formModel = [...collectionFormModels, this.entityTypeSelection];
+ this.formModel = entityTypes.length === 0 ? collectionFormModels : [...collectionFormModels, this.entityTypeSelection];
super.ngOnInit();
this.chd.detectChanges();
diff --git a/src/app/shared/comcol/comcol-forms/comcol-form/comcol-form.component.html b/src/app/shared/comcol/comcol-forms/comcol-form/comcol-form.component.html
index 5d7b092f740..b7b3d344b1e 100644
--- a/src/app/shared/comcol/comcol-forms/comcol-form/comcol-form.component.html
+++ b/src/app/shared/comcol/comcol-forms/comcol-form/comcol-form.component.html
@@ -42,7 +42,7 @@
[formModel]="formModel"
[displayCancel]="false"
(submitForm)="onSubmit()">
-
+
{{ type.value + '.edit.return' | translate }}