Revision 51569
Added by Sofia Baltzi about 6 years ago
modules/uoa-connect-portal/trunk/src/app/community/community.component.html | ||
---|---|---|
18 | 18 |
<div *ngIf="community.description != null"> |
19 | 19 |
<p> {{community.description}}</p> |
20 | 20 |
</div> |
21 |
</blockquote> |
|
22 |
<p *ngIf="community.subjects != null"> |
|
23 |
<span *ngFor='let subject of community.subjects; let i = index'> |
|
24 |
<span *ngIf="subject != ''" class="uk-label">{{subject}}</span> |
|
25 |
</span> |
|
26 |
</p> |
|
27 |
<p> |
|
28 |
<span *ngIf="community.managers != null && community.managers[0] != ''"> Curated by: |
|
29 |
<span *ngFor='let manager of community.managers; let i = index'>{{manager.substr(0, manager.indexOf('@'))}}<span *ngIf="manager.includes('@') == 0">{{manager}}</span><span *ngIf="i<(community.managers.length-1)">,</span> |
|
30 |
</span> |
|
31 |
</span> |
|
32 |
<span *ngIf="community.date != null" class="uk-margin-left"> Created: {{community.date | date:'dd-MM-yyyy'}}</span> |
|
33 |
<subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class="uk-margin-left"></subscribe> |
|
34 |
</p> |
|
35 |
|
|
21 |
</blockquote> |
|
22 |
<p *ngIf="community.subjects != null"> |
|
23 |
<span *ngFor='let subject of community.subjects; let i = index'> |
|
24 |
<span *ngIf="subject != ''" class="uk-label">{{subject}}</span> |
|
25 |
</span> |
|
26 |
</p> |
|
27 |
<p> |
|
28 |
<span *ngIf="community.managers != null && community.managers[0] != ''"> Curated by: |
|
29 |
<span *ngFor='let manager of community.managers; let i = index'>{{manager.substr(0, manager.indexOf('@'))}}<span *ngIf="manager.includes('@') == 0">{{manager}}</span><span *ngIf="i<(community.managers.length-1)">,</span> |
|
30 |
</span> |
|
31 |
</span> |
|
32 |
<span *ngIf="community.date != null" class="uk-margin-left"> Created: {{community.date | date:'dd-MM-yyyy'}}</span> |
|
33 |
<subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class="uk-margin-left"></subscribe> |
|
34 |
</p> |
|
35 |
</div> |
|
36 |
<div *ngIf="communityId != null && communityId != ''" class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-grid" uk-grid=""> |
|
37 |
<div class="uk-first-column"> |
|
38 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
39 |
<div *ngIf="publicationTotal != null"> |
|
40 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/publications" ><h3 class="uk-card-title">{{publicationTotal}}</h3> |
|
41 |
<p>publications</p></a> |
|
42 |
</div> |
|
43 |
</div> |
|
36 | 44 |
</div> |
37 |
<div *ngIf="communityId != null && communityId != ''" class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-grid" uk-grid=""> |
|
38 |
<div class="uk-first-column"> |
|
39 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
40 |
<div *ngIf="publicationTotal != null"> |
|
41 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/publications" ><h3 class="uk-card-title">{{publicationTotal}}</h3> |
|
42 |
<p>publications</p></a> |
|
43 |
</div> |
|
44 |
</div> |
|
45 |
<div> |
|
46 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
47 |
<div *ngIf="researchDataTotal != null"> |
|
48 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/datasets"><h3 class="uk-card-title">{{researchDataTotal}}</h3> |
|
49 |
<p>research data</p></a> |
|
50 |
</div> |
|
45 | 51 |
</div> |
46 |
<div>
|
|
47 |
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
|
48 |
<div *ngIf="researchDataTotal != null">
|
|
49 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/datasets"><h3 class="uk-card-title">{{researchDataTotal}}</h3>
|
|
50 |
<p>research data</p></a>
|
|
51 |
</div>
|
|
52 |
</div>
|
|
52 |
</div>
|
|
53 |
<div>
|
|
54 |
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
|
55 |
<div *ngIf="softwareTotal != null">
|
|
56 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/software"><h3 class="uk-card-title">{{softwareTotal}}</h3>
|
|
57 |
<p>software</p></a>
|
|
58 |
</div> |
|
53 | 59 |
</div> |
54 |
<div>
|
|
55 |
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
|
56 |
<div *ngIf="softwareTotal != null">
|
|
57 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/software"><h3 class="uk-card-title">{{softwareTotal}}</h3>
|
|
58 |
<p>software</p></a>
|
|
59 |
</div>
|
|
60 |
</div>
|
|
60 |
</div>
|
|
61 |
<div>
|
|
62 |
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
|
63 |
<div *ngIf="projectTotal != null">
|
|
64 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/projects"><h3 class="uk-card-title">{{projectTotal}}</h3>
|
|
65 |
<p>projects</p></a>
|
|
66 |
</div> |
|
61 | 67 |
</div> |
62 |
<div> |
|
63 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
64 |
<div *ngIf="projectTotal != null"> |
|
65 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/projects"><h3 class="uk-card-title">{{projectTotal}}</h3> |
|
66 |
<p>projects</p></a> |
|
67 |
</div> |
|
68 |
</div> |
|
69 |
</div> |
|
68 |
</div> |
|
70 | 69 |
<!-- <div> |
71 | 70 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
72 | 71 |
<div *ngIf="organizationTotal != null"> |
... | ... | |
75 | 74 |
</div> |
76 | 75 |
</div> |
77 | 76 |
</div> --> |
78 |
<div> |
|
79 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
80 |
<div *ngIf="contentProviderTotal != null"> |
|
81 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/dataproviders"><h3 class="uk-card-title">{{contentProviderTotal}}</h3> |
|
82 |
<p>content providers</p></a> |
|
83 |
</div> |
|
77 |
<div> |
|
78 |
<div class="uk-card uk-card-default uk-card-small uk-card-body"> |
|
79 |
<div *ngIf="contentProviderTotal != null"> |
|
80 |
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/dataproviders"><h3 class="uk-card-title">{{contentProviderTotal}}</h3> |
|
81 |
<p>content providers</p></a> |
|
84 | 82 |
</div> |
85 |
</div> |
|
83 |
</div> |
|
84 |
</div> |
|
86 | 85 |
</div> |
87 | 86 |
|
88 | 87 |
<div *ngIf="communityId != null && communityId != ''" class="uk-grid-small uk-margin-medium uk-grid" uk-grid=""> |
89 |
<!-- <div class="uk-width-expand@m uk-first-column"> --> |
|
90 |
<div class="uk-width-expand@m"> |
|
91 |
<!-- <h3 class="uk-margin-small uk-h3 uk-heading-line uk-text-primary"> --> |
|
92 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
93 |
<span>Most recent publications</span> |
|
94 |
</h2> |
|
95 |
<results-comp [(results)]=publicationResults [(total)]=publicationTotal resultType="publication" [community]=community [params]=params></results-comp> |
|
96 |
</div> |
|
97 |
<div class="uk-width-expand@m"> |
|
98 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
99 |
<span>Most recent research data</span> |
|
100 |
</h2> |
|
101 |
<results-comp [(results)]=researchDataResults [(total)]=researchDataTotal resultType="dataset" [community]=community [params]=params></results-comp> |
|
102 |
</div> |
|
103 |
<div class="uk-width-expand@m"> |
|
104 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
105 |
<span>Most recent software</span> |
|
106 |
</h2> |
|
107 |
<results-comp [(results)]=softwareResults [(total)]=softwareTotal resultType="software" [community]=community [params]=params></results-comp> |
|
108 |
</div> |
|
88 |
<div class="uk-width-expand@m"> |
|
89 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
90 |
<span>Most recent publications</span> |
|
91 |
</h2> |
|
92 |
<results-comp [(results)]=publicationResults [(total)]=publicationTotal resultType="publication" [community]=community [params]=params></results-comp> |
|
109 | 93 |
</div> |
110 |
<div> |
|
111 |
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard> |
|
94 |
<div class="uk-width-expand@m"> |
|
95 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
96 |
<span>Most recent research data</span> |
|
97 |
</h2> |
|
98 |
<results-comp [(results)]=researchDataResults [(total)]=researchDataTotal resultType="dataset" [community]=community [params]=params></results-comp> |
|
112 | 99 |
</div> |
100 |
<div class="uk-width-expand@m"> |
|
101 |
<h2 class="uk-h3 uk-heading-line uk-text-primary"> |
|
102 |
<span>Most recent software</span> |
|
103 |
</h2> |
|
104 |
<results-comp [(results)]=softwareResults [(total)]=softwareTotal resultType="software" [community]=community [params]=params></results-comp> |
|
105 |
</div> |
|
106 |
</div> |
|
107 |
<div> |
|
108 |
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard> |
|
109 |
</div> |
|
113 | 110 |
</article> |
114 | 111 |
</div> |
115 | 112 |
|
Also available in: Unified diff
Remove comments