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"><span
|
11
|
class="loading-gif uk-align-center"></span></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]="properties.baseLink+linkToLandingPage+id"></schema2jsonld>
|
20
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
21
|
[subTitle]="resultLandingInfo.subtitle"
|
22
|
[authors]="resultLandingInfo.authors" [authorLimit]="10" [showAllAuthors]="false"
|
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 *ngIf="isRouteAvailable('participate/direct-claim')">
|
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
|
<!-- Metrics -->
|
102
|
<li *ngIf="hasAltMetrics || hasMetrics" class="uk-margin-medium-top">
|
103
|
<div uk-grid
|
104
|
class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle uk-flex-center uk-padding-remove-left">
|
105
|
<div *ngIf="hasMetrics">
|
106
|
<metrics [pageViews]="pageViews"
|
107
|
[id]="id" [entityType]="'results'" [entity]="title"
|
108
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
109
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
110
|
</metrics>
|
111
|
</div>
|
112
|
<div *ngIf="hasAltMetrics">
|
113
|
<altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">
|
114
|
</altmetrics>
|
115
|
</div>
|
116
|
</div>
|
117
|
</li>
|
118
|
</ul>
|
119
|
</div>
|
120
|
<!-- *ngIf="numberOfTabs > 0"-->
|
121
|
<div class="uk-padding-remove-left uk-width-1-1 uk-margin-large-top">
|
122
|
<div class="main-tabs-div">
|
123
|
<ng-template #summary_tab>
|
124
|
<div class="uk-grid uk-margin-remove">
|
125
|
<div *ngIf="hasPrimaryInfo" class="uk-width-expand uk-padding">
|
126
|
<!-- Description -->
|
127
|
<div *ngIf="resultLandingInfo.description" class="uk-margin-medium-bottom">
|
128
|
<div class="uk-text-justify uk-height-max-medium uk-overflow-auto">
|
129
|
<div class="uk-text-muted">Abstract</div>
|
130
|
<span>{{resultLandingInfo.description.substring(0, showNumDescription)}}</span>
|
131
|
<span *ngIf="showNumDescription == thresholdDescription &&
|
132
|
resultLandingInfo.description.length > thresholdDescription">...</span>
|
133
|
</div>
|
134
|
<div *ngIf="showNumDescription == thresholdDescription &&
|
135
|
resultLandingInfo.description.length > thresholdDescription" class="uk-text-right">
|
136
|
<a (click)="showNumDescription = resultLandingInfo.description.length;">
|
137
|
Read more
|
138
|
</a>
|
139
|
</div>
|
140
|
<div *ngIf="resultLandingInfo.description && showNumDescription > thresholdDescription"
|
141
|
class="uk-text-right">
|
142
|
<a (click)="showNumDescription = thresholdDescription;">
|
143
|
Read less
|
144
|
</a>
|
145
|
</div>
|
146
|
</div>
|
147
|
<!-- Identifiers -->
|
148
|
<div *ngIf="resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0"
|
149
|
class="uk-margin-medium-bottom">
|
150
|
<showIdentifiers [identifiers]="resultLandingInfo.identifiers"
|
151
|
[properties]="properties">
|
152
|
</showIdentifiers>
|
153
|
</div>
|
154
|
<!-- Subjects -->
|
155
|
<div *ngIf="resultLandingInfo.subjects || resultLandingInfo.otherSubjects ||
|
156
|
resultLandingInfo.classifiedSubjects" class="uk-margin-medium-bottom">
|
157
|
<showSubjects [subjects]="resultLandingInfo.subjects"
|
158
|
[otherSubjects]="resultLandingInfo.otherSubjects"
|
159
|
[classifiedSubjects]="resultLandingInfo.classifiedSubjects">
|
160
|
</showSubjects>
|
161
|
</div>
|
162
|
<!-- Related Organizations-->
|
163
|
<div *ngIf="resultLandingInfo.organizations && resultLandingInfo.organizations.length > 0"
|
164
|
class="uk-margin-medium-bottom uk-width-2-3@m">
|
165
|
<div class="uk-text-muted">Related Organizations</div>
|
166
|
<ul class="uk-list organizations uk-margin-remove-top">
|
167
|
<li *ngFor="let organization of (showAll?resultLandingInfo.organizations:resultLandingInfo.organizations.slice(0,3))">
|
168
|
<a [routerLink]="'/search/organization'" [queryParams]="{organizationId: organization.id}">
|
169
|
{{(organization.name ? organization.name : organization.shortname)}}
|
170
|
<span *ngIf="organization.shortname">({{organization.shortname}})</span>
|
171
|
</a>
|
172
|
<div *ngIf="organization.country">{{organization.country}}</div>
|
173
|
</li>
|
174
|
</ul>
|
175
|
<div *ngIf="!showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
176
|
<a (click)="showAll = !showAll;">
|
177
|
View more
|
178
|
</a>
|
179
|
</div>
|
180
|
<div *ngIf="showAll && resultLandingInfo.organizations.length > 3" class="uk-text-center">
|
181
|
<a (click)="showAll = !showAll;">View less</a>
|
182
|
</div>
|
183
|
</div>
|
184
|
</div>
|
185
|
<div *ngIf="hasSecondaryInfo"
|
186
|
[class]="hasPrimaryInfo?'uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove':'uk-padding-remove uk-width-expand'">
|
187
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 ||
|
188
|
resultLandingInfo.contexts && resultLandingInfo.contexts.length >0"
|
189
|
class="uk-padding uk-padding-remove-bottom">
|
190
|
<!-- Funded By -->
|
191
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0"
|
192
|
class="uk-margin-medium-bottom">
|
193
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects"></fundedBy>
|
194
|
</div>
|
195
|
<!-- Communities -->
|
196
|
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length >0"
|
197
|
class="uk-margin-medium-bottom">
|
198
|
<relatedTo [contexts]="resultLandingInfo.contexts"></relatedTo>
|
199
|
</div>
|
200
|
</div>
|
201
|
<!-- Download From -->
|
202
|
<div
|
203
|
*ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
|
204
|
class="uk-margin-medium-bottom">
|
205
|
<div class="sideInfoTitle uk-margin-small-bottom uk-flex">
|
206
|
<span class="uk-width-1-2">Download from</span>
|
207
|
<span *ngIf="resultLandingInfo.deletedByInferenceIds"
|
208
|
class="uk-width-1-2 uk-text-right">
|
209
|
<a (click)="openDeletedByInference()">View all {{resultLandingInfo.deletedByInferenceIds.length}}
|
210
|
versions</a>
|
211
|
</span>
|
212
|
</div>
|
213
|
<availableOn [properties]="properties"
|
214
|
[availableOn]="resultLandingInfo.hostedBy_collectedFrom"></availableOn>
|
215
|
</div>
|
216
|
</div>
|
217
|
<div *ngIf="!hasPrimaryInfo && !hasSecondaryInfo"
|
218
|
class="uk-width-expand uk-padding">
|
219
|
<div class="uk-animation-fade uk-alert uk-alert-primary" role="alert">
|
220
|
No summary information available
|
221
|
</div>
|
222
|
</div>
|
223
|
</div>
|
224
|
</ng-template>
|
225
|
<ng-template #references_tab>
|
226
|
<div class="uk-grid uk-margin-remove">
|
227
|
<div class="uk-width-expand uk-padding">
|
228
|
<div>
|
229
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
230
|
(pageChange)="updateReferencesPage($event)"
|
231
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
232
|
[totalResults]="resultLandingInfo.references.length">
|
233
|
</no-load-paging>
|
234
|
<div
|
235
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*1.5*pageSize, referencesPage*1.5*pageSize)">
|
236
|
<p *ngIf="item">
|
237
|
{{item.name}}
|
238
|
<ng-container *ngIf="item.ids && item.ids.length > 0">
|
239
|
<span *ngFor="let id of item.ids">
|
240
|
[<a *ngIf="id.type !== 'openaire'" href="{{getReferenceUrl(id)}}"
|
241
|
target="_blank">{{getReferenceIdName(id)}}</a>
|
242
|
<a *ngIf="id.type === 'openaire'" [routerLink]="'/search/result'"
|
243
|
[queryParams]="{id: id.value}"
|
244
|
target="_blank">OpenAIRE</a>]
|
245
|
</span>
|
246
|
</ng-container>
|
247
|
</p>
|
248
|
</div>
|
249
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
250
|
(pageChange)="updateReferencesPage($event)"
|
251
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
252
|
[totalResults]="resultLandingInfo.references.length">
|
253
|
</no-load-paging>
|
254
|
</div>
|
255
|
</div>
|
256
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
257
|
</div>
|
258
|
</ng-template>
|
259
|
<ng-template #supplementary_tab>
|
260
|
<div class="uk-grid uk-margin-remove">
|
261
|
<div class="uk-width-expand uk-padding">
|
262
|
<div
|
263
|
*ngIf="resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0"
|
264
|
class="uk-margin-bottom">
|
265
|
<h5>Supplementary Outcomes</h5>
|
266
|
<no-load-paging *ngIf="resultLandingInfo.supplementaryResearchResults.length > pageSize"
|
267
|
[type]="'research outcomes'"
|
268
|
(pageChange)="updateSupplementaryPage($event)"
|
269
|
[page]="supplementaryPage" [pageSize]="pageSize"
|
270
|
[totalResults]="resultLandingInfo.supplementaryResearchResults.length">
|
271
|
</no-load-paging>
|
272
|
<ul class="uk-list uk-list-divider uk-margin">
|
273
|
<li *ngFor="let item of resultLandingInfo.supplementaryResearchResults.slice((supplementaryPage-1)*pageSize, supplementaryPage*pageSize)">
|
274
|
<result-preview [modal]="relationModal" [properties]="properties"
|
275
|
[result]="getResultPreview(item)"></result-preview>
|
276
|
</li>
|
277
|
</ul>
|
278
|
<no-load-paging *ngIf="resultLandingInfo.supplementaryResearchResults.length > pageSize"
|
279
|
[type]="'research outcomes'"
|
280
|
(pageChange)="updateSupplementaryPage($event)"
|
281
|
[page]="supplementaryPage" [pageSize]="pageSize"
|
282
|
[totalResults]="resultLandingInfo.supplementaryResearchResults.length">
|
283
|
</no-load-paging>
|
284
|
</div>
|
285
|
<div
|
286
|
*ngIf="resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0">
|
287
|
<h5>Outcomes Supplemented by this {{getTypeName()}}</h5>
|
288
|
<no-load-paging *ngIf="resultLandingInfo.supplementedByResearchResults.length > pageSize"
|
289
|
[type]="'research outcomes'"
|
290
|
(pageChange)="updateSupplementedByPage($event)"
|
291
|
[page]="supplementedByPage" [pageSize]="pageSize"
|
292
|
[totalResults]="resultLandingInfo.supplementedByResearchResults.length">
|
293
|
</no-load-paging>
|
294
|
<ul class="uk-list uk-list-divider uk-margin">
|
295
|
<li *ngFor="let item of resultLandingInfo.supplementedByResearchResults.slice((supplementedByPage-1)*pageSize, supplementedByPage*pageSize)">
|
296
|
<result-preview [modal]="relationModal" [properties]="properties"
|
297
|
[result]="getResultPreview(item)"></result-preview>
|
298
|
</li>
|
299
|
</ul>
|
300
|
<no-load-paging *ngIf="resultLandingInfo.supplementedByResearchResults.length > pageSize"
|
301
|
[type]="'research outcomes'"
|
302
|
(pageChange)="updateSupplementedByPage($event)"
|
303
|
[page]="supplementedByPage" [pageSize]="pageSize"
|
304
|
[totalResults]="resultLandingInfo.supplementedByResearchResults.length">
|
305
|
</no-load-paging>
|
306
|
</div>
|
307
|
</div>
|
308
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
309
|
</div>
|
310
|
</ng-template>
|
311
|
<ng-template #related_tab>
|
312
|
<div class="uk-grid uk-margin-remove">
|
313
|
<div class="uk-width-expand uk-padding">
|
314
|
<div
|
315
|
*ngIf="resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0"
|
316
|
class="uk-margin-bottom">
|
317
|
<h5>Related Outcomes</h5>
|
318
|
<no-load-paging *ngIf="resultLandingInfo.relatedResearchResults.length > pageSize"
|
319
|
[type]="'research outcomes'"
|
320
|
(pageChange)="updateRelatedPage($event)"
|
321
|
[page]="relatedPage" [pageSize]="pageSize"
|
322
|
[totalResults]="resultLandingInfo.relatedResearchResults.length">
|
323
|
</no-load-paging>
|
324
|
<ul class="uk-list uk-list-divider uk-margin">
|
325
|
<li *ngFor="let item of resultLandingInfo.relatedResearchResults.slice((relatedPage-1)*pageSize, relatedPage*pageSize)">
|
326
|
<result-preview [modal]="relationModal" [properties]="properties"
|
327
|
[result]="getResultPreview(item)"></result-preview>
|
328
|
</li>
|
329
|
</ul>
|
330
|
<no-load-paging *ngIf="resultLandingInfo.relatedResearchResults.length > pageSize"
|
331
|
[type]="'research outcomes'"
|
332
|
(pageChange)="updateRelatedPage($event)"
|
333
|
[page]="relatedPage" [pageSize]="pageSize"
|
334
|
[totalResults]="resultLandingInfo.relatedResearchResults.length">
|
335
|
</no-load-paging>
|
336
|
</div>
|
337
|
<div
|
338
|
*ngIf="resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0">
|
339
|
<h5>Similar Outcomes</h5>
|
340
|
<no-load-paging *ngIf="resultLandingInfo.similarResearchResults.length > pageSize"
|
341
|
[type]="'research outcomes'"
|
342
|
(pageChange)="updateSimilarPage($event)"
|
343
|
[page]="similarPage" [pageSize]="pageSize"
|
344
|
[totalResults]="resultLandingInfo.similarResearchResults.length">
|
345
|
</no-load-paging>
|
346
|
<ul class="uk-list uk-list-divider uk-margin">
|
347
|
<li *ngFor="let item of resultLandingInfo.similarResearchResults.slice((similarPage-1)*pageSize, similarPage*pageSize)">
|
348
|
<result-preview [modal]="relationModal" [properties]="properties"
|
349
|
[result]="getResultPreview(item)"></result-preview>
|
350
|
</li>
|
351
|
</ul>
|
352
|
<no-load-paging *ngIf="resultLandingInfo.similarResearchResults.length > pageSize"
|
353
|
[type]="'research outcomes'"
|
354
|
(pageChange)="updateSimilarPage($event)"
|
355
|
[page]="similarPage" [pageSize]="pageSize"
|
356
|
[totalResults]="resultLandingInfo.similarResearchResults.length">
|
357
|
</no-load-paging>
|
358
|
</div>
|
359
|
</div>
|
360
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
361
|
</div>
|
362
|
</ng-template>
|
363
|
<ng-template #bioentities_tab>
|
364
|
<div class="uk-grid uk-margin-remove">
|
365
|
<div class="uk-width-expand uk-padding">
|
366
|
<div>
|
367
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
368
|
(pageChange)="updateBioentitiesPage($event)"
|
369
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
370
|
[totalResults]="bioentitiesNum">
|
371
|
</no-load-paging>
|
372
|
<div class="uk-child-width-1-4@s uk-child-width-1-2 bioentities-buttons" uk-grid>
|
373
|
<ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
|
374
|
<ng-container
|
375
|
*ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*2*pageSize, bioentitiesPage*2*pageSize)">
|
376
|
<div>
|
377
|
<div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)">
|
378
|
{{keyIn}}
|
379
|
</div>
|
380
|
<a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
|
381
|
[title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)">
|
382
|
{{keyIn}}
|
383
|
<span class="custom-external custom-icon space"></span>
|
384
|
</a>
|
385
|
</div>
|
386
|
</ng-container>
|
387
|
</ng-container>
|
388
|
</div>
|
389
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
390
|
(pageChange)="updateBioentitiesPage($event)"
|
391
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
392
|
[totalResults]="bioentitiesNum">
|
393
|
</no-load-paging>
|
394
|
</div>
|
395
|
</div>
|
396
|
<!--<div class="uk-width-1-3@m uk-width-1-1 right-column uk-padding-remove"></div>-->
|
397
|
</div>
|
398
|
</ng-template>
|
399
|
<my-tabs>
|
400
|
<!-- *ngIf="hasPrimaryInfo || hasSecondaryInfo"-->
|
401
|
<!-- [class]="(activeTab === 'summary')?'uk-active':''"-->
|
402
|
<my-tab [tabTitle]="getTypeName() + ' Summary'"
|
403
|
[tabId]="'summary'" class="uk-active">
|
404
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
405
|
</my-tab>
|
406
|
<!-- [class]="(activeTab === 'references')?'uk-active':''"-->
|
407
|
<my-tab *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0"
|
408
|
[tabTitle]="'references'" [tabId]="'references'"
|
409
|
[tabNumber]="resultLandingInfo.references.length">
|
410
|
<ng-container *ngTemplateOutlet="references_tab;"></ng-container>
|
411
|
</my-tab>
|
412
|
<!-- [class]="(activeTab === 'supplementary')?'uk-active':''"-->
|
413
|
<my-tab *ngIf="(resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0) ||
|
414
|
(resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0)"
|
415
|
[tabTitle]="'Supplementary outcomes'" [tabId]="'supplementary'"
|
416
|
[tabNumber]="supplementaryResults">
|
417
|
<ng-container *ngTemplateOutlet="supplementary_tab;"></ng-container>
|
418
|
</my-tab>
|
419
|
<!-- [class]="(activeTab === 'related')?'uk-active':''"-->
|
420
|
<my-tab *ngIf="(resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0) ||
|
421
|
(resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0)"
|
422
|
[tabTitle]="'Related outcomes'" [tabId]="'related'"
|
423
|
[tabNumber]="relatedResultsNum">
|
424
|
<ng-container *ngTemplateOutlet="related_tab;"></ng-container>
|
425
|
</my-tab>
|
426
|
<!-- [class]="(activeTab === 'bioentities')?'uk-active':''"-->
|
427
|
<my-tab *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0"
|
428
|
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
|
429
|
<ng-container *ngTemplateOutlet="bioentities_tab;"></ng-container>
|
430
|
</my-tab>
|
431
|
</my-tabs>
|
432
|
<my-small-tabs>
|
433
|
<!-- *ngIf="hasPrimaryInfo || hasSecondaryInfo"-->
|
434
|
<!-- [class]="(activeTab === 'summary')?'uk-active':''"-->
|
435
|
<my-tab [tabTitle]="getTypeName() + ' Summary'"
|
436
|
[tabId]="'summary'" class="uk-active">
|
437
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
438
|
</my-tab>
|
439
|
<!-- [class]="(activeTab === 'references')?'uk-active':''"-->
|
440
|
<my-tab *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0"
|
441
|
[tabTitle]="'references'" [tabId]="'references'"
|
442
|
[tabNumber]="resultLandingInfo.references.length">
|
443
|
<ng-container *ngTemplateOutlet="references_tab;"></ng-container>
|
444
|
</my-tab>
|
445
|
<!-- [class]="(activeTab === 'supplementary')?'uk-active':''"-->
|
446
|
<my-tab *ngIf="(resultLandingInfo.supplementaryResearchResults && resultLandingInfo.supplementaryResearchResults.length > 0) ||
|
447
|
(resultLandingInfo.supplementedByResearchResults && resultLandingInfo.supplementedByResearchResults.length > 0)"
|
448
|
[tabTitle]="'Supplementary outcomes'" [tabId]="'supplementary'"
|
449
|
[tabNumber]="supplementaryResults">
|
450
|
<ng-container *ngTemplateOutlet="supplementary_tab;"></ng-container>
|
451
|
</my-tab>
|
452
|
<!-- [class]="(activeTab === 'related')?'uk-active':''"-->
|
453
|
<my-tab *ngIf="(resultLandingInfo.relatedResearchResults && resultLandingInfo.relatedResearchResults.length > 0) ||
|
454
|
(resultLandingInfo.similarResearchResults && resultLandingInfo.similarResearchResults.length > 0)"
|
455
|
[tabTitle]="'Related outcomes'" [tabId]="'related'"
|
456
|
[tabNumber]="relatedResultsNum">
|
457
|
<ng-container *ngTemplateOutlet="related_tab;"></ng-container>
|
458
|
</my-tab>
|
459
|
<!-- [class]="(activeTab === 'bioentities')?'uk-active':''"-->
|
460
|
<my-tab *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0"
|
461
|
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
|
462
|
<ng-container *ngTemplateOutlet="bioentities_tab;"></ng-container>
|
463
|
</my-tab>
|
464
|
</my-small-tabs>
|
465
|
</div>
|
466
|
<div class="uk-margin-small-top uk-flex">
|
467
|
<!-- Last Index Info-->
|
468
|
<div class="uk-width-2-3@m uk-width-1-2">
|
469
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
470
|
<span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
|
471
|
<span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-muted">
|
472
|
. Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
473
|
</span>
|
474
|
</div>
|
475
|
<!--Feedback-->
|
476
|
<div class="uk-width-expand uk-text-right">
|
477
|
<span class="uk-text-muted">Any information missing or wrong?</span>
|
478
|
<a (click)="showFeedback = true; scroll()" class="portal-link space">Report an Issue</a>
|
479
|
</div>
|
480
|
</div>
|
481
|
<!-- B2 Note-->
|
482
|
<div *ngIf=" properties.environment === 'development' && resultLandingInfo" class="uk-margin-medium-top">
|
483
|
<b2note [id]="id" [properties]="properties"
|
484
|
[landingInfo]="resultLandingInfo"></b2note>
|
485
|
</div>
|
486
|
</div>
|
487
|
</div>
|
488
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
489
|
[texts]="pageContents['bottom']"></helper>
|
490
|
</div>
|
491
|
|
492
|
</div>
|
493
|
</div>
|
494
|
<feedback *ngIf="resultLandingInfo" [resultLandingInfo]="resultLandingInfo"
|
495
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
496
|
[showForm]="showFeedback" (show)="showFeedback = $event;"></feedback>
|
497
|
</div>
|
498
|
<!-- Other versions -->
|
499
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
|
500
|
#AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
|
501
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"
|
502
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
503
|
titleClass="title-grey-background"
|
504
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
505
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
506
|
</landing-header>
|
507
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
508
|
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
|
509
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
510
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
511
|
[modal]="AlertModalDeletedByInference"
|
512
|
[resultType]="type" [type]="'publications'"></deletedByInference>
|
513
|
<deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
|
514
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
515
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
516
|
[modal]="AlertModalDeletedByInference"
|
517
|
[resultType]="'dataset'" [type]="'research data'"></deletedByInference>
|
518
|
<deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
|
519
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
520
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
521
|
[modal]="AlertModalDeletedByInference"
|
522
|
[resultType]="type" [type]="'software'"></deletedByInference>
|
523
|
<deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
|
524
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
525
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
526
|
[modal]="AlertModalDeletedByInference"
|
527
|
[resultType]="'other'" [type]="'other research products'"></deletedByInference>
|
528
|
</div>
|
529
|
</modal-alert>
|
530
|
<modal-alert #linkModal [classTitle]="'landing-modal-header uk-padding-small'"
|
531
|
[classBody]="'uk-padding-remove landing-modal'">
|
532
|
<div class="uk-grid uk-child-width-1-3 uk-flex uk-flex-middle uk-margin-medium">
|
533
|
<div class="uk-text-center">
|
534
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
535
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
536
|
<button class="uk-icon-button portal-button">
|
537
|
<span class="uk-icon">
|
538
|
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
|
539
|
xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
|
540
|
height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
|
541
|
width="17" x="1.5"
|
542
|
y="6.5"></rect></svg>
|
543
|
</span>
|
544
|
</button>
|
545
|
<div class="uk-margin-small-top">Projects</div>
|
546
|
</a>
|
547
|
</div>
|
548
|
<div class="uk-text-center">
|
549
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'result'])"
|
550
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
551
|
<button class="uk-icon-button portal-button">
|
552
|
<span class="uk-icon">
|
553
|
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
|
554
|
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
|
555
|
width="12" x="3.5" y="2.5"></rect><polyline
|
556
|
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg>
|
557
|
</span>
|
558
|
</button>
|
559
|
<div class="uk-margin-small-top">Research outcomes</div>
|
560
|
</a></div>
|
561
|
<div class="uk-text-center">
|
562
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'context'])"
|
563
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
564
|
<button class="uk-icon-button portal-button">
|
565
|
<span class="uk-icon">
|
566
|
<svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
|
567
|
xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
|
568
|
stroke="#000" stroke-width="1.1"></circle><path
|
569
|
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"
|
570
|
stroke="#000" stroke-width="1.1"></path><path
|
571
|
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"
|
572
|
fill="none" stroke="#000" stroke-width="1.1"></path></svg>
|
573
|
</span>
|
574
|
</button>
|
575
|
<div class="uk-margin-small-top">Communities</div>
|
576
|
</a></div>
|
577
|
</div>
|
578
|
</modal-alert>
|
579
|
<modal-alert #citeModal [classTitle]="'landing-modal-header uk-padding-small'"
|
580
|
[classBody]="'uk-padding-remove landing-modal'">
|
581
|
<citeThis *ngIf="resultLandingInfo && citeThisClicked" [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
|
582
|
</modal-alert>
|
583
|
|