no message

This commit is contained in:
Diamantis Tziotzios 2017-12-19 14:06:52 +02:00
parent 24b2dfabdc
commit 9b62f914b6
3 changed files with 15 additions and 16 deletions

View File

@ -40,7 +40,7 @@
<!-- Column Definition: Version -->
<ng-container cdkColumnDef="version">
<mat-header-cell *matHeaderCellDef>{{'DMP-LISTING.COLUMNS.VERSION' | translate}}</mat-header-cell>
<mat-cell *matCellDef="let row"> {{row.version}} </mat-cell>
<mat-cell *matCellDef="let row"> {{row.version}}</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>

View File

@ -3,24 +3,20 @@ import { Serializable } from "../Serializable";
export class DataManagementPlanListingModel implements Serializable<DataManagementPlanListingModel> {
public id: String;
public label: String;
public abbreviation: String;
public reference: String;
public uri: String;
public status: String;
public startDate: Date;
public endDate: Date;
public description: String;
public project: String;
public profile: String;
public researchers: String;
public organisations: String;
public version: number;
fromJSONObject(item: any): DataManagementPlanListingModel {
this.id = item.id;
this.label = item.label;
this.abbreviation = item.abbreviation;
this.reference = item.reference;
this.uri = item.uri;
this.status = item.status;
this.startDate = item.startDate;
this.endDate = item.endDate;
this.description = item.description;
this.project = item.project;
this.profile = item.profile;
this.researchers = item.researchers;
this.organisations = item.organisations;
this.version = item.version;
return this;
}

View File

@ -28,7 +28,10 @@
"COLUMNS": {
"NAME": "Name",
"PROJECT": "Project",
"CREATION-TIME": "Created"
"PROFILE": "Profile",
"RESEARCHERS": "Researchers",
"ORGANISATIONS": "Organisations",
"VERSION": "Version"
}
},
"DATASET-LISTING": {