Skip to content

Commit

Permalink
Update UntypedItemComponent to use ItemPageLicenseFieldComponent rath…
Browse files Browse the repository at this point in the history
…er than ItemPageCcLicenseFieldComponent (fixes DSpace#3170)
  • Loading branch information
abelgomez committed Sep 20, 2024
1 parent c9ad7e3 commit 96ada8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
[fields]="['datacite.relation.isReferencedBy']"
[label]="'item.page.referenced'">
</ds-item-page-uri-field>
<ds-item-page-cc-license-field [item]="object" [variant]="'full'">
</ds-item-page-cc-license-field>
<ds-item-page-license-field [item]="object">
</ds-item-page-license-field>
<div>
<a class="btn btn-outline-primary" [routerLink]="[itemPageRoute + '/full']" role="button">
<i class="fas fa-info-circle"></i> {{"item.page.link.full" | translate}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -59,7 +59,7 @@ import { ItemComponent } from '../shared/item.component';
RouterLink,
AsyncPipe,
TranslateModule,
ItemPageCcLicenseFieldComponent,
ItemPageLicenseFieldComponent,
],
})
export class UntypedItemComponent extends ItemComponent {}
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -64,7 +64,7 @@ import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/the
RouterLink,
AsyncPipe,
TranslateModule,
ItemPageCcLicenseFieldComponent,
ItemPageLicenseFieldComponent,
],
})
export class UntypedItemComponent extends BaseComponent {}

0 comments on commit 96ada8d

Please sign in to comment.