diff --git a/src/app/access-control/bulk-access/bulk-access.component.html b/src/app/access-control/bulk-access/bulk-access.component.html
index 619ba1888d..cda6b805bc 100644
--- a/src/app/access-control/bulk-access/bulk-access.component.html
+++ b/src/app/access-control/bulk-access/bulk-access.component.html
@@ -10,7 +10,7 @@
-
-
+
{{'admin.access-control.epeople.actions.reset' | translate}}
diff --git a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
index b698d43651..d1e6d70edd 100644
--- a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
+++ b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
@@ -35,7 +35,7 @@ import { FollowLinkConfig } from '../../../shared/utils/follow-link-config.model
import { ActivatedRoute, Router } from '@angular/router';
import { RouterStub } from '../../../shared/testing/router.stub';
import { ActivatedRouteStub } from '../../../shared/testing/active-router.stub';
-import {DisabledDirective} from '../../../shared/disabled-directive';
+import {BtnDisabledDirective} from '../../../shared/btn-disabled.directive';
describe('EPersonFormComponent', () => {
let component: EPersonFormComponent;
@@ -203,7 +203,7 @@ describe('EPersonFormComponent', () => {
}
}),
],
- declarations: [EPersonFormComponent, DisabledDirective],
+ declarations: [EPersonFormComponent, BtnDisabledDirective],
providers: [
{ provide: EPersonDataService, useValue: ePersonDataServiceStub },
{ provide: GroupDataService, useValue: groupsDataService },
diff --git a/src/app/access-control/group-registry/group-form/members-list/members-list.component.html b/src/app/access-control/group-registry/group-form/members-list/members-list.component.html
index 1d0e6b9abd..984442ebc4 100644
--- a/src/app/access-control/group-registry/group-form/members-list/members-list.component.html
+++ b/src/app/access-control/group-registry/group-form/members-list/members-list.component.html
@@ -34,7 +34,7 @@
@@ -114,7 +114,7 @@
diff --git a/src/app/access-control/group-registry/groups-registry.component.html b/src/app/access-control/group-registry/groups-registry.component.html
index 1b834cfdf0..eb00017d8f 100644
--- a/src/app/access-control/group-registry/groups-registry.component.html
+++ b/src/app/access-control/group-registry/groups-registry.component.html
@@ -69,7 +69,7 @@
{
let component: GroupsRegistryComponent;
@@ -172,7 +172,7 @@ describe('GroupsRegistryComponent', () => {
}
}),
],
- declarations: [GroupsRegistryComponent, DisabledDirective],
+ declarations: [GroupsRegistryComponent, BtnDisabledDirective],
providers: [GroupsRegistryComponent,
{ provide: DSONameService, useValue: new DSONameServiceMock() },
{ provide: EPersonDataService, useValue: ePersonDataServiceStub },
diff --git a/src/app/collection-page/delete-collection-page/delete-collection-page.component.html b/src/app/collection-page/delete-collection-page/delete-collection-page.component.html
index f8df2d6af1..6327eed944 100644
--- a/src/app/collection-page/delete-collection-page/delete-collection-page.component.html
+++ b/src/app/collection-page/delete-collection-page/delete-collection-page.component.html
@@ -6,10 +6,10 @@
{{ 'collection.delete.text' | translate:{ dso: dsoNameService.getName(dso) } }}
|
-
diff --git a/src/app/shared/upload/uploader/uploader.component.html b/src/app/shared/upload/uploader/uploader.component.html
index d7795942be..b9e42fa759 100644
--- a/src/app/shared/upload/uploader/uploader.component.html
+++ b/src/app/shared/upload/uploader/uploader.component.html
@@ -35,7 +35,7 @@
{{'uploader.queue-length' | translate}}: {{ uploader?.queue?.length }} | {{ uploader?.queue[0]?.file.name }}
-
+
diff --git a/src/app/submission/form/collection/submission-form-collection.component.html b/src/app/submission/form/collection/submission-form-collection.component.html
index 7f50e5a341..fe9527c266 100644
--- a/src/app/submission/form/collection/submission-form-collection.component.html
+++ b/src/app/submission/form/collection/submission-form-collection.component.html
@@ -25,7 +25,7 @@
class="btn btn-outline-primary"
(blur)="onClose()"
(click)="onClose()"
- [dsDisabled]="(processingChange$ | async) || collectionModifiable == false || isReadonly"
+ [dsBtnDisabled]="(processingChange$ | async) || collectionModifiable == false || isReadonly"
ngbDropdownToggle>
{{ selectedCollectionName$ | async }}
diff --git a/src/app/submission/form/collection/submission-form-collection.component.spec.ts b/src/app/submission/form/collection/submission-form-collection.component.spec.ts
index 4cb40e2293..467f164f89 100644
--- a/src/app/submission/form/collection/submission-form-collection.component.spec.ts
+++ b/src/app/submission/form/collection/submission-form-collection.component.spec.ts
@@ -25,7 +25,7 @@ import { Collection } from '../../../core/shared/collection.model';
import { createSuccessfulRemoteDataObject$ } from '../../../shared/remote-data.utils';
import { DSONameService } from '../../../core/breadcrumbs/dso-name.service';
import { DSONameServiceMock } from '../../../shared/mocks/dso-name.service.mock';
-import {DisabledDirective} from '../../../shared/disabled-directive';
+import {BtnDisabledDirective} from '../../../shared/btn-disabled.directive';
describe('SubmissionFormCollectionComponent Component', () => {
@@ -137,7 +137,7 @@ describe('SubmissionFormCollectionComponent Component', () => {
declarations: [
SubmissionFormCollectionComponent,
TestComponent,
- DisabledDirective
+ BtnDisabledDirective
],
providers: [
{ provide: DSONameService, useValue: new DSONameServiceMock() },
diff --git a/src/app/submission/form/footer/submission-form-footer.component.html b/src/app/submission/form/footer/submission-form-footer.component.html
index f7e8bae792..457a56cc76 100644
--- a/src/app/submission/form/footer/submission-form-footer.component.html
+++ b/src/app/submission/form/footer/submission-form-footer.component.html
@@ -5,7 +5,7 @@
id="discard"
[attr.data-test]="'discard' | dsBrowserOnly"
class="btn btn-danger"
- [dsDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
+ [dsBtnDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
(click)="$event.preventDefault();confirmDiscard(content)">
{{'submission.general.discard.submit' | translate}}
@@ -28,7 +28,7 @@
class="btn btn-secondary"
id="save"
[attr.data-test]="'save' | dsBrowserOnly"
- [dsDisabled]="(processingSaveStatus | async) || !(hasUnsavedModification | async)"
+ [dsBtnDisabled]="(processingSaveStatus | async) || !(hasUnsavedModification | async)"
(click)="save($event)">
{{'submission.general.save' | translate}}
@@ -38,7 +38,7 @@
class="btn"
id="saveForLater"
[attr.data-test]="'save-for-later' | dsBrowserOnly"
- [dsDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
+ [dsBtnDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
(click)="saveLater($event)">
{{'submission.general.save-later' | translate}}
@@ -47,7 +47,7 @@
id="deposit"
[attr.data-test]="'deposit' | dsBrowserOnly"
class="btn btn-success"
- [dsDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
+ [dsBtnDisabled]="(processingSaveStatus | async) || (processingDepositStatus | async)"
(click)="deposit($event)">
{{'submission.general.deposit' | translate}}
diff --git a/src/app/submission/form/footer/submission-form-footer.component.spec.ts b/src/app/submission/form/footer/submission-form-footer.component.spec.ts
index 9071805514..658926834c 100644
--- a/src/app/submission/form/footer/submission-form-footer.component.spec.ts
+++ b/src/app/submission/form/footer/submission-form-footer.component.spec.ts
@@ -16,7 +16,7 @@ import { SubmissionFormFooterComponent } from './submission-form-footer.componen
import { SubmissionRestService } from '../../../core/submission/submission-rest.service';
import { createTestComponent } from '../../../shared/testing/utils.test';
import { BrowserOnlyMockPipe } from '../../../shared/testing/browser-only-mock.pipe';
-import {DisabledDirective} from '../../../shared/disabled-directive';
+import {BtnDisabledDirective} from '../../../shared/btn-disabled.directive';
const submissionServiceStub: SubmissionServiceStub = new SubmissionServiceStub();
@@ -40,7 +40,7 @@ describe('SubmissionFormFooterComponent', () => {
SubmissionFormFooterComponent,
TestComponent,
BrowserOnlyMockPipe,
- DisabledDirective
+ BtnDisabledDirective
],
providers: [
{ provide: SubmissionService, useValue: submissionServiceStub },
diff --git a/src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.html b/src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.html
index 28fa4695fb..cb8dde18c5 100644
--- a/src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.html
+++ b/src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.html
@@ -23,6 +23,6 @@
{{'submission.import-external.source.loading' | translate}}
- {{'submission.import-external.search.button' | translate}}
+ {{'submission.import-external.search.button' | translate}}
diff --git a/src/app/submission/sections/upload/file/edit/section-upload-file-edit.component.html b/src/app/submission/sections/upload/file/edit/section-upload-file-edit.component.html
index 1ce811ce66..b529d9aee4 100644
--- a/src/app/submission/sections/upload/file/edit/section-upload-file-edit.component.html
+++ b/src/app/submission/sections/upload/file/edit/section-upload-file-edit.component.html
@@ -1,7 +1,7 @@
diff --git a/src/app/submission/sections/upload/file/section-upload-file.component.html b/src/app/submission/sections/upload/file/section-upload-file.component.html
index 589e7b6ebf..3567ef5c64 100644
--- a/src/app/submission/sections/upload/file/section-upload-file.component.html
+++ b/src/app/submission/sections/upload/file/section-upload-file.component.html
@@ -19,7 +19,7 @@
diff --git a/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html b/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html
index 0f20e0e927..dc2699b6d1 100644
--- a/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html
+++ b/src/app/system-wide-alert/alert-form/system-wide-alert-form.component.html
@@ -87,7 +87,7 @@
{{ 'system-wide-alert.form.cancel' | translate }}
-
+
{{ 'system-wide-alert.form.save' | translate }}
| |