Shows finalized Date on Dmp and Dataset listing
This commit is contained in:
parent
147eb2ce44
commit
978e2d67d0
|
@ -14,4 +14,5 @@ export interface DatasetListingModel {
|
|||
status: Number;
|
||||
created: Date;
|
||||
modified: Date;
|
||||
finalizedDat: Date;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ export interface DmpListingModel {
|
|||
profile: String;
|
||||
creationTime: String;
|
||||
modifiedTime: String;
|
||||
finalizedDat: Date;
|
||||
organisations: String;
|
||||
groupId: string;
|
||||
version: number;
|
||||
|
|
|
@ -36,7 +36,8 @@
|
|||
<div class="pt-1">
|
||||
<div matTooltip="{{ dataset.profile }}" class="chip ml-2 mr-2">{{ dataset.profile }}</div>
|
||||
</div>
|
||||
<p>{{'DATASET-LISTING.COLUMNS.PUBLISHED' | translate}} {{ dataset.created | date: "shortDate"}}</p>
|
||||
<p *ngIf="isDraft">{{'DATASET-LISTING.COLUMNS.LAST-EDITED' | translate}} {{ dataset.modified | date: "shortDate"}}</p>
|
||||
<p *ngIf="!isDraft">{{'DATASET-LISTING.COLUMNS.PUBLISHED' | translate}} {{ dataset.finalizedDat | date: "shortDate"}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="info">
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
<div *ngFor="let profile of dmp.associatedProfiles" class="pt-1">
|
||||
<div matTooltip="{{profile.label}}" class="chip ml-2 mr-2">{{profile.label}}</div>
|
||||
</div>
|
||||
<p>{{'DMP-PROFILE-LISTING.COLUMNS.PUBLISHED' | translate}} {{dmp.creationTime | date: "shortDate"}}</p>
|
||||
<p *ngIf="isDraft">{{'DMP-PROFILE-LISTING.COLUMNS.LAST-EDITED' | translate}} {{dmp.modifiedTime | date: "shortDate"}}</p>
|
||||
<p *ngIf="!isDraft">{{'DMP-PROFILE-LISTING.COLUMNS.PUBLISHED' | translate}} {{dmp.finalizedDat | date: "shortDate"}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="row d-flex align-items-center my-1">
|
||||
|
|
|
@ -339,6 +339,7 @@
|
|||
"DESCRIPTION": "Description",
|
||||
"CREATED": "Created",
|
||||
"PUBLISHED": "Published",
|
||||
"LAST-EDITED": "Last Edited",
|
||||
"ACTIONS": "Actions",
|
||||
"DMP": "Dmp",
|
||||
"PROFILE": "Profile",
|
||||
|
@ -479,7 +480,8 @@
|
|||
"NAME": "Name",
|
||||
"STATUS": "Status",
|
||||
"CREATED": "Created",
|
||||
"PUBLISHED": "Published"
|
||||
"PUBLISHED": "Published",
|
||||
"LAST-EDITED": "Last Edited"
|
||||
},
|
||||
"UPLOAD": {
|
||||
"UPLOAD-XML": "Import",
|
||||
|
|
Loading…
Reference in New Issue