forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
RDC Sprint3 Staging #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f2615c0
added the dc title project and dataset in the DSO service responsible…
qtamu 19a467e
Tamu customizations
qtamu a50b2e8
added supplement to
qtamu f700783
added conditional for the simple list view
qtamu d9ffa33
updated the conditonal display for simple item view
qtamu c1648e8
updating the item list view to see if changes persist
qtamu 0a4d48b
updating the intem list viw to see if changes persist ii
qtamu be213bf
Updated dso to make sure item list view changes persists
qtamu 78f5aa3
Test list item view title
qtamu 907fab3
wip trying to fix the title list view
qtamu 4a24d91
WIP changed back to dsoTitle
qtamu 3d02a91
Item list view to display dataset title and project title -test
qtamu 479a0d6
Item list view to display dataset title and project title -test --com…
qtamu db5e7ac
Added comment for the tamu customization
qtamu 034bbba
added comment for the commented out code block
qtamu a002f20
Corrected formatting issue
qtamu 6e47976
Corrected variable to be set consistently
qtamu c602c61
Merge pull request #87 from TAMULib/86-title-display
qtamu 74eadaa
resolve pr comments
qtamu ebaca39
corrected misspelling of entity
qtamu c2589d9
Merge pull request #89 from TAMULib/comment-fixes
qtamu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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"> | ||
qtamu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<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 --> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.