1
|
<div id="tm-main" class="landing uk-section uk-padding-remove-top tm-middle">
|
2
|
<div *ngIf="!showFeedback" class="uk-grid">
|
3
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
4
|
<div class="uk-container uk-container-large uk-margin-medium-top publication">
|
5
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
|
6
|
role="alert">{{warningMessage}}</div>
|
7
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
8
|
role="alert">{{errorMessage}}</div>
|
9
|
<div [style.display]="showLoading ? 'inline' : 'none'"
|
10
|
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert">
|
11
|
<span *ngIf="!dashboard" class="loading-gif uk-align-center"></span>
|
12
|
<loading *ngIf="dashboard"></loading>
|
13
|
</div>
|
14
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
15
|
[texts]="pageContents['top']"></helper>
|
16
|
<div *ngIf="resultLandingInfo" class="uk-grid uk-margin-remove">
|
17
|
<div
|
18
|
class="uk-width-2-3@m uk-width-1-1@s uk-padding uk-padding-remove-left uk-padding-remove-vertical uk-margin-bottom">
|
19
|
<!-- schema.org-->
|
20
|
<schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record
|
21
|
[URL]="properties.domain+ properties.baseLink +linkToLandingPage+id"></schema2jsonld>
|
22
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
23
|
[subTitle]="resultLandingInfo.subtitle"
|
24
|
[authors]="resultLandingInfo.authors" [authorLimit]="10"
|
25
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
26
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
27
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
28
|
</landing-header>
|
29
|
<!-- Labels -->
|
30
|
<div class="uk-margin-bottom">
|
31
|
<span *ngIf="resultLandingInfo.accessMode
|
32
|
&& resultLandingInfo.accessMode.toLowerCase() !== 'not available'"
|
33
|
[class]="'uk-label custom-label label-'+ accessClass(resultLandingInfo.accessMode)"
|
34
|
title="Access Mode">{{resultLandingInfo.accessMode}}
|
35
|
</span>{{" "}}
|
36
|
<span *ngIf="resultLandingInfo.languages &&
|
37
|
removeUnknown(resultLandingInfo.languages).length > 0">
|
38
|
<ng-container *ngFor="let language of removeUnknown(resultLandingInfo.languages)">
|
39
|
<span class="uk-label custom-label label-language" title="Language">{{language}}</span>
|
40
|
{{' '}}
|
41
|
</ng-container>
|
42
|
</span>
|
43
|
<span *ngIf="resultLandingInfo.programmingLanguages && resultLandingInfo.programmingLanguages.length > 0">
|
44
|
<ng-container *ngFor="let programmingLanguage of resultLandingInfo.programmingLanguages">
|
45
|
<span class="uk-label custom-label label-language"
|
46
|
title="Programming Language">{{programmingLanguage}}</span>
|
47
|
{{' '}}
|
48
|
</ng-container>
|
49
|
</span>
|
50
|
</div>
|
51
|
<ul class="uk-list basic-info">
|
52
|
<!--Published Date, Journal and Publisher-->
|
53
|
<showPublisher [publisher]="resultLandingInfo.publisher"
|
54
|
[publishDate]="resultLandingInfo.dateofacceptance"
|
55
|
[journal]="resultLandingInfo.journal" [properties]="properties"></showPublisher>
|
56
|
<!-- Countries -->
|
57
|
<li *ngIf="resultLandingInfo.countries && resultLandingInfo.countries.length > 0">
|
58
|
<span class="uk-text-muted">
|
59
|
{{(resultLandingInfo.countries.length === 1) ? 'Country: ' : 'Countries: '}}
|
60
|
</span>
|
61
|
{{resultLandingInfo.countries.join(", ")}}
|
62
|
</li>
|
63
|
</ul>
|
64
|
</div>
|
65
|
<div class="uk-width-1-3@m uk-width-1-1@s uk-padding-remove">
|
66
|
<ul class="user-actions uk-list uk-card uk-card-default uk-padding">
|
67
|
<!-- Share -->
|
68
|
<li>
|
69
|
<addThis></addThis>
|
70
|
</li>
|
71
|
<!-- Link to -->
|
72
|
<li *ngIf="isRouteAvailable('participate/direct-claim')">
|
73
|
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openLinkModal()">
|
74
|
<span class="uk-icon-button portal-button uk-icon">
|
75
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="link"><path
|
76
|
fill="none" stroke="#000" stroke-width="1.1"
|
77
|
d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path
|
78
|
fill="none" stroke="#000" stroke-width="1.1"
|
79
|
d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path
|
80
|
fill="none" stroke="#000" stroke-width="1.1"
|
81
|
d="M7.925,11.875 L11.925,7.975"></path>
|
82
|
</svg>
|
83
|
</span>
|
84
|
<span class="uk-margin-small-left">Link this {{getTypeName()}} to...</span>
|
85
|
</a>
|
86
|
</li>
|
87
|
<!-- Cite this -->
|
88
|
<li>
|
89
|
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openCiteModal()">
|
90
|
<span class="uk-icon-button uk-button-primary uk-icon">
|
91
|
<svg width="20"
|
92
|
height="20"
|
93
|
viewBox="0 0 20 20"
|
94
|
xmlns="http://www.w3.org/2000/svg"
|
95
|
data-svg="quote-right">
|
96
|
<path d="M17.27,7.79 C17.27,9.45 16.97,10.43 15.99,12.02 C14.98,13.64 13,15.23 11.56,15.97 L11.1,15.08 C12.34,14.2 13.14,13.51 14.02,11.82 C14.27,11.34 14.41,10.92 14.49,10.54 C14.3,10.58 14.09,10.6 13.88,10.6 C12.06,10.6 10.59,9.12 10.59,7.3 C10.59,5.48 12.06,4 13.88,4 C15.39,4 16.67,5.02 17.05,6.42 C17.19,6.82 17.27,7.27 17.27,7.79 L17.27,7.79 Z"></path>
|
97
|
<path d="M8.68,7.79 C8.68,9.45 8.38,10.43 7.4,12.02 C6.39,13.64 4.41,15.23 2.97,15.97 L2.51,15.08 C3.75,14.2 4.55,13.51 5.43,11.82 C5.68,11.34 5.82,10.92 5.9,10.54 C5.71,10.58 5.5,10.6 5.29,10.6 C3.47,10.6 2,9.12 2,7.3 C2,5.48 3.47,4 5.29,4 C6.8,4 8.08,5.02 8.46,6.42 C8.6,6.82 8.68,7.27 8.68,7.79 L8.68,7.79 Z"></path>
|
98
|
</svg>
|
99
|
</span>
|
100
|
<span class="uk-margin-small-left">Cite this {{getTypeName()}}</span>
|
101
|
</a>
|
102
|
</li>
|
103
|
<!-- ORCID -->
|
104
|
<li *ngIf="properties.adminToolsPortalType == 'explore'">
|
105
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
|
106
|
[pids]="pidsArrayString" [pageType]="'landing'">
|
107
|
</orcid-work>
|
108
|
</li>
|
109
|
<li *ngIf="properties.b2noteAPIURL">
|
110
|
<a *ngIf="isLoggedIn && pid" class="uk-link-text uk-text-bold uk-text-uppercase" (click)="annotation.toggleAnnotation($event)">
|
111
|
<span class="uk-icon-button uk-button-primary uk-icon">
|
112
|
<img src="assets/common-assets/b2note.png">
|
113
|
</span>
|
114
|
<span class="uk-margin-small-left">add annotation</span>
|
115
|
</a>
|
116
|
<span *ngIf="!pid || !isLoggedIn" class="uk-link-text uk-text-bold uk-text-uppercase uk-text-muted half-opacity"
|
117
|
[attr.uk-tooltip]="!pid?'Annotations are available only for resources with a PID (persistent identifier) like DOI, handle, PMID':
|
118
|
'Annotations are available only for logged in users'">
|
119
|
<span class="uk-icon-button uk-button-primary uk-icon uk-disabled">
|
120
|
<img src="assets/common-assets/b2note.png">
|
121
|
</span>
|
122
|
<span class="uk-margin-small-left">add annotation</span>
|
123
|
</span>
|
124
|
</li>
|
125
|
<!-- Metrics -->
|
126
|
<li *ngIf="hasAltMetrics || hasMetrics" class="uk-margin-medium-top">
|
127
|
<div uk-grid
|
128
|
class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle uk-flex-center uk-padding-remove-left">
|
129
|
<div *ngIf="hasMetrics" [class.uk-hidden]="!(totalViews && totalDownloads && pageViews)">
|
130
|
<metrics [pageViews]="pageViews"
|
131
|
[id]="id" [entityType]="'results'" [entity]="title"
|
132
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
133
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
134
|
</metrics>
|
135
|
</div>
|
136
|
<div *ngIf="hasAltMetrics">
|
137
|
<altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">
|
138
|
</altmetrics>
|
139
|
</div>
|
140
|
</div>
|
141
|
</li>
|
142
|
</ul>
|
143
|
</div>
|
144
|
<!-- *ngIf="numberOfTabs > 0"-->
|
145
|
<div class="uk-padding-remove-left uk-width-1-1 uk-margin-large-top">
|
146
|
<div class="main-tabs-div">
|
147
|
<ng-template #summary_tab>
|
148
|
<div class="uk-grid uk-margin-remove">
|
149
|
<div *ngIf="!hasPrimaryInfo && hasSecondaryInfo" class="uk-width-expand uk-padding">
|
150
|
<div class="uk-animation-fade uk-alert uk-alert-primary" role="alert">
|
151
|
No summary information available
|
152
|
</div>
|
153
|
</div>
|
154
|
<div *ngIf="hasPrimaryInfo" class="uk-width-expand uk-padding">
|
155
|
<!-- Description -->
|
156
|
<div *ngIf="resultLandingInfo.description" class="uk-margin-medium-bottom">
|
157
|
<div class="uk-text-justify uk-height-max-medium uk-overflow-auto">
|
158
|
<div class="uk-text-muted">Abstract</div>
|
159
|
<span>{{resultLandingInfo.description.substring(0, showNumDescription)}}</span>
|
160
|
<span *ngIf="showNumDescription == thresholdDescription &&
|
161
|
resultLandingInfo.description.length > thresholdDescription">...</span>
|
162
|
</div>
|
163
|
<div *ngIf="showNumDescription == thresholdDescription &&
|
164
|
resultLandingInfo.description.length > thresholdDescription" class="uk-text-right">
|
165
|
<a (click)="showNumDescription = resultLandingInfo.description.length;">
|
166
|
Read more
|
167
|
</a>
|
168
|
</div>
|
169
|
<div *ngIf="resultLandingInfo.description && showNumDescription > thresholdDescription"
|
170
|
class="uk-text-right">
|
171
|
<a (click)="showNumDescription = thresholdDescription;">
|
172
|
Read less
|
173
|
</a>
|
174
|
</div>
|
175
|
</div>
|
176
|
<!-- Identifiers -->
|
177
|
<div *ngIf="resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0"
|
178
|
class="uk-margin-medium-bottom">
|
179
|
<showIdentifiers [identifiers]="resultLandingInfo.identifiers"
|
180
|
[properties]="properties">
|
181
|
</showIdentifiers>
|
182
|
</div>
|
183
|
<!-- Subjects -->
|
184
|
<div *ngIf="resultLandingInfo.subjects || resultLandingInfo.otherSubjects ||
|
185
|
resultLandingInfo.classifiedSubjects" class="uk-margin-medium-bottom">
|
186
|
<showSubjects [subjects]="resultLandingInfo.subjects"
|
187
|
[otherSubjects]="resultLandingInfo.otherSubjects"
|
188
|
[classifiedSubjects]="resultLandingInfo.classifiedSubjects">
|
189
|
</showSubjects>
|
190
|
</div>
|
191
|
<!-- Related Organizations-->
|
192
|
<div *ngIf="resultLandingInfo.organizations && resultLandingInfo.organizations.length > 0"
|
193
|
class="uk-margin-medium-bottom uk-width-2-3@m">
|
194
|
<div class="uk-text-muted">Related Organizations</div>
|
195
|
<ul class="uk-list organizations uk-margin-remove-top">
|
196
|
<li *ngFor="let organization of (showAll?resultLandingInfo.organizations:resultLandingInfo.organizations.slice(0,3))">
|
197
|
<a [routerLink]="properties.searchLinkToOrganization.split('?')[0]" [queryParams]="{organizationId: organization.id}">
|
198
|
{{(organization.name ? organization.name : (organization.shortname?organization.shortname:'[No title available]'))}}
|
199
|
<span *ngIf="!organization.name && organization.shortname">({{organization.shortname}})</span>
|
200
|
</a>
|
201
|
<div *ngIf="organization.country && !organization.country.toLowerCase().includes('unknown')">{{organization.country}}</div>
|
202
|
</li>
|
203
|
</ul>
|
204
|
<div *ngIf="!showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
205
|
<a (click)="showAll = !showAll;">
|
206
|
View more
|
207
|
</a>
|
208
|
</div>
|
209
|
<div *ngIf="showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
210
|
<a (click)="showAll = !showAll;">View less</a>
|
211
|
</div>
|
212
|
</div>
|
213
|
|
214
|
</div>
|
215
|
<div *ngIf="hasSecondaryInfo" class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove">
|
216
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 ||
|
217
|
resultLandingInfo.contexts && resultLandingInfo.contexts.length >0"
|
218
|
class="uk-padding uk-padding-remove-bottom">
|
219
|
<!-- Funded By -->
|
220
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0"
|
221
|
class="uk-margin-medium-bottom">
|
222
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects"></fundedBy>
|
223
|
</div>
|
224
|
<!-- Communities -->
|
225
|
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length >0"
|
226
|
class="uk-margin-medium-bottom">
|
227
|
<relatedTo [contexts]="resultLandingInfo.contexts"></relatedTo>
|
228
|
</div>
|
229
|
</div>
|
230
|
<!-- Download From -->
|
231
|
<div
|
232
|
*ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
|
233
|
class="uk-margin-medium-bottom">
|
234
|
<div class="sideInfoTitle uk-margin-small-bottom uk-flex">
|
235
|
<span class="uk-width-1-2">Download from</span>
|
236
|
<span *ngIf="resultLandingInfo.deletedByInferenceIds"
|
237
|
class="uk-width-1-2 uk-text-right">
|
238
|
<a (click)="openDeletedByInference()">View all {{resultLandingInfo.deletedByInferenceIds.length}}
|
239
|
versions</a>
|
240
|
</span>
|
241
|
</div>
|
242
|
<availableOn [availableOn]="resultLandingInfo.hostedBy_collectedFrom"></availableOn>
|
243
|
</div>
|
244
|
</div>
|
245
|
<div *ngIf="!hasPrimaryInfo && !hasSecondaryInfo"
|
246
|
class="uk-width-expand uk-padding">
|
247
|
<div class="uk-animation-fade uk-alert uk-alert-primary" role="alert">
|
248
|
No summary information available
|
249
|
</div>
|
250
|
</div>
|
251
|
</div>
|
252
|
</ng-template>
|
253
|
<ng-template #references_tab>
|
254
|
<div class="uk-grid uk-margin-remove">
|
255
|
<div class="uk-width-expand uk-padding">
|
256
|
<div>
|
257
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
258
|
(pageChange)="updateReferencesPage($event)"
|
259
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
260
|
[totalResults]="resultLandingInfo.references.length">
|
261
|
</no-load-paging>
|
262
|
<div
|
263
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*1.5*pageSize, referencesPage*1.5*pageSize)">
|
264
|
<p *ngIf="item">
|
265
|
{{item.name}}
|
266
|
<ng-container *ngIf="item.ids && item.ids.length > 0">
|
267
|
<span *ngFor="let id of item.ids">
|
268
|
[<a *ngIf="id.type !== 'openaire'" href="{{getReferenceUrl(id)}}"
|
269
|
target="_blank">{{getReferenceIdName(id)}}</a>
|
270
|
<a *ngIf="id.type === 'openaire'" [routerLink]="properties.searchLinkToResult.split('?')[0]"
|
271
|
[queryParams]="{id: id.value}"
|
272
|
target="_blank">OpenAIRE</a>]
|
273
|
</span>
|
274
|
</ng-container>
|
275
|
</p>
|
276
|
</div>
|
277
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
278
|
(pageChange)="updateReferencesPage($event)"
|
279
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
280
|
[totalResults]="resultLandingInfo.references.length">
|
281
|
</no-load-paging>
|
282
|
</div>
|
283
|
</div>
|
284
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
285
|
</div>
|
286
|
</ng-template>
|
287
|
<ng-template #supplementary_tab>
|
288
|
<div class="uk-grid uk-margin-remove">
|
289
|
<div class="uk-width-expand uk-padding">
|
290
|
<div
|
291
|
*ngIf="resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0"
|
292
|
class="uk-margin-bottom">
|
293
|
<h6>Supplementary Outcomes</h6>
|
294
|
<no-load-paging *ngIf="resultLandingInfo.supplementaryResearchResults.length > pageSize"
|
295
|
[type]="'research outcomes'"
|
296
|
(pageChange)="updateSupplementaryPage($event)"
|
297
|
[page]="supplementaryPage" [pageSize]="pageSize"
|
298
|
[totalResults]="resultLandingInfo.supplementaryResearchResults.length">
|
299
|
</no-load-paging>
|
300
|
<ul class="uk-list uk-list-divider uk-margin">
|
301
|
<li *ngFor="let item of resultLandingInfo.supplementaryResearchResults.slice((supplementaryPage-1)*pageSize, supplementaryPage*pageSize)">
|
302
|
<result-preview [modal]="relationModal" [properties]="properties"
|
303
|
[result]="getResultPreview(item)"></result-preview>
|
304
|
</li>
|
305
|
</ul>
|
306
|
<no-load-paging *ngIf="resultLandingInfo.supplementaryResearchResults.length > pageSize"
|
307
|
[type]="'research outcomes'"
|
308
|
(pageChange)="updateSupplementaryPage($event)"
|
309
|
[page]="supplementaryPage" [pageSize]="pageSize"
|
310
|
[totalResults]="resultLandingInfo.supplementaryResearchResults.length">
|
311
|
</no-load-paging>
|
312
|
</div>
|
313
|
<div
|
314
|
*ngIf="resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0">
|
315
|
<h6>Outcomes Supplemented by this {{getTypeName()}}</h6>
|
316
|
<no-load-paging *ngIf="resultLandingInfo.supplementedByResearchResults.length > pageSize"
|
317
|
[type]="'research outcomes'"
|
318
|
(pageChange)="updateSupplementedByPage($event)"
|
319
|
[page]="supplementedByPage" [pageSize]="pageSize"
|
320
|
[totalResults]="resultLandingInfo.supplementedByResearchResults.length">
|
321
|
</no-load-paging>
|
322
|
<ul class="uk-list uk-list-divider uk-margin">
|
323
|
<li *ngFor="let item of resultLandingInfo.supplementedByResearchResults.slice((supplementedByPage-1)*pageSize, supplementedByPage*pageSize)">
|
324
|
<result-preview [modal]="relationModal" [properties]="properties"
|
325
|
[result]="getResultPreview(item)"></result-preview>
|
326
|
</li>
|
327
|
</ul>
|
328
|
<no-load-paging *ngIf="resultLandingInfo.supplementedByResearchResults.length > pageSize"
|
329
|
[type]="'research outcomes'"
|
330
|
(pageChange)="updateSupplementedByPage($event)"
|
331
|
[page]="supplementedByPage" [pageSize]="pageSize"
|
332
|
[totalResults]="resultLandingInfo.supplementedByResearchResults.length">
|
333
|
</no-load-paging>
|
334
|
</div>
|
335
|
</div>
|
336
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
337
|
</div>
|
338
|
</ng-template>
|
339
|
<ng-template #related_tab>
|
340
|
<div class="uk-grid uk-margin-remove">
|
341
|
<div class="uk-width-expand uk-padding">
|
342
|
<div
|
343
|
*ngIf="resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0"
|
344
|
class="uk-margin-bottom">
|
345
|
<h6>Related research</h6>
|
346
|
<no-load-paging *ngIf="resultLandingInfo.relatedResearchResults.length > pageSize"
|
347
|
[type]="'research outcomes'"
|
348
|
(pageChange)="updateRelatedPage($event)"
|
349
|
[page]="relatedPage" [pageSize]="pageSize"
|
350
|
[totalResults]="resultLandingInfo.relatedResearchResults.length">
|
351
|
</no-load-paging>
|
352
|
<ul class="uk-list uk-list-divider uk-margin">
|
353
|
<li *ngFor="let item of resultLandingInfo.relatedResearchResults.slice((relatedPage-1)*pageSize, relatedPage*pageSize)">
|
354
|
<result-preview [modal]="relationModal" [properties]="properties"
|
355
|
[result]="getResultPreview(item)"></result-preview>
|
356
|
</li>
|
357
|
</ul>
|
358
|
<no-load-paging *ngIf="resultLandingInfo.relatedResearchResults.length > pageSize"
|
359
|
[type]="'research outcomes'"
|
360
|
(pageChange)="updateRelatedPage($event)"
|
361
|
[page]="relatedPage" [pageSize]="pageSize"
|
362
|
[totalResults]="resultLandingInfo.relatedResearchResults.length">
|
363
|
</no-load-paging>
|
364
|
</div>
|
365
|
<div
|
366
|
*ngIf="resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0">
|
367
|
<h6>Similar Outcomes</h6>
|
368
|
<no-load-paging *ngIf="resultLandingInfo.similarResearchResults.length > pageSize"
|
369
|
[type]="'research outcomes'"
|
370
|
(pageChange)="updateSimilarPage($event)"
|
371
|
[page]="similarPage" [pageSize]="pageSize"
|
372
|
[totalResults]="resultLandingInfo.similarResearchResults.length">
|
373
|
</no-load-paging>
|
374
|
<ul class="uk-list uk-list-divider uk-margin">
|
375
|
<li *ngFor="let item of resultLandingInfo.similarResearchResults.slice((similarPage-1)*pageSize, similarPage*pageSize)">
|
376
|
<result-preview [modal]="relationModal" [properties]="properties"
|
377
|
[result]="getResultPreview(item)"></result-preview>
|
378
|
</li>
|
379
|
</ul>
|
380
|
<no-load-paging *ngIf="resultLandingInfo.similarResearchResults.length > pageSize"
|
381
|
[type]="'research outcomes'"
|
382
|
(pageChange)="updateSimilarPage($event)"
|
383
|
[page]="similarPage" [pageSize]="pageSize"
|
384
|
[totalResults]="resultLandingInfo.similarResearchResults.length">
|
385
|
</no-load-paging>
|
386
|
</div>
|
387
|
</div>
|
388
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
389
|
</div>
|
390
|
</ng-template>
|
391
|
<ng-template #bioentities_tab>
|
392
|
<div class="uk-grid uk-margin-remove">
|
393
|
<div class="uk-width-expand uk-padding">
|
394
|
<div>
|
395
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
396
|
(pageChange)="updateBioentitiesPage($event)"
|
397
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
398
|
[totalResults]="bioentitiesNum">
|
399
|
</no-load-paging>
|
400
|
<div class="uk-child-width-1-4@s uk-child-width-1-2 bioentities-buttons" uk-grid>
|
401
|
<ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
|
402
|
<ng-container
|
403
|
*ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*2*pageSize, bioentitiesPage*2*pageSize)">
|
404
|
<div>
|
405
|
<div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)">
|
406
|
{{keyIn}}
|
407
|
</div>
|
408
|
<a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
|
409
|
[title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)">
|
410
|
{{keyIn}}
|
411
|
<span class="custom-external custom-icon space"></span>
|
412
|
</a>
|
413
|
</div>
|
414
|
</ng-container>
|
415
|
</ng-container>
|
416
|
</div>
|
417
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
418
|
(pageChange)="updateBioentitiesPage($event)"
|
419
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
420
|
[totalResults]="bioentitiesNum">
|
421
|
</no-load-paging>
|
422
|
</div>
|
423
|
</div>
|
424
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
425
|
</div>
|
426
|
</ng-template>
|
427
|
<ng-template #enermaps_tab>
|
428
|
|
429
|
<div class="uk-width-expand uk-text-center uk-padding">
|
430
|
<img class="uk-width-auto" [src]="properties.enermapsURL +'/images/' + enermapsId + '.png'" alt="Enermaps tool preview">
|
431
|
<br>
|
432
|
<span class=" uk-text-baseline uk-text-muted"> Visit <a
|
433
|
class=" uk-margin-right uk-margin-small-top"
|
434
|
[href]="properties.enermapsURL" target="_blank" >
|
435
|
Enermaps Tool
|
436
|
</a></span>
|
437
|
|
438
|
</div>
|
439
|
</ng-template>
|
440
|
<my-tabs>
|
441
|
<!-- *ngIf="hasPrimaryInfo || hasSecondaryInfo"-->
|
442
|
<!-- [class]="(activeTab === 'summary')?'uk-active':''"-->
|
443
|
<my-tab tabTitle="Summary"
|
444
|
[tabId]="'summary'" class="uk-active">
|
445
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
446
|
</my-tab>
|
447
|
<!-- [class]="(activeTab === 'references')?'uk-active':''"-->
|
448
|
<my-tab *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0"
|
449
|
[tabTitle]="'references'" [tabId]="'references'"
|
450
|
[tabNumber]="resultLandingInfo.references.length">
|
451
|
<ng-container *ngTemplateOutlet="references_tab;"></ng-container>
|
452
|
</my-tab>
|
453
|
<!-- [class]="(activeTab === 'supplementary')?'uk-active':''"-->
|
454
|
<my-tab *ngIf="(resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0) ||
|
455
|
(resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0)"
|
456
|
[tabTitle]="'Supplementary outcomes'" [tabId]="'supplementary'"
|
457
|
[tabNumber]="supplementaryResults">
|
458
|
<ng-container *ngTemplateOutlet="supplementary_tab;"></ng-container>
|
459
|
</my-tab>
|
460
|
<!-- [class]="(activeTab === 'related')?'uk-active':''"-->
|
461
|
<my-tab *ngIf="(resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0) ||
|
462
|
(resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0)"
|
463
|
[tabTitle]="'Related research'" [tabId]="'related'"
|
464
|
[tabNumber]="relatedResultsNum">
|
465
|
<ng-container *ngTemplateOutlet="related_tab;"></ng-container>
|
466
|
</my-tab>
|
467
|
<!-- [class]="(activeTab === 'bioentities')?'uk-active':''"-->
|
468
|
<my-tab *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0"
|
469
|
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
|
470
|
<ng-container *ngTemplateOutlet="bioentities_tab;"></ng-container>
|
471
|
</my-tab>
|
472
|
<my-tab *ngIf="enermapsId && properties.enermapsURL"
|
473
|
[tabTitle]="'Enermaps Tool'" [tabId]="'enermaps'"
|
474
|
customClass="portalTab">
|
475
|
<ng-container *ngTemplateOutlet="enermaps_tab;"></ng-container>
|
476
|
</my-tab>
|
477
|
</my-tabs>
|
478
|
<my-small-tabs>
|
479
|
<!-- *ngIf="hasPrimaryInfo || hasSecondaryInfo"-->
|
480
|
<!-- [class]="(activeTab === 'summary')?'uk-active':''"-->
|
481
|
<my-tab tabTitle="Summary"
|
482
|
[tabId]="'summary'" class="uk-active">
|
483
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
484
|
</my-tab>
|
485
|
<!-- [class]="(activeTab === 'references')?'uk-active':''"-->
|
486
|
<my-tab *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0"
|
487
|
[tabTitle]="'references'" [tabId]="'references'"
|
488
|
[tabNumber]="resultLandingInfo.references.length">
|
489
|
<ng-container *ngTemplateOutlet="references_tab;"></ng-container>
|
490
|
</my-tab>
|
491
|
<!-- [class]="(activeTab === 'supplementary')?'uk-active':''"-->
|
492
|
<my-tab *ngIf="(resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0) ||
|
493
|
(resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0)"
|
494
|
[tabTitle]="'Supplementary outcomes'" [tabId]="'supplementary'"
|
495
|
[tabNumber]="supplementaryResults">
|
496
|
<ng-container *ngTemplateOutlet="supplementary_tab;"></ng-container>
|
497
|
</my-tab>
|
498
|
<!-- [class]="(activeTab === 'related')?'uk-active':''"-->
|
499
|
<my-tab *ngIf="(resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0) ||
|
500
|
(resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0)"
|
501
|
[tabTitle]="'Related research'" [tabId]="'related'"
|
502
|
[tabNumber]="relatedResultsNum">
|
503
|
<ng-container *ngTemplateOutlet="related_tab;"></ng-container>
|
504
|
</my-tab>
|
505
|
<!-- [class]="(activeTab === 'bioentities')?'uk-active':''"-->
|
506
|
<my-tab *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0"
|
507
|
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
|
508
|
<ng-container *ngTemplateOutlet="bioentities_tab;"></ng-container>
|
509
|
</my-tab>
|
510
|
<my-tab *ngIf="enermapsId && properties.enermapsURL"
|
511
|
[tabTitle]="'Enermaps Tool'" [tabId]="'enermaps'"
|
512
|
customClass="portalTab">
|
513
|
<ng-container *ngTemplateOutlet="enermaps_tab;"></ng-container>
|
514
|
</my-tab>
|
515
|
</my-small-tabs>
|
516
|
</div>
|
517
|
<div class="uk-margin-small-top uk-flex">
|
518
|
<!-- Last Index Info-->
|
519
|
<div class="uk-width-2-3@m uk-width-1-2">
|
520
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
521
|
<span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by <a href="https://graph.openaire.eu" class="graph-color">OpenAIRE Research Graph</a></span>
|
522
|
<span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-muted">
|
523
|
. Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
524
|
</span>
|
525
|
</div>
|
526
|
<!--Feedback-->
|
527
|
<div class="uk-width-expand uk-text-right">
|
528
|
<span class="uk-text-muted">Any information missing or wrong?</span>
|
529
|
<a (click)="showFeedback = true; scroll()" class="portal-link space">Report an Issue</a>
|
530
|
</div>
|
531
|
</div>
|
532
|
<!-- B2 Note-->
|
533
|
<div *ngIf="properties.b2noteAPIURL && resultLandingInfo" class="uk-margin-medium-top">
|
534
|
<b2note #annotation [id]="id" [landingInfo]="resultLandingInfo" (pidEmitter)="pidInit($event)"></b2note>
|
535
|
</div>
|
536
|
</div>
|
537
|
</div>
|
538
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
539
|
[texts]="pageContents['bottom']"></helper>
|
540
|
</div>
|
541
|
|
542
|
</div>
|
543
|
</div>
|
544
|
<feedback *ngIf="resultLandingInfo" [resultLandingInfo]="resultLandingInfo"
|
545
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
546
|
[showForm]="showFeedback" (show)="showFeedback = $event;"></feedback>
|
547
|
</div>
|
548
|
<!-- Other versions -->
|
549
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
|
550
|
#AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
|
551
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"
|
552
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
553
|
titleClass="title-grey-background"
|
554
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
555
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate"
|
556
|
[isTitleH1]="false">
|
557
|
</landing-header>
|
558
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
559
|
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
|
560
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
561
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
562
|
[modal]="AlertModalDeletedByInference"
|
563
|
[resultType]="type" [type]="'publications'"></deletedByInference>
|
564
|
<deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
|
565
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
566
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
567
|
[modal]="AlertModalDeletedByInference"
|
568
|
[resultType]="'dataset'" [type]="'research data'"></deletedByInference>
|
569
|
<deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
|
570
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
571
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
572
|
[modal]="AlertModalDeletedByInference"
|
573
|
[resultType]="type" [type]="'software'"></deletedByInference>
|
574
|
<deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
|
575
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
576
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
577
|
[modal]="AlertModalDeletedByInference"
|
578
|
[resultType]="'other'" [type]="'other research products'"></deletedByInference>
|
579
|
</div>
|
580
|
</modal-alert>
|
581
|
<modal-alert #linkModal [classTitle]="'landing-modal-header uk-padding-small'"
|
582
|
[classBody]="'uk-padding-remove landing-modal'">
|
583
|
<div class="uk-grid uk-child-width-1-3 uk-flex uk-flex-middle uk-margin-medium">
|
584
|
<div class="uk-text-center">
|
585
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
586
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"
|
587
|
(click)="linkModal.cancel();">
|
588
|
<button class="uk-icon-button portal-button">
|
589
|
<span class="uk-icon">
|
590
|
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
|
591
|
xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
|
592
|
height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
|
593
|
width="17" x="1.5"
|
594
|
y="6.5"></rect></svg>
|
595
|
</span>
|
596
|
</button>
|
597
|
<div class="uk-margin-small-top">Projects</div>
|
598
|
</a>
|
599
|
</div>
|
600
|
<div class="uk-text-center">
|
601
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'result'])"
|
602
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"
|
603
|
(click)="linkModal.cancel();">
|
604
|
<button class="uk-icon-button portal-button">
|
605
|
<span class="uk-icon">
|
606
|
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
|
607
|
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
|
608
|
width="12" x="3.5" y="2.5"></rect><polyline
|
609
|
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg>
|
610
|
</span>
|
611
|
</button>
|
612
|
<div class="uk-margin-small-top">Research outcomes</div>
|
613
|
</a></div>
|
614
|
<div class="uk-text-center">
|
615
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'context'])"
|
616
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"
|
617
|
(click)="linkModal.cancel();">
|
618
|
<button class="uk-icon-button portal-button">
|
619
|
<span class="uk-icon">
|
620
|
<svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
|
621
|
xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
|
622
|
stroke="#000" stroke-width="1.1"></circle><path
|
623
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3" fill="none"
|
624
|
stroke="#000" stroke-width="1.1"></path><path
|
625
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"
|
626
|
fill="none" stroke="#000" stroke-width="1.1"></path></svg>
|
627
|
</span>
|
628
|
</button>
|
629
|
<div class="uk-margin-small-top">Communities</div>
|
630
|
</a></div>
|
631
|
</div>
|
632
|
</modal-alert>
|
633
|
<modal-alert #citeModal [classTitle]="'landing-modal-header uk-padding-small'"
|
634
|
[classBody]="'uk-padding-remove landing-modal'">
|
635
|
<citeThis *ngIf="resultLandingInfo && citeThisClicked" [result]="resultLandingInfo" [id]="id"
|
636
|
[type]="title.toLowerCase()" [piwikSiteId]="piwikSiteId"></citeThis>
|
637
|
</modal-alert>
|
638
|
|