1
|
<schema2jsonld *ngIf="community" [URL]="url"
|
2
|
[logoURL]="community.logoUrl" type="home"
|
3
|
[name]="community.title">
|
4
|
</schema2jsonld>
|
5
|
<div id="stickhere">
|
6
|
</div>
|
7
|
|
8
|
<div *ngIf="communityInfo" class="uk-section uk-padding-remove-top">
|
9
|
<div class="communityPanelBackground uk-margin-top uk-padding-small">
|
10
|
<div class="uk-container uk-margin-top uk-margin-bottom "
|
11
|
*ngIf="communityId != null && communityId != '' && community != null">
|
12
|
<div class="uk-grid">
|
13
|
<div class="uk-width-2-5@m uk-width-1-1@s uk-first-column uk-margin-top">
|
14
|
<div *ngIf="community.title != null" class="uk-text-bold uk-h5 uk-margin-remove">
|
15
|
{{community.title}}
|
16
|
</div>
|
17
|
<div *ngIf="community.shortTitle != null"
|
18
|
class=" uk-h5 uk-margin-remove">
|
19
|
{{community.shortTitle}}
|
20
|
</div>
|
21
|
<div *ngIf="community.description != null" class="uk-margin ">
|
22
|
<div *ngIf="!showAllDescription" class="">
|
23
|
{{community.description.substring(0, 300)}}{{community.description.length > 300 ? '...' : ''}}</div>
|
24
|
<div *ngIf="showAllDescription" class=""> {{community.description}}</div>
|
25
|
<div *ngIf="!showAllDescription && community.description.length > 300 "
|
26
|
class="uk-animation-fade uk-text-center uk-text-bold">
|
27
|
<a (click)="showAllDescription = !showAllDescription;">View more
|
28
|
</a>
|
29
|
</div>
|
30
|
<div *ngIf="showAllDescription"
|
31
|
class="uk-text-center uk-text-bold">
|
32
|
<a (click)="showAllDescription = !showAllDescription;">
|
33
|
View less
|
34
|
</a>
|
35
|
</div>
|
36
|
</div>
|
37
|
</div>
|
38
|
<div class="uk-width-3-5@m uk-width-1-1@s">
|
39
|
<div>
|
40
|
<div class="uk-margin-bottom uk-text-right">
|
41
|
<subscribe *ngIf="communityId != null && communityId != ''" [communityId]="communityId"
|
42
|
class=""></subscribe>
|
43
|
{{" "}}
|
44
|
<invite *ngIf="showInvite()" [longView]=false [buttonSizeSmall]=false></invite>
|
45
|
</div>
|
46
|
|
47
|
<!-- <div class=" uk-text-large uk-margin-bottom">Statistics</div>-->
|
48
|
<div *ngIf="communityId != null && communityId != ''"
|
49
|
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-margin-remove"
|
50
|
uk-scrollspy="cls: uk-animation-fade; target: > div > .uk-card; delay: 450; repeat: false">
|
51
|
|
52
|
<div
|
53
|
*ngIf="publicationTotal != null && publicationTotal > 0 && isEntityEnabled('publication') && isRouteEnabled(searchLinkToPublications)"
|
54
|
class="uk-padding-remove-left">
|
55
|
<div
|
56
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom ">
|
57
|
<div class="uk-margin-top uk-margin-bottom">
|
58
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
59
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToPublications"><span
|
60
|
class="uk-text-bold uk-h5">{{publicationTotal|number}}</span>
|
61
|
<p class="uk-text-small uk-margin-remove">publications</p></a>
|
62
|
</div>
|
63
|
</div>
|
64
|
</div>
|
65
|
|
66
|
<div
|
67
|
*ngIf="researchDataTotal != null && researchDataTotal > 0 && isEntityEnabled('dataset') && isRouteEnabled(searchLinkToDatasets)"
|
68
|
class="uk-padding-remove-left">
|
69
|
<div
|
70
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom">
|
71
|
<div class="uk-margin-top uk-margin-bottom">
|
72
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
73
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToDatasets"><span
|
74
|
class="uk-text-bold uk-h5">{{researchDataTotal|number}}</span>
|
75
|
<p class="uk-text-small uk-margin-remove">research data</p></a>
|
76
|
</div>
|
77
|
</div>
|
78
|
</div>
|
79
|
<div
|
80
|
*ngIf="softwareTotal != null && softwareTotal > 0 && isEntityEnabled('software') && isRouteEnabled(searchLinkToSoftware)"
|
81
|
class="uk-padding-remove-left">
|
82
|
<div
|
83
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom ">
|
84
|
<div class="uk-margin-top uk-margin-bottom">
|
85
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
86
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToSoftware"><span
|
87
|
class="uk-text-bold uk-h5">{{softwareTotal|number}}</span>
|
88
|
<p class="uk-text-small uk-margin-remove">software</p></a>
|
89
|
</div>
|
90
|
</div>
|
91
|
</div>
|
92
|
|
93
|
<div
|
94
|
*ngIf="orpTotal != null && orpTotal > 0 && isEntityEnabled('orp') && isRouteEnabled(searchLinkToOrps)"
|
95
|
class="uk-padding-remove-left">
|
96
|
<div
|
97
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom ">
|
98
|
<div class="uk-margin-top uk-margin-bottom">
|
99
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
100
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToOrps"><span
|
101
|
class="uk-text-bold uk-h5">{{orpTotal|number}}</span>
|
102
|
<p class="uk-text-small uk-margin-remove">other products</p></a>
|
103
|
</div>
|
104
|
</div>
|
105
|
</div>
|
106
|
|
107
|
|
108
|
<div
|
109
|
*ngIf="projectTotal != null && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)"
|
110
|
class="uk-padding-remove-left">
|
111
|
<div
|
112
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom ">
|
113
|
<div class="uk-margin-top uk-margin-bottom">
|
114
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
115
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects"><span
|
116
|
class="uk-text-bold uk-h5">{{projectTotal|number}}</span>
|
117
|
<p class="uk-text-small uk-margin-remove">projects</p></a>
|
118
|
</div>
|
119
|
</div>
|
120
|
</div>
|
121
|
|
122
|
<div
|
123
|
*ngIf="contentProviderTotal != null && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)"
|
124
|
class="uk-padding-remove-left">
|
125
|
<div
|
126
|
class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom ">
|
127
|
<div class="uk-margin-top uk-margin-bottom">
|
128
|
<a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params
|
129
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders"><span
|
130
|
class="uk-text-bold uk-h5">{{contentProviderTotal|number}}</span>
|
131
|
<p class="uk-text-small uk-margin-remove">content providers</p></a>
|
132
|
</div>
|
133
|
</div>
|
134
|
</div>
|
135
|
|
136
|
</div>
|
137
|
<div *ngIf="community.subjects != null && community.subjects.length > 0"
|
138
|
class="uk-margin-small-bottom uk-margin-top uk-text-bold uk-h5">Subjects
|
139
|
</div>
|
140
|
<div *ngIf="community.subjects != null" class=" ">
|
141
|
<span *ngFor="let subject of community.subjects.slice(0,4) let i=index">
|
142
|
<span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">
|
143
|
<a [queryParams]="{subject:createParams(subject), sb: 'and'}"
|
144
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedPublications">
|
145
|
{{subject}}
|
146
|
</a>
|
147
|
</span>{{" "}}
|
148
|
</span>
|
149
|
<span *ngIf="showAllSubjects">
|
150
|
<span *ngFor="let subject of community.subjects.slice(4) let i=index">
|
151
|
<span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">
|
152
|
<a [queryParams]="{subject:createParams(subject), sb: 'and'}"
|
153
|
routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedPublications">
|
154
|
{{subject}}
|
155
|
</a>
|
156
|
</span> {{" "}}
|
157
|
</span>
|
158
|
</span>
|
159
|
<br>
|
160
|
<div *ngIf="!showAllSubjects && community.subjects.length > 4 "
|
161
|
class="uk-animation-fade uk-text-center uk-text-bold">
|
162
|
<a (click)="showAllSubjects = !showAllSubjects;">
|
163
|
View more
|
164
|
</a>
|
165
|
</div>
|
166
|
<div *ngIf="showAllSubjects"
|
167
|
class="uk-text-center uk-text-bold">
|
168
|
<a (click)="showAllSubjects = !showAllSubjects;">
|
169
|
View less
|
170
|
</a>
|
171
|
</div>
|
172
|
</div>
|
173
|
</div>
|
174
|
</div>
|
175
|
</div>
|
176
|
|
177
|
</div>
|
178
|
</div>
|
179
|
</div>
|
180
|
|
181
|
<div class="uk-section tm-middle uk-container uk-margin-small-top uk-padding-remove-top" id="tm-main">
|
182
|
<div class="uk-container uk-margin-bottom uk-grid">
|
183
|
<div class="uk-width-expand uk-padding-remove">
|
184
|
<article *ngIf="communityInfo" class="uk-article ">
|
185
|
<div *ngIf="communityId != null && communityId != '' && community != null">
|
186
|
|
187
|
|
188
|
<!-- <div *ngIf="isRouteEnabled('/search/find')" class="uk-margin-top">
|
189
|
<div class="uk-text-bold uk-h5">Search research results</div>
|
190
|
<search-form [setFormCentered]=false [placeholderText]="getSearchPlaceHolder()" link="/search/find"></search-form>
|
191
|
</div>-->
|
192
|
<ng-template #stats let-entity="entity" let-entityName="entityName" let-statisticsSum="statisticsSum"
|
193
|
let-statisticsDisplay="statisticsDisplay" let-allowedEntities="allowedEntities"
|
194
|
let-allowedCharts="allowedCharts" let-chartsInfoMap="chartsInfoMap"
|
195
|
let-showChartTitle="showChartTitle"
|
196
|
let-showIn="showIn">
|
197
|
<div *ngIf=" showIn == 'showInMonitor' && allowedCharts && allowedCharts[entity].length == 0 &&
|
198
|
!statisticsDisplay.entities[entity].numbers.map['total'][showIn] && !statisticsDisplay.entities[entity].numbers.map['project'][showIn] &&
|
199
|
!statisticsDisplay.entities[entity].numbers.map['open'][showIn] && !statisticsDisplay.entities[entity].numbers.map['closed'][showIn] &&
|
200
|
!statisticsDisplay.entities[entity].numbers.map['embargo'][showIn] && !statisticsDisplay.entities[entity].numbers.map['restricted'][showIn]"
|
201
|
class="uk-alert uk-alert-primary">
|
202
|
No graphs available
|
203
|
</div>
|
204
|
<div *ngIf="statisticsSum && statisticsDisplay &&
|
205
|
statisticsSum[entity].total>0"
|
206
|
class="uk-grid uk-child-width-1-3@l uk-child-width-1-2@m uk-child-width-1-2@s">
|
207
|
<div *ngIf="statisticsDisplay.entities[entity].numbers.map['total'][showIn]" class="uk-padding-remove">
|
208
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
209
|
<div
|
210
|
class="uk-text-large">{{statisticsSum[entity].total|number}}</div>
|
211
|
<div>Total
|
212
|
{{entityName}}</div>
|
213
|
</div>
|
214
|
</div>
|
215
|
<div
|
216
|
*ngIf="statisticsDisplay.entities[entity].numbers.map['project'][showIn]" class="uk-padding-remove">
|
217
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
218
|
<div
|
219
|
class="uk-text-large">{{statisticsSum[entity].projects|number}} </div>
|
220
|
<div>Total projects linked to {{entityName}}</div>
|
221
|
</div>
|
222
|
</div>
|
223
|
<div
|
224
|
*ngIf="statisticsDisplay.entities[entity].numbers.map['open'][showIn]" class="uk-padding-remove">
|
225
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
226
|
<div
|
227
|
class="uk-text-large">{{statisticsSum[entity].open_access|number}} </div>
|
228
|
<div>Open access
|
229
|
{{entityName}}</div>
|
230
|
</div>
|
231
|
</div>
|
232
|
<div *ngIf="statisticsDisplay.entities[entity].numbers.map['closed'][showIn]" class="uk-padding-remove">
|
233
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
234
|
<div
|
235
|
class="uk-text-large">{{statisticsSum[entity].closed_access|number}} </div>
|
236
|
<div>Closed access
|
237
|
{{entityName}}</div>
|
238
|
</div>
|
239
|
</div>
|
240
|
<div
|
241
|
*ngIf="statisticsDisplay.entities[entity].numbers.map['embargo'][showIn]" class="uk-padding-remove">
|
242
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
243
|
<div
|
244
|
class="uk-text-large">{{statisticsSum[entity].embargo|number}} </div>
|
245
|
<div>Embargoed
|
246
|
{{entityName}}</div>
|
247
|
</div>
|
248
|
</div>
|
249
|
<div
|
250
|
*ngIf="statisticsDisplay.entities[entity].numbers.map['restricted'][showIn]"
|
251
|
class="uk-padding-remove">
|
252
|
<div class="uk-card portal-card uk-text-right uk-margin-left uk-margin-bottom uk-padding-small">
|
253
|
<div
|
254
|
class="uk-text-large">{{statisticsSum[entity].restricted|number}} </div>
|
255
|
<div>Restricted
|
256
|
{{entityName}}</div>
|
257
|
</div>
|
258
|
</div>
|
259
|
</div>
|
260
|
<div *ngIf=" allowedEntities &&
|
261
|
statisticsSum && allowedCharts && statisticsSum[entity] &&
|
262
|
allowedCharts[entity] && statisticsSum[entity].total>0 &&
|
263
|
allowedCharts[entity].length>0">
|
264
|
<div *ngIf="showIn == 'showInDashboard'">
|
265
|
<div uk-slider>
|
266
|
|
267
|
<div class="uk-position-relative">
|
268
|
|
269
|
<div class="uk-slider-container">
|
270
|
<ul class="uk-slider-items uk-child-width-1-2 uk-child-width-1-1@s uk-child-width-1-2@m">
|
271
|
<li *ngFor="let chart of allowedCharts[entity]">
|
272
|
|
273
|
<div class=" iframeContainer uk-height-medium uk-margin-top">
|
274
|
<div *ngIf="showChartTitle[chart]" class=" uk-h5 ">
|
275
|
{{chartsInfoMap[chart].title}}</div>
|
276
|
<iframe [src]=chartsInfoMap[chart].url scrolling="no"></iframe>
|
277
|
</div>
|
278
|
</li>
|
279
|
</ul>
|
280
|
</div>
|
281
|
|
282
|
<div class="uk-hidden@s uk-light">
|
283
|
<a class="uk-position-center-left " href="#" uk-slidenav-previous uk-slider-item="previous"></a>
|
284
|
<a class="uk-position-center-right " href="#" uk-slidenav-next uk-slider-item="next"></a>
|
285
|
</div>
|
286
|
|
287
|
<div class="uk-visible@s">
|
288
|
<a class="uk-position-center-left-out " href="#" uk-slidenav-previous
|
289
|
uk-slider-item="previous"></a>
|
290
|
<a class="uk-position-center-right-out " href="#" uk-slidenav-next uk-slider-item="next"></a>
|
291
|
</div>
|
292
|
|
293
|
</div>
|
294
|
|
295
|
</div>
|
296
|
|
297
|
|
298
|
<div *ngIf=" allowedEntities &&
|
299
|
statisticsSum && allowedCharts && statisticsSum[entity] &&
|
300
|
allowedCharts[entity] && statisticsSum[entity].total>0 &&
|
301
|
allowedCharts[entity].length>0">
|
302
|
<div class="uk-margin-top portal-hr"></div>
|
303
|
</div>
|
304
|
</div>
|
305
|
<div *ngIf="showIn == 'showInMonitor'" class="uk-grid uk-child-width-1-2@l uk-child-width-1-1@m ">
|
306
|
<div *ngFor="let chart of allowedCharts[entity]" class="uk-clearfix uk-margin-bottom">
|
307
|
|
308
|
<div class=" iframeContainer uk-height-large uk-margin-top">
|
309
|
<div *ngIf="showChartTitle[chart]" class=" uk-h5 ">
|
310
|
{{chartsInfoMap[chart].title}}</div>
|
311
|
<iframe [src]=chartsInfoMap[chart].url scrolling="no" class=""></iframe>
|
312
|
</div>
|
313
|
|
314
|
</div>
|
315
|
|
316
|
</div>
|
317
|
</div>
|
318
|
|
319
|
</ng-template>
|
320
|
<div class="uk-text-center">
|
321
|
<!-- <button [class]="'uk-button '+((show == 'overview')?'uk-disabled ':' uk-button-default ')"
|
322
|
(click)="show='overview'">Overview
|
323
|
</button>
|
324
|
{{" "}}
|
325
|
<button [class]="'uk-button '+((show != 'overview')?'uk-disabled ':' uk-button-default ')"
|
326
|
(click)="show='analysis';">Graph Analysis
|
327
|
</button>-->
|
328
|
<mat-form-field>
|
329
|
<div class="uk-margin-small-bottom">Select view</div>
|
330
|
<!-- <mat-label>Select view</mat-label>-->
|
331
|
<mat-select [(value)]="show">
|
332
|
<mat-option value="overview">Overview</mat-option>
|
333
|
<mat-option value="analysis">Graph Analysis</mat-option>
|
334
|
</mat-select>
|
335
|
</mat-form-field>
|
336
|
<!--<select [(ngModel)]="show" class="uk-select uk-text-bold uk-width-small">
|
337
|
<option value="overview">Overview</option>
|
338
|
<option value="analysis">Graph Analysis</option>
|
339
|
</select>-->
|
340
|
<!-- <select [(ngModel)]="sortBy" class="uk-select uk-margin-small-bottom uk-width-1-2 uk-padding-remove" name="select_order" >-->
|
341
|
<!-- <option value="num" >Sort by results number</option>-->
|
342
|
<!-- <option value="name" >Sort by name</option>-->
|
343
|
<!-- </select>-->
|
344
|
</div>
|
345
|
|
346
|
<div class="uk-margin-top customTabs">
|
347
|
|
348
|
|
349
|
<ul class="uk-margin-remove uk-flex-center"
|
350
|
data-uk-tab="{connect: '#resultTabs'">
|
351
|
<li *ngIf="isEntityEnabled('publication')" (click)="searchResearchResults('publication', publicationTotal, publicationResults)" class="uk-active"><a
|
352
|
href="#">publications</a></li>
|
353
|
<li *ngIf="isEntityEnabled('dataset')" (click)="searchResearchResults('dataset', researchDataTotal, researchDataResults)"><a href="#">research data</a></li>
|
354
|
<li *ngIf="isEntityEnabled('software')" (click)="searchResearchResults('software', softwareTotal, softwareResults)"><a href="#">software</a></li>
|
355
|
<li *ngIf="isEntityEnabled('orp')" (click)="searchResearchResults('other', orpTotal, orpResults)"><a href="#">other research products</a></li>
|
356
|
</ul>
|
357
|
|
358
|
<ul id="resultTabs" class=" communityBorder customTabsContent uk-switcher " style="min-height:450px;">
|
359
|
<li *ngIf="isEntityEnabled('publication')" class="uk-padding">
|
360
|
<div *ngIf="show=='overview'">
|
361
|
<div *ngIf="statistics !=null && activeTab == 'publication'">
|
362
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:
|
363
|
'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
364
|
allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],
|
365
|
allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle: statistics.chartTitlesMode['showInDashboard'],
|
366
|
|
367
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>
|
368
|
</div>
|
369
|
<results-comp [results]=publicationResults [total]=publicationTotal resultType="publication"
|
370
|
[community]=community [params]=params [showLoading]="showLoading"
|
371
|
[properties]="properties"
|
372
|
class=""></results-comp>
|
373
|
</div>
|
374
|
<div *ngIf="show!='overview' && activeTab == 'publication'">
|
375
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:
|
376
|
'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
377
|
allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],
|
378
|
allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle: statistics.chartTitlesMode['showInMonitor'],
|
379
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>
|
380
|
|
381
|
</div>
|
382
|
|
383
|
|
384
|
</li>
|
385
|
<li *ngIf="isEntityEnabled('dataset')" class="uk-padding">
|
386
|
<div *ngIf="show=='overview'">
|
387
|
<div *ngIf="statistics !=null && activeTab == 'dataset'">
|
388
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:
|
389
|
'research data' , statisticsSum:statistics.statisticsSum,
|
390
|
statisticsDisplay:statistics.statisticsDisplay,
|
391
|
allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],
|
392
|
allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle: statistics.chartTitlesMode['showInDashboard'],
|
393
|
|
394
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>
|
395
|
</div>
|
396
|
<results-comp [results]=researchDataResults [total]=researchDataTotal resultType="dataset"
|
397
|
[community]=community [params]=params [showLoading]="showLoading"
|
398
|
[properties]="properties"
|
399
|
class=""></results-comp>
|
400
|
</div>
|
401
|
<div *ngIf="show!='overview' && activeTab == 'dataset'">
|
402
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:
|
403
|
'research data' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
404
|
allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],
|
405
|
allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle: statistics.chartTitlesMode['showInMonitor'],
|
406
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>
|
407
|
|
408
|
</div>
|
409
|
|
410
|
|
411
|
</li>
|
412
|
<li *ngIf="isEntityEnabled('software')" class="uk-padding">
|
413
|
<div *ngIf="show=='overview'">
|
414
|
<div *ngIf="statistics !=null && activeTab == 'software'">
|
415
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:
|
416
|
'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
417
|
allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],
|
418
|
allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle: statistics.chartTitlesMode['showInDashboard'],
|
419
|
|
420
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>
|
421
|
</div>
|
422
|
<results-comp [results]=softwareResults [total]=softwareTotal resultType="software"
|
423
|
[community]=community [params]=params [showLoading]="showLoading"
|
424
|
[properties]="properties"
|
425
|
class=""></results-comp>
|
426
|
</div>
|
427
|
<div *ngIf="show!='overview' && activeTab == 'software'">
|
428
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:
|
429
|
'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
430
|
allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],
|
431
|
allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle: statistics.chartTitlesMode['showInMonitor'],
|
432
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>
|
433
|
|
434
|
</div>
|
435
|
|
436
|
|
437
|
</li>
|
438
|
<li *ngIf="isEntityEnabled('orp')" class="uk-padding">
|
439
|
<div *ngIf="show=='overview'">
|
440
|
<div *ngIf="statistics !=null && activeTab == 'orp'">
|
441
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'orp', entityName:
|
442
|
'other products' , statisticsSum:statistics.statisticsSum,
|
443
|
statisticsDisplay:statistics.statisticsDisplay,
|
444
|
allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],
|
445
|
allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle: statistics.chartTitlesMode['showInDashboard'],
|
446
|
|
447
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>
|
448
|
</div>
|
449
|
<results-comp [results]=orpResults [total]=orpTotal resultType="other"
|
450
|
[community]=community [params]=params [showLoading]="showLoading"
|
451
|
[properties]="properties"
|
452
|
class=""></results-comp>
|
453
|
</div>
|
454
|
<div *ngIf="show!='overview' && activeTab == 'orp'">
|
455
|
<ng-container *ngTemplateOutlet="stats; context: { entity: 'orp', entityName:
|
456
|
'other products' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
|
457
|
allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],
|
458
|
allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle: statistics.chartTitlesMode['showInMonitor'],
|
459
|
chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>
|
460
|
|
461
|
</div>
|
462
|
|
463
|
|
464
|
</li>
|
465
|
</ul>
|
466
|
</div>
|
467
|
<!-- <hr>-->
|
468
|
<!--<div *ngIf="statistics && statistics.allowedEntities && countOtherGraphs()>0">
|
469
|
<div class="uk-text-bold uk-h5">
|
470
|
Other Graphs
|
471
|
</div>
|
472
|
<div *ngIf="statistics && statistics.allowedEntities" class="uk-margin-top uk-grid">
|
473
|
<ng-container *ngFor="let entity of statistics.allowedEntities">
|
474
|
<ng-container *ngIf="statistics.statisticsSum[entity].total>0 && statistics.allowedCharts[entity].length>0 && activeTab!=entity">
|
475
|
|
476
|
<ng-container *ngIf="statistics.allowedCharts[entity] " >
|
477
|
<div *ngFor="let chart of statistics.allowedCharts[entity]" class="uk-width-1-2@m uk-first-column">
|
478
|
<div class="iframeContainer">
|
479
|
<iframe [src]=statistics.chartsUrlMap[chart] scrolling="no"></iframe>
|
480
|
</div>
|
481
|
</div>
|
482
|
</ng-container>
|
483
|
</ng-container>
|
484
|
</ng-container>
|
485
|
</div>
|
486
|
</div>-->
|
487
|
|
488
|
|
489
|
</div>
|
490
|
</article>
|
491
|
</div>
|
492
|
|
493
|
</div>
|
494
|
|
495
|
</div>
|
496
|
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>
|
497
|
|
498
|
|
499
|
<div class="communityPanelBackground uk-margin-top uk-padding-small">
|
500
|
<div class="uk-container uk-margin-top uk-margin-bottom "
|
501
|
*ngIf="communityId != null && communityId != '' && community != null && communityInfo!=null">
|
502
|
<div class="uk-grid">
|
503
|
<div class="uk-width-2-5@m uk-width-1-1@s uk-first-column uk-margin-top">
|
504
|
<div *ngIf="community.date != null"><span
|
505
|
class="lowOpacityColor">Created</span> {{community.date | date:'dd-MM-yyyy'}}</div>
|
506
|
<subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class=""></subscribe>
|
507
|
<div *ngIf=" isRouteEnabled(shareInZenodoPage)" class="">
|
508
|
<span class="lowOpacityColor">Related Zenodo communities </span>
|
509
|
<a [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">
|
510
|
<span>
|
511
|
{{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>
|
512
|
|
513
|
</a>
|
514
|
{{" "}}
|
515
|
<span class="uk-icon"
|
516
|
uk-tooltip="title:<div class='uk-margin'>Zenodo is a catch-all repository for OpenAIRE<hr>A zenodo community is created and curated by Zenodo users</div>">
|
517
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question"
|
518
|
ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle><circle
|
519
|
cx="10.44" cy="14.42" r="1.05"></circle><path fill="none" stroke="#000" stroke-width="1.2"
|
520
|
d="M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75"></path></svg>
|
521
|
</span>
|
522
|
</div>
|
523
|
</div>
|
524
|
<div *ngIf="isRouteEnabled('/curators')" class="uk-width-3-5@m uk-width-1-1@s uk-margin-top">
|
525
|
<curators [longView]="false" [managers]="community.managers" [communityId]="communityId"></curators>
|
526
|
</div>
|
527
|
|
528
|
</div>
|
529
|
</div>
|
530
|
</div>
|
531
|
<div class="uk-section tm-middle uk-container uk-margin-top uk-padding-remove-top" id="" *ngIf="communityId != null
|
532
|
&& communityId != '' && community != null && communityInfo != null">
|
533
|
<ng-container *ngIf=" isRouteEnabled('/organizations')">
|
534
|
<div class="uk-container uk-margin-bottom uk-grid">
|
535
|
<div class="uk-width-expand uk-padding-remove">
|
536
|
<affiliations [longView]="false" [getAffiliationsFromAPI]="true" [communityFirstPage]="true"></affiliations>
|
537
|
</div>
|
538
|
</div>
|
539
|
</ng-container>
|
540
|
</div>
|
541
|
|
542
|
<div *ngIf="(communityId == null || communityId == '' ) && !communityInfo"
|
543
|
class="uk-section tm-middle uk-container uk-margin-large-top ">
|
544
|
<div class="uk-container uk-margin-bottom uk-grid">
|
545
|
<div class="uk-width-expand uk-padding-remove">
|
546
|
<article class="uk-article ">
|
547
|
<div
|
548
|
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">
|
549
|
No community chosen
|
550
|
</div>
|
551
|
<div *ngIf="communityId != null && communityId != '' && community != null">
|
552
|
|
553
|
</div>
|
554
|
</article>
|
555
|
</div>
|
556
|
|
557
|
</div>
|
558
|
|
559
|
</div>
|