1
|
<div class=" uk-section uk-margin-small-top tm-middle uk-container" id="tm-main">
|
2
|
|
3
|
<div class="uk-container uk-margin-bottom">
|
4
|
|
5
|
<article *ngIf="communityInfo" class="uk-article ">
|
6
|
<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-alert uk-alert-primary">
|
7
|
No community chosen
|
8
|
</div>
|
9
|
<div class="uk-clearfix uk-margin-bottom">
|
10
|
<manage *ngIf="communityId != null && communityId != ''" [communityId]="communityId" class=" uk-float-right"></manage>
|
11
|
<subscribe *ngIf="communityId != null && communityId != ''" [communityId]="communityId" class=" uk-float-right"></subscribe>
|
12
|
</div>
|
13
|
<div *ngIf="communityId != null && communityId != '' && community != null">
|
14
|
<blockquote>
|
15
|
<div *ngIf="community.title != null">
|
16
|
<p> {{community.title}}</p>
|
17
|
</div>
|
18
|
<div *ngIf="community.title == null && community.shortTitle != null">
|
19
|
<p> {{community.shortTitle}}</p>
|
20
|
</div>
|
21
|
<div *ngIf="community.description != null">
|
22
|
<p> {{community.description}}</p>
|
23
|
</div>
|
24
|
</blockquote>
|
25
|
<div *ngIf="community.subjects != null">
|
26
|
<span *ngFor="let subject of community.subjects.slice(0,10) let i=index">
|
27
|
<span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">{{subject}}</span>
|
28
|
<!-- <span *ngIf=" i<9 && i<(community.subjects.length-1)"> </span> -->
|
29
|
</span>
|
30
|
<span *ngIf="showAll">
|
31
|
<span *ngFor="let subject of community.subjects.slice(10) let i=index">
|
32
|
<span *ngIf="subject != ''" class="uk-label">{{subject}}</span>
|
33
|
<!-- <span *ngIf="i<(community.subjects.length-1)"> </span> -->
|
34
|
</span>
|
35
|
</span>
|
36
|
<span *ngIf="!showAll && community.subjects.length > 10">
|
37
|
<a (click)="showAll = !showAll;">
|
38
|
show more
|
39
|
</a>
|
40
|
</span>
|
41
|
<span *ngIf="showAll">
|
42
|
<a (click)="showAll = !showAll;">
|
43
|
show less
|
44
|
</a>
|
45
|
</span>
|
46
|
</div>
|
47
|
<p>
|
48
|
<span *ngIf="community.managers != null && community.managers[0] != '' && community.managers[0] != null"> Curated by:
|
49
|
<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>
|
50
|
</span>
|
51
|
</span>
|
52
|
<span *ngIf="community.date != null" class="uk-margin-left"> Created: {{community.date | date:'dd-MM-yyyy'}}</span>
|
53
|
<subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class="uk-margin-left"></subscribe>
|
54
|
</p>
|
55
|
</div>
|
56
|
<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="">
|
57
|
<div *ngIf="publicationTotal != null && IsEntityEnabled('publication')" class="uk-first-column">
|
58
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
59
|
<div>
|
60
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/publications" ><h3 class="uk-card-title">{{publicationTotal|number}}</h3>
|
61
|
<p>publications</p></a>
|
62
|
</div>
|
63
|
</div>
|
64
|
</div>
|
65
|
<div *ngIf="researchDataTotal != null && IsEntityEnabled('dataset')">
|
66
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
67
|
<div>
|
68
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/datasets"><h3 class="uk-card-title">{{researchDataTotal|number}}</h3>
|
69
|
<p>research data</p></a>
|
70
|
</div>
|
71
|
</div>
|
72
|
</div>
|
73
|
<div *ngIf="softwareTotal != null && IsEntityEnabled('software')">
|
74
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
75
|
<div>
|
76
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/software"><h3 class="uk-card-title">{{softwareTotal|number}}</h3>
|
77
|
<p>software</p></a>
|
78
|
</div>
|
79
|
</div>
|
80
|
</div>
|
81
|
<div *ngIf="projectTotal != null && IsEntityEnabled('project')">
|
82
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
83
|
<div>
|
84
|
<a routerLinkActive="router-link-active" routerLink="/search/find/projects"><h3 class="uk-card-title">{{projectTotal|number}}</h3>
|
85
|
<p>projects</p></a>
|
86
|
</div>
|
87
|
</div>
|
88
|
</div>
|
89
|
<!-- <div>
|
90
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
91
|
<div *ngIf="organizationTotal != null">
|
92
|
<a [queryParams]=params routerLinkActive="router-link-active" routerLink="/search/find/organizations"><h3 class="uk-card-title">{{organizationTotals}}</h3>
|
93
|
<p>organizations</p></a>
|
94
|
</div>
|
95
|
</div>
|
96
|
</div> -->
|
97
|
<div *ngIf="contentProviderTotal != null && IsEntityEnabled('datasource')">
|
98
|
<div class="uk-card uk-card-default uk-card-small uk-card-body">
|
99
|
<div>
|
100
|
<a routerLinkActive="router-link-active" routerLink="/search/find/dataproviders"><h3 class="uk-card-title">{{contentProviderTotal|number}}</h3>
|
101
|
<p>content providers</p></a>
|
102
|
</div>
|
103
|
</div>
|
104
|
</div>
|
105
|
</div>
|
106
|
|
107
|
|
108
|
<div *ngIf="communityId != null && communityId != ''" class="uk-grid-small uk-margin-medium uk-grid" uk-grid="">
|
109
|
<div *ngIf="IsEntityEnabled('publication')" class="uk-width-expand@m">
|
110
|
<h2 class="uk-h3 uk-heading-line uk-text-primary">
|
111
|
<span>Recent publications</span>
|
112
|
</h2>
|
113
|
<results-comp [(results)]=publicationResults [(total)]=publicationTotal resultType="publication" [community]=community [params]=params></results-comp>
|
114
|
</div>
|
115
|
<div *ngIf="IsEntityEnabled('dataset')" class="uk-width-expand@m">
|
116
|
<h2 class="uk-h3 uk-heading-line uk-text-primary">
|
117
|
<span>Recent research data</span>
|
118
|
</h2>
|
119
|
<results-comp [(results)]=researchDataResults [(total)]=researchDataTotal resultType="dataset" [community]=community [params]=params></results-comp>
|
120
|
</div>
|
121
|
<div *ngIf="IsEntityEnabled('software')" class="uk-width-expand@m">
|
122
|
<h2 class="uk-h3 uk-heading-line uk-text-primary">
|
123
|
<span>Recent software</span>
|
124
|
</h2>
|
125
|
<results-comp [(results)]=softwareResults [(total)]=softwareTotal resultType="software" [community]=community [params]=params></results-comp>
|
126
|
</div>
|
127
|
</div>
|
128
|
|
129
|
|
130
|
<!--div>
|
131
|
<div class="uk-margin-large-top">
|
132
|
<h2 class="uk-h3 uk-text-primary">
|
133
|
Recent research results
|
134
|
</h2>
|
135
|
</div>
|
136
|
|
137
|
<ul class="uk-tab uk-margin-top" data-uk-tab="{connect: '#resultTabs'">
|
138
|
<li *ngIf="IsEntityEnabled('publication')" class="uk-active"><a href="#">publications</a></li>
|
139
|
<li *ngIf="IsEntityEnabled('dataset')"><a href="#">research data</a></li>
|
140
|
<li *ngIf="IsEntityEnabled('software')"><a href="#">software</a></li>
|
141
|
</ul>
|
142
|
|
143
|
<ul id="resultTabs" class="uk-switcher" style="min-height:450px;">
|
144
|
<li *ngIf="IsEntityEnabled('publication')"><results-comp [(results)]=publicationResults [(total)]=publicationTotal resultType="publication" [community]=community [params]=params></results-comp></li>
|
145
|
<li *ngIf="IsEntityEnabled('dataset')"><results-comp [(results)]=researchDataResults [(total)]=researchDataTotal resultType="dataset" [community]=community [params]=params></results-comp></li>
|
146
|
<li *ngIf="IsEntityEnabled('software')"><results-comp [(results)]=softwareResults [(total)]=softwareTotal resultType="software" [community]=community [params]=params></results-comp></li>
|
147
|
</ul>
|
148
|
</div-->
|
149
|
|
150
|
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>
|
151
|
|
152
|
</article>
|
153
|
</div>
|
154
|
|
155
|
</div>
|