forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from TAMULib/rdc-sprint3-staging
RDC Sprint3 Staging
- Loading branch information
Showing
2 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 25 additions & 1 deletion
26
...em-page/simple/field-components/specific-field/title/item-page-title-field.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
<h1 class="item-page-title-field"> | ||
<!-- // Core code block- Left intact on purpose --> | ||
<!-- <h1 class="item-page-title-field"> | ||
<div *ngIf="item.firstMetadataValue('dspace.entity.type') as type" class="d-inline"> | ||
{{ type.toLowerCase() + '.page.titleprefix' | translate }} | ||
</div> | ||
<span class="dont-break-out">{{ dsoNameService.getName(item) }}</span> | ||
</h1> --> | ||
<!-- END of core code block --> | ||
|
||
<!-- TAMU Customization -title display on Dataset entities for simple item view --> | ||
<h1 class="item-page-title-field"> | ||
<div *ngIf="item.firstMetadataValue('dspace.entity.type') as type" class="d-inline"> | ||
{{ type.toLowerCase() + '.page.titleprefix' | translate }} | ||
</div> | ||
<span> | ||
<ng-container *ngIf="item.firstMetadataValue('dc.title.dataset') as dataset"> | ||
{{ dataset }} | ||
<ng-container *ngIf="item.firstMetadataValue('dc.title.project') as project"> | ||
: Supplement to {{ project }} | ||
</ng-container> | ||
</ng-container> | ||
<ng-container *ngIf="!item.firstMetadataValue('dc.title.dataset') && item.firstMetadataValue('dc.title.project')"> | ||
{{ item.firstMetadataValue('dc.title.project') }} | ||
</ng-container> | ||
<ng-container *ngIf="!item.firstMetadataValue('dc.title.dataset') && !item.firstMetadataValue('dc.title.project')"> | ||
{{ item.firstMetadataValue('dspace.entity.type') }} | ||
</ng-container> | ||
</span> | ||
</h1> | ||
<!-- END TAMU Customization -title display on Dataset entities for simple item view --> |