From 7afe49d2b09c399f1a7dc40942e206e99063372f Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Fri, 2 May 2025 17:08:12 +0200 Subject: [PATCH] 117287: Fixed various layout issues - The unthemed home news didn't stick to the header like the dspace theme - Impersonate user button has additional margin - Submission form loading icon is not translatable - Create resource policy page doesn't have the correct heading (cherry picked from commit 56e45a9f08f15124c4226a48db014b4b150cc24e) --- .../create/resource-policy-create.component.html | 2 +- src/app/submission/form/submission-form.component.html | 2 +- src/app/submission/form/submission-form.component.spec.ts | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/app/shared/resource-policies/create/resource-policy-create.component.html b/src/app/shared/resource-policies/create/resource-policy-create.component.html index 85d0d13e96..207513cc94 100644 --- a/src/app/shared/resource-policies/create/resource-policy-create.component.html +++ b/src/app/shared/resource-policies/create/resource-policy-create.component.html @@ -1,5 +1,5 @@
-

{{'resource-policies.create.page.heading' | translate}} {{targetResourceName}}

+

{{'resource-policies.create.page.heading' | translate}} {{targetResourceName}}

- + { @@ -47,7 +48,9 @@ describe('SubmissionFormComponent', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - imports: [], + imports: [ + TranslateModule.forRoot(), + ], declarations: [ SubmissionFormComponent, TestComponent @@ -60,7 +63,6 @@ describe('SubmissionFormComponent', () => { ChangeDetectorRef, SubmissionFormComponent ], - schemas: [NO_ERRORS_SCHEMA] }).compileComponents(); }));