1
|
<ng-template #search_box let-fetch="fetch" let-type="type" let-typeName="typeName"
|
2
|
let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">
|
3
|
<!-- *ngIf="fetch.searchUtils.totalResults > 0"-->
|
4
|
<div *ngIf="fetch.searchUtils.totalResults > 0">
|
5
|
<div class="uk-position-relative">
|
6
|
<a [queryParams]="params" target="_blank"
|
7
|
[routerLink]="searchLinkToAdvancedPage">
|
8
|
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
9
|
<div class="header target uk-text-bold">{{typeName}}</div>
|
10
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
11
|
<div class="footer target uk-position-relative">
|
12
|
<span class="uk-text-bold uk-position-center">{{fetch.searchUtils.totalResults | number}}</span>
|
13
|
</div>
|
14
|
</a>
|
15
|
</div>
|
16
|
</div>
|
17
|
</ng-template>
|
18
|
|
19
|
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
|
20
|
<div *ngIf="!showFeedback" uk-grid>
|
21
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
22
|
|
23
|
<div id="datasource" class="uk-container uk-container-large datasource">
|
24
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
|
25
|
role="alert">{{warningMessage}}</div>
|
26
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
27
|
role="alert">{{errorMessage}}</div>
|
28
|
<div [style.display]="showLoading ? 'inline' : 'none'"
|
29
|
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span
|
30
|
class="loading-gif uk-align-center"></span></div>
|
31
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
32
|
[texts]="pageContents['top']"></helper>
|
33
|
<div *ngIf="dataProviderInfo != null" class=" uk-grid">
|
34
|
<div class=" uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
|
35
|
<!--h3 *ngIf="dataProviderInfo.title != null">
|
36
|
<a *ngIf="dataProviderInfo.title['url'] != undefined && dataProviderInfo.title['url'] != null"
|
37
|
href="{{dataProviderInfo.title['url']}}" target="_blank" class="custom-external">
|
38
|
{{dataProviderInfo.title['name']}}
|
39
|
</a>
|
40
|
<p *ngIf="dataProviderInfo.title['url'] == undefined || dataProviderInfo.title['url'] == null">
|
41
|
{{dataProviderInfo.title['name']}}
|
42
|
</p>
|
43
|
</h3-->
|
44
|
<schema2jsonld *ngIf="dataProviderInfo" [data]=dataProviderInfo
|
45
|
[URL]="properties.baseLink+'/search/dataprovider?datasourceId='+datasourceId"
|
46
|
type="datasource"
|
47
|
[otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:nul)"></schema2jsonld>
|
48
|
|
49
|
<!-- <showTitle [title]="dataProviderInfo.title"></showTitle>-->
|
50
|
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
|
51
|
[subTitle]="(dataProviderInfo.officialName
|
52
|
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
|
53
|
[entityType]="'content provider'"
|
54
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
|
55
|
</landing-header>
|
56
|
|
57
|
<!-- Web Page -->
|
58
|
<div class="uk-margin-top uk-margin-bottom">
|
59
|
<div *ngIf="dataProviderInfo.title && dataProviderInfo.title.url">
|
60
|
<span class="uk-text-muted">Web page: </span>
|
61
|
<a [href]="dataProviderInfo.title.url">
|
62
|
<span>{{dataProviderInfo.title.url}}</span>
|
63
|
<span class="custom-external custom-icon space"></span>
|
64
|
</a>
|
65
|
</div>
|
66
|
<!-- Labels -->
|
67
|
<div class="uk-margin-small-top">
|
68
|
<span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility"
|
69
|
title="Compatibility">
|
70
|
<a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"
|
71
|
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"
|
72
|
routerLink="/search/dataprovider">
|
73
|
{{dataProviderInfo.compatibility.info}}
|
74
|
</a>
|
75
|
<span *ngIf="dataProviderInfo.compatibility.name || !dataProviderInfo.compatibility.id">
|
76
|
{{dataProviderInfo.compatibility.info}}
|
77
|
</span>
|
78
|
<a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"
|
79
|
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"
|
80
|
routerLink="/search/dataprovider">
|
81
|
{{dataProviderInfo.compatibility.name}}
|
82
|
</a>
|
83
|
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">
|
84
|
{{dataProviderInfo.compatibility.name}}
|
85
|
</span>
|
86
|
</span>{{" "}}
|
87
|
<span *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"
|
88
|
class="uk-label custom-label label-dataprovider ">OpenAIRE Text Mining
|
89
|
</span>{{" "}}
|
90
|
<span
|
91
|
*ngIf="properties.environment !== 'production' && dataProviderInfo.countries && dataProviderInfo.countries.length > 0">
|
92
|
<ng-container *ngFor="let country of dataProviderInfo.countries">
|
93
|
<span class="uk-label custom-label label-country" title="Country">{{country}}</span>
|
94
|
{{' '}}
|
95
|
</ng-container>
|
96
|
</span>
|
97
|
<span *ngIf="properties.environment === 'production' && dataProviderInfo.countries &&
|
98
|
removeUnknown(dataProviderInfo.countries).length > 0">
|
99
|
<ng-container *ngFor="let country of removeUnknown(dataProviderInfo.countries)">
|
100
|
<span class="uk-label custom-label label-country" title="Country">{{country}}</span>
|
101
|
{{' '}}
|
102
|
</ng-container>
|
103
|
</span>
|
104
|
</div>
|
105
|
</div>
|
106
|
<ul class="uk-list">
|
107
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
108
|
<li *ngIf="dataProviderInfo.aggregationStatus" class="uk-animation-fade uk-animation-fast">
|
109
|
<span *ngIf="dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1"
|
110
|
class="uk-margin-right">
|
111
|
<span class="uk-text-muted">Collected full-texts: </span>
|
112
|
{{dataProviderInfo.aggregationStatus.fulltexts | number}}
|
113
|
</span>
|
114
|
<span *ngIf="dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1"
|
115
|
class="uk-display-inline-block">
|
116
|
<span class="uk-text-muted">Results with funding information: </span>
|
117
|
{{dataProviderInfo.aggregationStatus.fundedContent | number}}
|
118
|
</span>
|
119
|
<span *ngIf="dataProviderInfo.aggregationStatus.lastUpdateDate && dataProviderInfo.aggregationStatus.lastUpdateDate != null"
|
120
|
class="uk-display-inline-block">
|
121
|
<span class="uk-text-muted">Latest data aggregation: </span>
|
122
|
{{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}
|
123
|
</span>
|
124
|
</li>
|
125
|
<!-- Organizations -->
|
126
|
<!-- <li *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0" class="uk-margin-small-bottom">-->
|
127
|
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
|
128
|
<!-- <span class="uk-text-muted">Organizations: </span>-->
|
129
|
<!-- <span *ngFor="let organization of dataProviderInfo.organizations.slice(0, showNumOrganizations) let i=index">-->
|
130
|
<!-- <a *ngIf="organization.id"-->
|
131
|
<!-- [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"-->
|
132
|
<!-- routerLink="/search/organization">-->
|
133
|
<!-- <u>{{organization.name}}</u>-->
|
134
|
<!-- </a>-->
|
135
|
<!-- <span *ngIf="!organization.id">-->
|
136
|
<!-- <span>{{organization.name}}</span>-->
|
137
|
<!-- <span *ngIf="(i < dataProviderInfo.organizations.length-1)">,</span>-->
|
138
|
<!-- </span>-->
|
139
|
<!-- <span *ngIf="(i < dataProviderInfo.organizations.length-1)">, </span>-->
|
140
|
<!-- </span>-->
|
141
|
<!-- <span *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"> ... </span>-->
|
142
|
<!-- </div>-->
|
143
|
<!-- <div *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"-->
|
144
|
<!-- class="uk-width-1-1 uk-text-right">-->
|
145
|
<!-- <a (click)="showNumOrganizations = dataProviderInfo.organizations.length;">-->
|
146
|
<!-- View all {{dataProviderInfo.organizations.length | number}} organizations-->
|
147
|
<!-- </a>-->
|
148
|
<!-- </div>-->
|
149
|
<!-- <div *ngIf="showNumOrganizations > thresholdOrganizations" class="uk-width-1-1 uk-text-right">-->
|
150
|
<!-- <a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>-->
|
151
|
<!-- </div>-->
|
152
|
<!-- </li>-->
|
153
|
<li *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0" class="uk-margin-bottom">
|
154
|
<div class="uk-height-max-medium uk-overflow-auto">
|
155
|
<span class="uk-text-muted">Organizations: </span>
|
156
|
<span *ngFor="let organization of dataProviderInfo.organizations.slice(0, showNumOrganizations) let i=index"
|
157
|
[attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
158
|
[title]="organization.name">
|
159
|
<a *ngIf="organization.id"
|
160
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
161
|
routerLink="/search/organization">
|
162
|
<u>{{(organization.acronym) ? organization.acronym : ''}}</u>
|
163
|
<u>{{(!organization.acronym && organization.name) ? organization.name : ''}}</u>
|
164
|
</a>
|
165
|
<span *ngIf="!organization.id">
|
166
|
<span *ngIf="organization.acronym">{{organization.acronym}}</span>
|
167
|
<span *ngIf="!organization.acronym && organization.name">{{organization.name}}</span>
|
168
|
<span *ngIf="(i < dataProviderInfo.organizations.length-1)">,</span>
|
169
|
</span>
|
170
|
<span *ngIf="(i < dataProviderInfo.organizations.length-1)">, </span>
|
171
|
</span>
|
172
|
<span *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"> ... </span>
|
173
|
</div>
|
174
|
<div *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"
|
175
|
class="uk-width-1-1 uk-text-right">
|
176
|
<a (click)="showNumOrganizations = dataProviderInfo.organizations.length;">
|
177
|
View all {{dataProviderInfo.organizations.length | number}} organizations
|
178
|
</a>
|
179
|
</div>
|
180
|
<div *ngIf="showNumOrganizations > thresholdOrganizations" class="uk-width-1-1 uk-text-right">
|
181
|
<a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>
|
182
|
</div>
|
183
|
</li>
|
184
|
<li *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.openDoarId || dataProviderInfo.r3DataId">
|
185
|
<span *ngIf="dataProviderInfo.oaiPmhURL" class="uk-margin-right">
|
186
|
<span class="uk-text-muted">OAI-PMH: </span>
|
187
|
<a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}">
|
188
|
{{dataProviderInfo.oaiPmhURL}}
|
189
|
<span class="custom-external custom-icon space"></span>
|
190
|
</a>
|
191
|
</span>
|
192
|
<span *ngIf="dataProviderInfo.openDoarId" class="uk-display-inline-block">
|
193
|
<span class="uk-text-muted">Detailed content provider information at </span>
|
194
|
<a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">
|
195
|
OpenDOAR
|
196
|
<span class="custom-external custom-icon space"></span>
|
197
|
</a>
|
198
|
</span>
|
199
|
<span *ngIf="dataProviderInfo.r3DataId" class="uk-display-inline-block">
|
200
|
<span class="uk-text-muted">Detailed content provider information at </span>
|
201
|
<a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">
|
202
|
re3data.org
|
203
|
<span class="custom-external custom-icon space"></span>
|
204
|
</a>
|
205
|
</span>
|
206
|
</li>
|
207
|
<li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0">
|
208
|
<span class="uk-text-muted">Countries:</span>
|
209
|
{{dataProviderInfo.countries.join(", ")}}
|
210
|
</li>
|
211
|
</ul>
|
212
|
|
213
|
<!-- Description -->
|
214
|
<div *ngIf="dataProviderInfo.description" class="uk-margin-bottom">
|
215
|
<div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
|
216
|
<span class="uk-text-muted">Description: </span>
|
217
|
<span>{{dataProviderInfo.description.substring(0, showNumDescription)}}</span>
|
218
|
<span *ngIf="showNumDescription == thresholdDescription &&
|
219
|
dataProviderInfo.description.length > thresholdDescription">...</span>
|
220
|
</div>
|
221
|
<div *ngIf="showNumDescription == thresholdDescription &&
|
222
|
dataProviderInfo.description.length > thresholdDescription" class="uk-text-right">
|
223
|
<a (click)="showNumDescription = dataProviderInfo.description.length;">
|
224
|
View more
|
225
|
</a>
|
226
|
</div>
|
227
|
<div *ngIf="dataProviderInfo.description && showNumDescription > thresholdDescription"
|
228
|
class="uk-text-right">
|
229
|
<a (click)="showNumDescription = thresholdDescription;">
|
230
|
View less
|
231
|
</a>
|
232
|
</div>
|
233
|
</div>
|
234
|
|
235
|
<!-- Subjects -->
|
236
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0" class="uk-margin-bottom">
|
237
|
<div class="uk-text-small uk-height-max-medium uk-overflow-auto">
|
238
|
<span class="uk-text-muted">Subjects: </span>
|
239
|
<!-- {{dataProviderInfo.countries.join(", ")}}-->
|
240
|
<span *ngFor="let subject of dataProviderInfo.subjects.slice(0, showNumSubjects) let i=index">
|
241
|
<span>{{subject}}</span>
|
242
|
<span *ngIf="(i < dataProviderInfo.subjects.length-1)">, </span>
|
243
|
</span>
|
244
|
<span *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"> ... </span>
|
245
|
</div>
|
246
|
<div *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"
|
247
|
class="uk-width-1-1 uk-text-right">
|
248
|
<a (click)="showNumSubjects = dataProviderInfo.subjects.length;">
|
249
|
View all {{dataProviderInfo.subjects.length | number}} subjects
|
250
|
</a>
|
251
|
</div>
|
252
|
<div *ngIf="showNumSubjects > thresholdSubjects" class="uk-width-1-1 uk-text-right">
|
253
|
<a (click)="showNumSubjects = thresholdSubjects;">View less subjects</a>
|
254
|
</div>
|
255
|
</div>
|
256
|
|
257
|
<!-- <span *ngIf="dataProviderInfo.type" class="uk-label custom-label label-type label-dataprovider "-->
|
258
|
<!-- title="Type">{{dataProviderInfo.type}}</span>{{" "}}-->
|
259
|
<!-- <span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility "-->
|
260
|
<!-- title="Compatibility">-->
|
261
|
<!-- <a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
|
262
|
<!-- [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
|
263
|
<!-- routerLink="/search/dataprovider">-->
|
264
|
<!-- {{dataProviderInfo.compatibility.info}}-->
|
265
|
<!-- </a>-->
|
266
|
<!-- <span *ngIf="dataProviderInfo.compatibility.name || !dataProviderInfo.compatibility.id">-->
|
267
|
<!-- {{dataProviderInfo.compatibility.info}}-->
|
268
|
<!-- </span>-->
|
269
|
<!-- <a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
|
270
|
<!-- [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
|
271
|
<!-- routerLink="/search/dataprovider">-->
|
272
|
<!-- {{dataProviderInfo.compatibility.name}}-->
|
273
|
<!-- </a>-->
|
274
|
<!-- <span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">-->
|
275
|
<!-- {{dataProviderInfo.compatibility.name}}-->
|
276
|
<!-- </span>-->
|
277
|
<!-- </span>{{" "}}-->
|
278
|
<!-- <span *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"-->
|
279
|
<!-- class="uk-label custom-label label-type label-dataprovider ">OpenAIRE Text Mining</span>{{" "}}-->
|
280
|
|
281
|
<!-- <ul class="uk-list">-->
|
282
|
<!-- <showPublisher [properties]="properties"-->
|
283
|
<!-- [journal]="dataProviderInfo.journal"></showPublisher>-->
|
284
|
<!-- <li-->
|
285
|
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1">-->
|
286
|
<!-- <span class="uk-text-bold">Results with funding information: </span>-->
|
287
|
<!-- {{dataProviderInfo.aggregationStatus.fundedContent | number}}-->
|
288
|
<!-- </li>-->
|
289
|
<!-- <li-->
|
290
|
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1">-->
|
291
|
<!-- <span class="uk-text-bold">Collected full-texts: </span>-->
|
292
|
<!-- {{dataProviderInfo.aggregationStatus.fulltexts | number}}-->
|
293
|
<!-- </li>-->
|
294
|
<!-- <li-->
|
295
|
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.lastUpdateDate && dataProviderInfo.aggregationStatus.lastUpdateDate != null">-->
|
296
|
<!-- <span class="uk-text-bold">Last update of records in OpenAIRE: </span>-->
|
297
|
<!-- {{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}-->
|
298
|
<!-- </li>-->
|
299
|
<!-- <li *ngIf="dataProviderInfo.oaiPmhURL"><span class="uk-text-bold">OAI-PMH: </span>-->
|
300
|
<!-- <span class="uk-button-text">-->
|
301
|
<!-- <a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}">-->
|
302
|
<!-- {{dataProviderInfo.oaiPmhURL}}-->
|
303
|
<!-- </a>-->
|
304
|
<!-- </span>-->
|
305
|
|
306
|
<!-- </li>-->
|
307
|
<!-- <li *ngIf="dataProviderInfo.openDoarId">-->
|
308
|
<!-- <span class="uk-button-text">-->
|
309
|
<!-- <a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">-->
|
310
|
<!-- Detailed content provider information (OpenDOAR)-->
|
311
|
<!-- </a>-->
|
312
|
<!-- </span>-->
|
313
|
|
314
|
<!-- </li>-->
|
315
|
<!-- <li *ngIf="dataProviderInfo.r3DataId">-->
|
316
|
<!-- <span class="uk-button-text">-->
|
317
|
<!-- <a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">-->
|
318
|
<!-- Detailed content provider information (Re3data)-->
|
319
|
<!-- </a>-->
|
320
|
<!-- </span>-->
|
321
|
|
322
|
<!-- </li>-->
|
323
|
|
324
|
<!-- <li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"><span-->
|
325
|
<!-- class="uk-text-bold">Countries: </span>{{dataProviderInfo.countries.join(", ")}}</li>-->
|
326
|
<!-- </ul>-->
|
327
|
|
328
|
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.length > 0-->
|
329
|
<div *ngIf="showTabs"
|
330
|
class="uk-margin-medium-top">
|
331
|
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1 || dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
|
332
|
<div
|
333
|
class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
|
334
|
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
|
335
|
<div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
336
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
337
|
(click)="openRelatedDatasources()" class="clickable uk-margin-right">
|
338
|
<span class="uk-text-middle">Related Content Providers</span>
|
339
|
</div>
|
340
|
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"-->
|
341
|
<div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
342
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
343
|
(click)="openStatistics()" class="clickable uk-margin-right">
|
344
|
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
|
345
|
<path d="M0 0h24v24H0z" fill="none"></path>
|
346
|
<path id="statistics-bars" d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>
|
347
|
</svg>
|
348
|
<span class="uk-text-middle space">View statistics</span>
|
349
|
</div>
|
350
|
</div>
|
351
|
|
352
|
<!-- ||-->
|
353
|
<!-- dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
|
354
|
|
355
|
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1 ||-->
|
356
|
<!-- dataProviderInfo.tabs2.indexOf('Research Data') != -1 ||-->
|
357
|
<!-- dataProviderInfo.tabs2.indexOf('Software') != -1 ||-->
|
358
|
<!-- dataProviderInfo.tabs2.indexOf('Other Research Products') != -1 ||-->
|
359
|
<!-- dataProviderInfo.tabs2.indexOf('Projects') != -1 ||-->
|
360
|
<!-- dataProviderInfo.tabs2.indexOf('Content Providers') != -1 "-->
|
361
|
<div
|
362
|
class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
|
363
|
uk-height-match="target: .target; row: false"
|
364
|
uk-grid>
|
365
|
<!-- && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0-->
|
366
|
<!-- <div *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
|
367
|
<!-- ">-->
|
368
|
<!-- <div class="clickable" (click)="openRelatedDatasources()">-->
|
369
|
<!-- <div class="header target uk-text-bold">Related Content Providers</div>-->
|
370
|
<!-- <div class="footer target uk-position-relative">-->
|
371
|
<!--<!– <span class="uk-text-bold uk-position-center">–>-->
|
372
|
<!--<!– {{dataProviderInfo.relatedDatasources?.size | number}}–>-->
|
373
|
<!--<!– </span>–>-->
|
374
|
<!-- </div>-->
|
375
|
<!-- </div>-->
|
376
|
<!-- </div>-->
|
377
|
|
378
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1">-->
|
379
|
<ng-container *ngTemplateOutlet="search_box;
|
380
|
context: { fetch: fetchPublications, type: 'publications', typeName: 'Publications',
|
381
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('publications')}">
|
382
|
</ng-container>
|
383
|
<!-- <a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"-->
|
384
|
<!-- [routerLink]="properties.searchLinkToAdvancedResults">-->
|
385
|
<!-- </ng-container>-->
|
386
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1">-->
|
387
|
<ng-container *ngTemplateOutlet="search_box;
|
388
|
context: { fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data',
|
389
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('datasets')}">
|
390
|
</ng-container>
|
391
|
<!-- </ng-container>-->
|
392
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1">-->
|
393
|
<ng-container *ngTemplateOutlet="search_box;
|
394
|
context: { fetch: fetchSoftware, type: 'software', typeName: 'Software',
|
395
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('software')}">
|
396
|
</ng-container>
|
397
|
<!-- </ng-container>-->
|
398
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1">-->
|
399
|
<ng-container *ngTemplateOutlet="search_box;
|
400
|
context: { fetch: fetchOrps, type: 'other', typeName: 'Other Research Products',
|
401
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('other')}">
|
402
|
</ng-container>
|
403
|
<!-- </ng-container>-->
|
404
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1">-->
|
405
|
<ng-container *ngTemplateOutlet="search_box;
|
406
|
context: { fetch: fetchProjects, type: 'project', typeName: 'Projects',
|
407
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedProjects, params: getParamsForSearchLink()}">
|
408
|
</ng-container>
|
409
|
<!-- </ng-container>-->
|
410
|
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1">-->
|
411
|
<ng-container *ngTemplateOutlet="search_box;
|
412
|
context: { fetch: fetchDataproviders, type: 'other', typeName: 'Content Providers',
|
413
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedDataProviders, params: getParamsForSearchLink()}">
|
414
|
</ng-container>
|
415
|
<!-- </ng-container>-->
|
416
|
</div>
|
417
|
</div>
|
418
|
<div class="uk-margin-small-top uk-flex uk-flex-bottom">
|
419
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
420
|
<span class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">
|
421
|
Powered by OpenAIRE Open Research Graph
|
422
|
</span>
|
423
|
</div>
|
424
|
</div>
|
425
|
|
426
|
<!-- <div *ngIf="showTabs">-->
|
427
|
<!-- <ul class="custom-accordion" uk-accordion *ngIf="dataProviderInfo.tabs2 != undefined">-->
|
428
|
|
429
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1"-->
|
430
|
<!-- (click)="search('publicationsTab', 1, 10); activeTab='Publications'">-->
|
431
|
<!-- <a class="uk-accordion-title" href="#">Publications-->
|
432
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
433
|
<!-- ({{fetchPublications.searchUtils.totalResults | number}})-->
|
434
|
<!-- <!– </span> –>-->
|
435
|
<!-- </a>-->
|
436
|
<!-- <div class="uk-accordion-content">-->
|
437
|
<!-- <publicationsTab *ngIf="activeTab=='Publications'"-->
|
438
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
439
|
<!-- [fetchPublications]="fetchPublications" [(properties)]=properties>-->
|
440
|
<!-- </publicationsTab>-->
|
441
|
<!-- </div>-->
|
442
|
<!-- </li>-->
|
443
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1"-->
|
444
|
<!-- (click)="search('datasetsTab', 1, 10); activeTab='Research Data'">-->
|
445
|
<!-- <a class="uk-accordion-title" href="#">Research Data-->
|
446
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
447
|
<!-- ({{fetchDatasets.searchUtils.totalResults | number}})-->
|
448
|
<!-- <!– </span> –>-->
|
449
|
<!-- </a>-->
|
450
|
<!-- <div class="uk-accordion-content">-->
|
451
|
<!-- <p>-->
|
452
|
<!-- <datasetsTab *ngIf="activeTab=='Research Data'"-->
|
453
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
454
|
<!-- [fetchDatasets]="fetchDatasets" [(properties)]=properties>-->
|
455
|
<!-- </datasetsTab>-->
|
456
|
<!-- </p>-->
|
457
|
<!-- </div>-->
|
458
|
<!-- </li>-->
|
459
|
|
460
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1"-->
|
461
|
<!-- (click)="search('softwareTab', 1, 10); activeTab='Software'">-->
|
462
|
<!-- <a class="uk-accordion-title" href="#">Software-->
|
463
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
464
|
<!-- ({{fetchSoftware.searchUtils.totalResults | number}})-->
|
465
|
<!-- <!– </span> –>-->
|
466
|
<!-- </a>-->
|
467
|
<!-- <div class="uk-accordion-content">-->
|
468
|
<!-- <softwareTab *ngIf="activeTab=='Software'"-->
|
469
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
470
|
<!-- [fetchSoftware]="fetchSoftware" [(properties)]=properties>-->
|
471
|
<!-- </softwareTab>-->
|
472
|
<!-- </div>-->
|
473
|
<!-- </li>-->
|
474
|
|
475
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1"-->
|
476
|
<!-- (click)="search('orpsTab', 1, 10); activeTab='Other Research Products'">-->
|
477
|
<!-- <a class="uk-accordion-title" href="#">Other Research Products-->
|
478
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
479
|
<!-- ({{fetchOrps.searchUtils.totalResults | number}})-->
|
480
|
<!-- <!– </span> –>-->
|
481
|
<!-- </a>-->
|
482
|
<!-- <div class="uk-accordion-content">-->
|
483
|
<!-- <orpsTab *ngIf="activeTab=='Other Research Products'"-->
|
484
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
485
|
<!-- [fetchOrps]="fetchOrps" [(properties)]=properties>-->
|
486
|
<!-- </orpsTab>-->
|
487
|
<!-- </div>-->
|
488
|
<!-- </li>-->
|
489
|
|
490
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1"-->
|
491
|
<!-- (click)="search('projectsTab', 1, 10); activeTab='Projects'">-->
|
492
|
<!-- <a class="uk-accordion-title" href="#">Projects-->
|
493
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
494
|
<!-- ({{fetchProjects.searchUtils.totalResults | number}})-->
|
495
|
<!-- <!– </span> –>-->
|
496
|
<!-- </a>-->
|
497
|
<!-- <div class="uk-accordion-content">-->
|
498
|
<!-- <projectsTab *ngIf="activeTab=='Projects'"-->
|
499
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
500
|
<!-- [fetchProjects]="fetchProjects" [(properties)]=properties>-->
|
501
|
<!-- </projectsTab>-->
|
502
|
<!-- </div>-->
|
503
|
<!-- </li>-->
|
504
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1"-->
|
505
|
<!-- (click)="search('datasourcesTab', 1, 10); activeTab='Content Providers'">-->
|
506
|
<!-- <a class="uk-accordion-title" href="#">Content Providers-->
|
507
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
508
|
<!-- ({{fetchDataproviders.searchUtils.totalResults | number}})-->
|
509
|
<!-- <!– </span> –>-->
|
510
|
<!-- </a>-->
|
511
|
<!-- <div class="uk-accordion-content">-->
|
512
|
<!-- <datasourcesTab *ngIf="activeTab=='Content Providers'"-->
|
513
|
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
|
514
|
<!-- [fetchDataproviders]="fetchDataproviders" [(properties)]=properties>-->
|
515
|
<!-- </datasourcesTab>-->
|
516
|
<!-- </div>-->
|
517
|
<!-- </li>-->
|
518
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Organizations') != -1"-->
|
519
|
<!-- (click)="search('organizationsTab', 1, 10); activeTab='Organizations'">-->
|
520
|
<!-- <a class="uk-accordion-title" href="#">Organizations-->
|
521
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
522
|
<!-- ({{dataProviderInfo.organizations.length | number}})-->
|
523
|
<!-- <!– </span> –>-->
|
524
|
<!-- </a>-->
|
525
|
<!-- <div class="uk-accordion-content">-->
|
526
|
<!-- <organizationsTab *ngIf="activeTab=='Organizations'"-->
|
527
|
<!-- [organizations]="dataProviderInfo.organizations">-->
|
528
|
<!-- </organizationsTab>-->
|
529
|
<!-- </div>-->
|
530
|
<!-- </li>-->
|
531
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
|
532
|
<!-- (click)="search('relatedDatasourcesTab', 1, 10); activeTab='Related Content Providers'">-->
|
533
|
<!-- <a class="uk-accordion-title" href="#">Related Content Providers</a>-->
|
534
|
<!-- <div class="uk-accordion-content">-->
|
535
|
<!-- <relatedDatasourcesTab *ngIf="activeTab=='Related Content Providers'"-->
|
536
|
<!-- [dataproviderId]="datasourceId"-->
|
537
|
<!-- [results]="dataProviderInfo.relatedDatasources"-->
|
538
|
<!-- [loading]="loadingRelatedDatasources"-->
|
539
|
<!-- [fetchPublications]="fetchAggregatorsPublications"-->
|
540
|
<!-- [fetchDatasets]="fetchAggregatorsDatasets"-->
|
541
|
<!-- [fetchSoftware]="fetchAggregatorsSoftware"-->
|
542
|
<!-- [fetchOrps]="fetchAggregatorsOrps"-->
|
543
|
<!-- [(properties)]=properties>-->
|
544
|
<!-- </relatedDatasourcesTab>-->
|
545
|
<!-- </div>-->
|
546
|
<!-- </li>-->
|
547
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"-->
|
548
|
<!-- (click)="search('statisticsTab', 1, 10); activeTab='Statistics'">-->
|
549
|
<!-- <a class="uk-accordion-title" href="#">Statistics</a>-->
|
550
|
<!-- <div class="uk-accordion-content">-->
|
551
|
<!-- <div *ngIf="activeTab=='Statistics' && statsClicked">-->
|
552
|
<!-- <statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"-->
|
553
|
<!-- [datasourceId]="datasourceId"></statisticsTab>-->
|
554
|
<!-- </div>-->
|
555
|
<!-- </div>-->
|
556
|
<!-- </li>-->
|
557
|
|
558
|
|
559
|
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Metrics') != -1"-->
|
560
|
<!-- (click)="search('metricsTab', 1, 10); activeTab='Metrics'">-->
|
561
|
<!-- <a class="uk-accordion-title" href="#">Metrics</a>-->
|
562
|
<!-- <div class="uk-accordion-content">-->
|
563
|
<!-- <metrics *ngIf="activeTab=='Metrics'" [pageViews]="pageViews"-->
|
564
|
<!-- [id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"-->
|
565
|
<!-- (metricsResults)="metricsResults($event)" [(properties)]=properties>-->
|
566
|
<!-- </metrics>-->
|
567
|
<!-- <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalViews > 0"-->
|
568
|
<!-- [url]=viewsFrameUrl width="100%" height="250">-->
|
569
|
<!-- </i-frame>-->
|
570
|
<!-- <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalDownloads > 0"-->
|
571
|
<!-- [url]=downloadsFrameUrl width="100%" height="250">-->
|
572
|
<!-- </i-frame>-->
|
573
|
<!-- </div>-->
|
574
|
<!-- </li>-->
|
575
|
|
576
|
<!-- </ul>-->
|
577
|
<!-- </div>-->
|
578
|
|
579
|
<div class=" uk-width-1-3@m uk-width-1-1@s">
|
580
|
<div class="uk-card uk-card-default uk-padding-small">
|
581
|
<div>
|
582
|
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>
|
583
|
<addThis></addThis>
|
584
|
</div>
|
585
|
<!-- Metrics -->
|
586
|
<div *ngIf="hasMetrics" class="uk-margin-top">
|
587
|
<div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>
|
588
|
<div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">
|
589
|
<div></div><!-- Open Citations-->
|
590
|
<div>
|
591
|
<metrics [pageViews]="pageViews"
|
592
|
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"
|
593
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
594
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
595
|
</metrics>
|
596
|
</div>
|
597
|
</div>
|
598
|
</div>
|
599
|
<!-- <metrics [pageViews]="pageViews" shortView=true-->
|
600
|
<!-- [id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"-->
|
601
|
<!-- (metricsResults)="metricsResults($event)" [properties]=properties>-->
|
602
|
<!-- </metrics>-->
|
603
|
<!-- Metrics -->
|
604
|
<!-- <div class="uk-margin-top">-->
|
605
|
<!-- <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>-->
|
606
|
<!-- <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">-->
|
607
|
<!-- <div></div><!– OpenAIRE Metrics –>-->
|
608
|
<!-- </div>-->
|
609
|
<!-- </div>-->
|
610
|
</div>
|
611
|
<div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
|
612
|
Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
613
|
</div>
|
614
|
</div>
|
615
|
</div>
|
616
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
617
|
[texts]="pageContents['bottom']"></helper>
|
618
|
</div>
|
619
|
</div>
|
620
|
</div>
|
621
|
<feedback *ngIf="dataProviderInfo" [dataProviderInfo]="dataProviderInfo"
|
622
|
[properties]="properties" [entityType]="'content provider'" [fields]="feedbackFields"
|
623
|
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
|
624
|
<!-- Statistics -->
|
625
|
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Statistics') != -1-->
|
626
|
<modal-alert *ngIf="dataProviderInfo &&
|
627
|
(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
628
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
629
|
classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>
|
630
|
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
|
631
|
[subTitle]="(dataProviderInfo.officialName
|
632
|
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
|
633
|
[entityType]="'content provider'"
|
634
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
|
635
|
</landing-header>
|
636
|
<div *ngIf="statsClicked" class="uk-margin-medium-top uk-margin-medium-right">
|
637
|
<statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"
|
638
|
[fetchSoftware]="fetchSoftware" [fetchOther]="fetchOrps"
|
639
|
[datasourceId]="datasourceId"></statisticsTab>
|
640
|
</div>
|
641
|
</modal-alert>
|
642
|
|
643
|
<!-- Related Content Providers -->
|
644
|
<!-- && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0-->
|
645
|
|
646
|
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
|
647
|
<modal-alert *ngIf="dataProviderInfo &&
|
648
|
(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
649
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
650
|
classBody="uk-width-xxlarge uk-padding-remove-right" #relatedDatasourcesModal>
|
651
|
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
|
652
|
[subTitle]="(dataProviderInfo.officialName
|
653
|
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
|
654
|
[entityType]="'content provider'"
|
655
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
|
656
|
</landing-header>
|
657
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
658
|
<!-- [fetchPublications]="fetchAggregatorsPublications"-->
|
659
|
<!-- [fetchDatasets]="fetchAggregatorsDatasets"-->
|
660
|
<!-- [fetchSoftware]="fetchAggregatorsSoftware"-->
|
661
|
<!-- [fetchOrps]="fetchAggregatorsOrps"-->
|
662
|
<relatedDatasourcesTab
|
663
|
[dataproviderId]="datasourceId"
|
664
|
[results]="dataProviderInfo.relatedDatasources"
|
665
|
[loading]="loadingRelatedDatasources"
|
666
|
[fetchResults]="fetchAggregatorsResults"
|
667
|
[collectedFromName]="dataProviderInfo.title.name"
|
668
|
[properties]=properties
|
669
|
[modal]="relatedDatasourcesModal">
|
670
|
</relatedDatasourcesTab>
|
671
|
</div>
|
672
|
</modal-alert>
|
673
|
</div>
|