dnet40/modules/uoa-services-portal/trunk/src/app/common/projectTitleFormatter.component.ts @ 43487
1 | 42781 | argiro.kok | import {Component, Input} from '@angular/core'; |
---|---|---|---|
2 | |||
3 | //Usage Example "<project-title [project]="X" > </project-title>"
|
||
4 | |||
5 | @Component({ |
||
6 | selector: 'project-title', |
||
7 | template: ` |
||
8 | <div class="project-title">
|
||
9 | <h5>{{project.name}} ( {{project.funderName}} )</h5>
|
||
10 | </div>
|
||
11 | `
|
||
12 | })
|
||
13 | |||
14 | export class ProjectTitleFormatter { |
||
15 | @Input() project: string[]; |
||
16 | |||
17 | constructor () {} |
||
18 | |||
19 | ngOnInit() {} |
||
20 | }
|