Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #134 from btzc/em-327
Browse files Browse the repository at this point in the history
em-327 added attributes to model
  • Loading branch information
Randy P authored Feb 19, 2018
2 parents a4cf41c + e0c7c60 commit eb2efd4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions src/app/models/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export class Project {
openCommentPeriod: string;
eacDecision: string;
currentPhase: CurrentPhase;
region: string;
location: string;
projectLead: string;
responsibleEPD: string;
CELead: string;
constructor(obj?: any) {
this._id = obj && obj._id || null;
this.code = obj && obj.code || null;
Expand All @@ -23,5 +28,10 @@ export class Project {
this.openCommentPeriod = obj && obj.openCommentPeriod || null;
this.eacDecision = obj && obj.eacDecision || null;
this.currentPhase = obj && obj.currentPhase || null;
this.region = obj && obj.region || null;
this.location = obj && obj.location || null;
this.projectLead = obj && obj.projectLead || null;
this.responsibleEPD = obj && obj.responsibleEPD || null;
this.CELead = obj && obj.CELead || null;
}
}
6 changes: 3 additions & 3 deletions src/app/project-detail/project-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ <h2>Project Activities &amp; Updates</h2>
<aside class="col-lg-4">
<section class="card">
<h4 class="card-header">Project Details</h4>
<div class="map-section__thumbnail" (click)="gotoMap()">
<!-- <app-project-map [project]="project" [zoom]="4"></app-project-map> -->
</div>
<!-- <div class="map-section__thumbnail" (click)="gotoMap()">
<app-project-map [project]="project" [zoom]="4"></app-project-map>
</div> -->
<ul class="nv-list mine-details-list">
<li>
<span class="name">Project Type</span>
Expand Down

0 comments on commit eb2efd4

Please sign in to comment.