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