Add managers field in CommunityInfo structure
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@50978 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
52f9b63d0d
commit
611e8801b3
|
@ -29,7 +29,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
||||||
<div *ngIf="researchDataTotal != null">
|
<div *ngIf="researchDataTotal != null">
|
||||||
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/datasets"><h3 class="uk-card-title">{{researchDataTotal}}</h3>
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/datasets"><h3 class="uk-card-title">{{researchDataTotal}}</h3>
|
||||||
|
@ -38,7 +37,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
||||||
<div *ngIf="softwareTotal != null">
|
<div *ngIf="softwareTotal != null">
|
||||||
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/software"><h3 class="uk-card-title">{{softwareTotal}}</h3>
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/software"><h3 class="uk-card-title">{{softwareTotal}}</h3>
|
||||||
|
@ -46,6 +44,30 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div>
|
||||||
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
||||||
|
<div *ngIf="projectTotal != null">
|
||||||
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/projects"><h3 class="uk-card-title">{{projectTotal}}</h3>
|
||||||
|
<p>projects</p></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
||||||
|
<div *ngIf="organizationTotal != null">
|
||||||
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/organizations"><h3 class="uk-card-title">{{organizationTotals}}</h3>
|
||||||
|
<p>organizations</p></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
||||||
|
<div *ngIf="dataproviderTotal != null">
|
||||||
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/dataproviders"><h3 class="uk-card-title">{{dataproviderTotal}}</h3>
|
||||||
|
<p>content providers</p></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-small uk-margin-medium uk-grid" uk-grid="">
|
<div class="uk-grid-small uk-margin-medium uk-grid" uk-grid="">
|
||||||
|
|
|
@ -18,6 +18,12 @@ export class CommunityService {
|
||||||
.map(res => <any> res.json()).map(res => res.total).do(res => {console.log(res)});
|
.map(res => <any> res.json()).map(res => res.total).do(res => {console.log(res)});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// getTotal()
|
||||||
|
//
|
||||||
|
// countResults(url:string): string {
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
getResults(url: string) {
|
getResults(url: string) {
|
||||||
return this.http.get(url).map(res => <any> res.json()).map(res => this.parseResults(res['results']));
|
return this.http.get(url).map(res => <any> res.json()).map(res => this.parseResults(res['results']));
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,5 @@ export class CommunityInfo {
|
||||||
queryId: string;
|
queryId: string;
|
||||||
logoUrl: string;
|
logoUrl: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
managers: string[];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue