From 96ada8d3d4fbc12d2952a5ec17b04d4da3a3c445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20G=C3=B3mez?= Date: Fri, 20 Sep 2024 15:09:50 +0200 Subject: [PATCH] Update UntypedItemComponent to use ItemPageLicenseFieldComponent rather than ItemPageCcLicenseFieldComponent (fixes #3170) --- .../item-types/untyped-item/untyped-item.component.html | 4 ++-- .../simple/item-types/untyped-item/untyped-item.component.ts | 4 ++-- .../simple/item-types/untyped-item/untyped-item.component.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html index 962cc2fcad8..feaa420bd73 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html @@ -86,8 +86,8 @@ [fields]="['datacite.relation.isReferencedBy']" [label]="'item.page.referenced'"> - - + +
{{"item.page.link.full" | translate}} diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts index a9ef9b2eadf..e56ac166e4d 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts @@ -21,7 +21,7 @@ import { ThemedMediaViewerComponent } from '../../../media-viewer/themed-media-v import { MiradorViewerComponent } from '../../../mirador-viewer/mirador-viewer.component'; import { ThemedFileSectionComponent } from '../../field-components/file-section/themed-file-section.component'; import { ItemPageAbstractFieldComponent } from '../../field-components/specific-field/abstract/item-page-abstract-field.component'; -import { ItemPageCcLicenseFieldComponent } from '../../field-components/specific-field/cc-license/item-page-cc-license-field.component'; +import { ItemPageLicenseFieldComponent } from '../../field-components/specific-field/license/item-page-license-field.component'; import { ItemPageDateFieldComponent } from '../../field-components/specific-field/date/item-page-date-field.component'; import { GenericItemPageFieldComponent } from '../../field-components/specific-field/generic/generic-item-page-field.component'; import { ThemedItemPageTitleFieldComponent } from '../../field-components/specific-field/title/themed-item-page-field.component'; @@ -59,7 +59,7 @@ import { ItemComponent } from '../shared/item.component'; RouterLink, AsyncPipe, TranslateModule, - ItemPageCcLicenseFieldComponent, + ItemPageLicenseFieldComponent, ], }) export class UntypedItemComponent extends ItemComponent {} diff --git a/src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts b/src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts index 6fbb035d2f2..ff3e1c34aed 100644 --- a/src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts +++ b/src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts @@ -17,7 +17,7 @@ import { ThemedMediaViewerComponent } from '../../../../../../../app/item-page/m import { MiradorViewerComponent } from '../../../../../../../app/item-page/mirador-viewer/mirador-viewer.component'; import { ThemedFileSectionComponent } from '../../../../../../../app/item-page/simple/field-components/file-section/themed-file-section.component'; import { ItemPageAbstractFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/abstract/item-page-abstract-field.component'; -import { ItemPageCcLicenseFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component'; +import { ItemPageLicenseFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/license/item-page-license-field.component'; import { ItemPageDateFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/date/item-page-date-field.component'; import { GenericItemPageFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/generic/generic-item-page-field.component'; import { ThemedItemPageTitleFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/title/themed-item-page-field.component'; @@ -64,7 +64,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the RouterLink, AsyncPipe, TranslateModule, - ItemPageCcLicenseFieldComponent, + ItemPageLicenseFieldComponent, ], }) export class UntypedItemComponent extends BaseComponent {}