mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Merge remote-tracking branch 'remotes/origin/main' into upgrade_angular10
# Conflicts: # src/app/+item-page/item-page.module.ts # src/app/core/shared/item.model.ts # src/app/shared/object-grid/item-grid-element/item-types/item/item-grid-element.component.spec.ts # src/app/shared/search/search-filters/search-filter/search-authority-filter/search-authority-filter.component.ts # src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.ts # src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-selected-option/search-facet-selected-option.component.ts # src/app/shared/search/search-filters/search-filter/search-facet-filter/search-facet-filter.component.ts # src/app/shared/shared.module.ts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<ng-container *ngIf="status">
|
||||
<ds-mydspace-item-status [status]="status"></ds-mydspace-item-status>
|
||||
</ng-container>
|
||||
<ds-item-type-badge [object]="item"></ds-item-type-badge>
|
||||
<ds-type-badge [object]="item"></ds-type-badge>
|
||||
<ds-truncatable [id]="item.id">
|
||||
<h3 [innerHTML]="item.firstMetadataValue('dc.title') || ('mydspace.results.no-title' | translate)" [ngClass]="{'lead': true,'text-muted': !item.firstMetadataValue('dc.title')}"></h3>
|
||||
<div>
|
||||
|
@@ -155,7 +155,7 @@ describe('ItemListPreviewComponent', () => {
|
||||
});
|
||||
|
||||
it('should show the entity type span', () => {
|
||||
const entityField = fixture.debugElement.query(By.css('ds-item-type-badge'));
|
||||
const entityField = fixture.debugElement.query(By.css('ds-type-badge'));
|
||||
expect(entityField).not.toBeNull();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user