Project

General

Profile

1
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
2
  <div *ngIf="!showFeedback" 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 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 != null" class="uk-grid">
15
          <div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
16
            <!-- schema.org-->
17
            <schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record
18
                           [URL]="properties.baseLink+linkToLandingPage+id"></schema2jsonld>
19
            <landing-header [properties]="properties" [title]="resultLandingInfo.title"
20
                            [subTitle]="resultLandingInfo.subtitle" [underCuration]="resultLandingInfo.underCurationMessage"
21
                            [entityType]="getTypeName()" [types]="resultLandingInfo.types"
22
                            [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
23
            </landing-header>
24
            <div *ngIf="resultLandingInfo.deletedByInferenceIds"
25
                 class="uk-text-muted uk-text-small uk-text-right">
26
              <a (click)="openDeletedByInference()">View all {{resultLandingInfo.deletedByInferenceIds.length}}
27
                versions</a>
28
            </div>
29
            <div class="uk-margin-small-bottom uk-margin-small-top">
30
              <showAuthors [authors]="resultLandingInfo.authors" [small]="false"></showAuthors>
31
            </div>
32
            <!-- Labels -->
33
            <div class="uk-margin-bottom">
34
              <span *ngIf="properties.environment !== 'production' &&  resultLandingInfo.accessMode"
35
                    [class]="'uk-label custom-label  label-'+ accessClass(resultLandingInfo.accessMode)"
36
                    title="Access Mode">{{resultLandingInfo.accessMode}}
37
              </span>{{" "}}
38
              <span *ngIf="properties.environment === 'production' &&  resultLandingInfo.accessMode
39
                  && resultLandingInfo.accessMode.toLowerCase() !== 'not available'"
40
                    [class]="'uk-label custom-label  label-'+ accessClass(resultLandingInfo.accessMode)"
41
                    title="Access Mode">{{resultLandingInfo.accessMode}}
42
              </span>{{" "}}
43
              <span
44
                  *ngIf="properties.environment !== 'production' && resultLandingInfo.languages && resultLandingInfo.languages.length > 0">
45
                <ng-container *ngFor="let language of resultLandingInfo.languages">
46
                  <span class="uk-label custom-label label-language" title="Language">{{language}}</span>
47
                  {{' '}}
48
                </ng-container>
49
              </span>
50
              <span *ngIf="properties.environment === 'production' && resultLandingInfo.languages &&
51
                          removeUnknown(resultLandingInfo.languages).length > 0">
52
                <ng-container *ngFor="let language of removeUnknown(resultLandingInfo.languages)">
53
                  <span class="uk-label custom-label label-language" title="Language">{{language}}</span>
54
                  {{' '}}
55
                </ng-container>
56
              </span>
57
              <span *ngIf="resultLandingInfo.programmingLanguages && resultLandingInfo.programmingLanguages.length > 0">
58
                <ng-container *ngFor="let programmingLanguage of resultLandingInfo.programmingLanguages">
59
                  <span class="uk-label custom-label label-language" title="Programming Language">{{programmingLanguage}}</span>
60
                  {{' '}}
61
                </ng-container>
62
              </span>
63
            </div>
64
            <ul class="uk-list">
65
              <!--Published Date, Journal and Publisher-->
66
              <showPublisher [publisher]="resultLandingInfo.publisher"
67
                             [publishDate]="resultLandingInfo.dateofacceptance"
68
                             [journal]="resultLandingInfo.journal" [properties]="properties"></showPublisher>
69
              <!-- Countries -->
70
              <li *ngIf="resultLandingInfo.countries && resultLandingInfo.countries.length > 0">
71
                <span class="uk-text-muted">
72
                  {{(resultLandingInfo.countries.length === 1) ? 'Country: ' : 'Countries: '}}
73
                </span>
74
                {{resultLandingInfo.countries.join(", ")}}
75
              </li>
76
              <!-- Funded By -->
77
              <li *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0">
78
                <fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects"></fundedBy>
79
              </li>
80
              <!-- Identifiers -->
81
              <li *ngIf="resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0">
82
                <showIdentifiers [identifiers]="resultLandingInfo.identifiers"></showIdentifiers>
83
              </li>
84
            </ul>
85
            <!-- Description -->
86
            <div *ngIf="resultLandingInfo.description" class="uk-margin-bottom">
87
              <div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
88
                <span class="uk-text-muted">Abstract: </span>
89
                <span>{{resultLandingInfo.description.substring(0, showNumDescription)}}</span>
90
                <span *ngIf="showNumDescription == thresholdDescription &&
91
                       resultLandingInfo.description.length > thresholdDescription">...</span>
92
              </div>
93
              <div *ngIf="showNumDescription == thresholdDescription &&
94
                    resultLandingInfo.description.length > thresholdDescription" class="uk-text-right">
95
                <a (click)="showNumDescription = resultLandingInfo.description.length;">
96
                  View more
97
                </a>
98
              </div>
99
              <div *ngIf="resultLandingInfo.description && showNumDescription > thresholdDescription"
100
                   class="uk-text-right">
101
                <a (click)="showNumDescription = thresholdDescription;">
102
                  View less
103
                </a>
104
              </div>
105
            </div>
106
            <!-- Communities -->
107
            <div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length >0 ">
108
              <relatedTo [contexts]="resultLandingInfo.contexts"></relatedTo>
109
            </div>
110
            <!-- Subjects -->
111
            <div *ngIf="resultLandingInfo.subjects || resultLandingInfo.otherSubjects ||
112
                        resultLandingInfo.classifiedSubjects" class="uk-margin-bottom">
113
              <showSubjects [subjects]="resultLandingInfo.subjects"
114
                            [otherSubjects]="resultLandingInfo.otherSubjects"
115
                            [classifiedSubjects]="resultLandingInfo.classifiedSubjects">
116
              </showSubjects>
117
            </div>
118
            <div class="uk-margin-medium-top">
119
              <div *ngIf="resultLandingInfo.references || resultLandingInfo.bioentities"
120
                   class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
121
                <div *ngIf="resultLandingInfo.references" (click)="openReferences()" class="clickable uk-margin-right">
122
                  <span class="uk-text-bold">{{resultLandingInfo.references.length | number}}</span> References
123
                </div>
124
                <div *ngIf="resultLandingInfo.bioentities" (click)="openBioentities()" class="clickable">
125
                  <span class="uk-text-bold">{{bioentitiesNum | number}}</span> Bioentities
126
                </div>
127
              </div>
128
              <div *ngIf="resultLandingInfo.relatedResearchResults || resultLandingInfo.similarResearchResults ||
129
                          resultLandingInfo.supplementaryResearchResults || resultLandingInfo.supplementedByResearchResults ||
130
                          resultLandingInfo.organizations"
131
                   class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
132
                   uk-height-match="target: .target; row: false"
133
                   uk-grid>
134
                <div *ngIf="resultLandingInfo.relatedResearchResults">
135
                  <div class="clickable" (click)="openRelationResults('Related research results of',
136
                  resultLandingInfo.relatedResearchResults)">
137
                    <div class="header target uk-text-bold">Related Research Results</div>
138
                    <div class="footer target uk-position-relative">
139
                      <span
140
                          class="uk-text-bold uk-position-center">{{resultLandingInfo.relatedResearchResults.length | number}}</span>
141
                    </div>
142
                  </div>
143
                </div>
144
                <div *ngIf="resultLandingInfo.similarResearchResults">
145
                  <div class="clickable" (click)="openRelationResults('Similar research results of',
146
                  resultLandingInfo.similarResearchResults, 'similarity')">
147
                    <div class="header target uk-text-bold">Similar Research Results</div>
148
                    <div class="footer target uk-position-relative">
149
                      <span
150
                          class="uk-text-bold uk-position-center">{{resultLandingInfo.similarResearchResults.length | number}}</span>
151
                    </div>
152
                  </div>
153
                </div>
154
                <div *ngIf="resultLandingInfo.supplementaryResearchResults">
155
                  <div class="clickable" (click)="openRelationResults('Supplementary research results of',
156
                  resultLandingInfo.supplementaryResearchResults)">
157
                    <div class="header target uk-text-bold">Supplementary Research Results</div>
158
                    <div class="footer target uk-position-relative">
159
                      <span
160
                          class="uk-text-bold uk-position-center">{{resultLandingInfo.supplementaryResearchResults.length | number}}</span>
161
                    </div>
162
                  </div>
163
                </div>
164
                <div *ngIf="resultLandingInfo.supplementedByResearchResults">
165
                  <div class="clickable" (click)="openRelationResults('Research results supplemented by',
166
                  resultLandingInfo.supplementedByResearchResults)">
167
                    <div class="header target uk-text-bold">Research Results supplemented by
168
                      this {{getTypeName()}}</div>
169
                    <div class="footer target uk-position-relative">
170
                      <span
171
                          class="uk-text-bold uk-position-center">{{resultLandingInfo.supplementedByResearchResults.length | number}}</span>
172
                    </div>
173
                  </div>
174
                </div>
175
                <div *ngIf="resultLandingInfo.organizations">
176
                  <div class="clickable" (click)="openOrganizations()">
177
                    <div class="header target uk-text-bold">Related Organizations</div>
178
                    <div class="footer target uk-position-relative">
179
                      <span
180
                          class="uk-text-bold uk-position-center">{{resultLandingInfo.organizations.length | number}}</span>
181
                    </div>
182
                  </div>
183
                </div>
184
              </div>
185
            </div>
186
            <div class="uk-margin-small-top uk-flex uk-flex-bottom">
187
              <img src="assets/common-assets/graph.svg" style="opacity: 0.4">
188
              <span
189
                  class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
190
            </div>
191
            <!--<ul #accordions class="custom-accordion" uk-accordion>
192
              <li *ngIf="resultLandingInfo.references" (click)="activeTab='References'">
193
                <a class="uk-accordion-title" href="#">
194
                  References
195
                  ({{resultLandingInfo.references.length | number}})
196
                </a>
197
                <div class="uk-accordion-content">
198
                  <div>
199
                    <div *ngIf="resultLandingInfo.references.length > pageSize" class="uk-margin-bottom">
200
                      <span class="uk-h6">{{resultLandingInfo.references.length | number}}
201
                        references, page {{referencesPage | number}}
202
                        of {{totalPages(resultLandingInfo.references.length) | number}}</span>
203
                      <paging-no-load class="uk-float-right" [currentPage]="referencesPage"
204
                                      [totalResults]="resultLandingInfo.references.length" [size]="pageSize"
205
                                      (pageChange)="updateReferencesPage($event)"></paging-no-load>
206
                    </div>
207

    
208
                    <div
209
                        *ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
210
                      <p *ngIf=" item && item['url']"
211
                         class="custom-external custom-icon">
212
                        <a href="{{item['url']}}" target="_blank">
213
                          {{item['name']}}
214
                        </a>
215
                      </p>
216
                      <p *ngIf="!item['url']" class="pseudo-external custom-icon">
217
                        {{item['name']}}
218
                      </p>
219
                    </div>
220
                  </div>
221
                </div>
222
              </li>
223
              <li *ngIf="resultLandingInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
224
                <a class="uk-accordion-title" href="#">
225
                  Similar Research Results
226
                  ({{resultLandingInfo.similarResearchResults.length | number}})
227
                </a>
228
                <div class="uk-accordion-content">
229
                  <div>
230
                    <tabTable percentageName="similarity" [info]="resultLandingInfo.similarResearchResults"
231
                              [properties]=properties></tabTable>
232
                  </div>
233
                </div>
234
              </li>
235

    
236
              <li *ngIf="resultLandingInfo.supplementaryResearchResults"
237
                  (click)="activeTab='Supplementary Research Results'">
238
                <a class="uk-accordion-title" href="#">
239
                  Supplementary Research Results
240
                  ({{resultLandingInfo.supplementaryResearchResults.length | number}})
241
                </a>
242
                <div class="uk-accordion-content">
243
                  <div>
244
                    <tabTable percentageName="trust" [info]="resultLandingInfo.supplementaryResearchResults"
245
                              [properties]=properties></tabTable>
246
                  </div>
247
                </div>
248
              </li>
249

    
250
              <li *ngIf="resultLandingInfo.supplementedByResearchResults"
251
                  (click)="activeTab='Research Results supplemented by this product'">
252
                <a class="uk-accordion-title" href="#">
253
                  Research Results supplemented by this
254
                  <span *ngIf="type == 'publication' || type == 'software'">{{type}}</span>
255
                  <span *ngIf="type == 'dataset'">research data</span>
256
                  <span *ngIf="type == 'orp'">research product</span>
257
                  ({{resultLandingInfo.supplementedByResearchResults.length | number}})
258
                </a>
259
                <div class="uk-accordion-content">
260
                  <div>
261
                    <tabTable percentageName="trust" [info]="resultLandingInfo.supplementedByResearchResults"
262
                              [properties]=properties></tabTable>
263
                  </div>
264
                </div>
265
              </li>
266

    
267
              <li *ngIf="resultLandingInfo.organizations" (click)="activeTab='Related Organizations'">
268
                <a class="uk-accordion-title" href="#">
269
                  Related Organizations
270
                  ({{resultLandingInfo.organizations.length | number}})
271
                </a>
272
                <div class="uk-accordion-content">
273
                  <div>
274
                    <div *ngIf="resultLandingInfo.organizations.length > pageSize" class="uk-margin-bottom">
275
                      <span class="uk-text-bold">{{resultLandingInfo.organizations.length | number}}
276
                        organizations, page {{organizationsPage | number}}
277
                        of {{totalPages(resultLandingInfo.organizations.length) | number}}</span>
278
                      <paging-no-load class="uk-float-right" [currentPage]="organizationsPage"
279
                                      [totalResults]="resultLandingInfo.organizations.length" [size]="pageSize"
280
                                      (pageChange)="updateOrganizationsPage($event)"></paging-no-load>
281
                    </div>
282

    
283
                    <table class="uk-table uk-table-small uk-table-divider uk-table-middle ">
284
                      <tbody>
285
                      <tr
286
                          *ngFor="let organization of resultLandingInfo.organizations.slice((organizationsPage-1)*pageSize, organizationsPage*pageSize)">
287
                        <td>
288
                          <a *ngIf="(organization['id']) && ((organization['name']) || (organization['shortname']))"
289
                             [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
290
                             routerLink="/search/organization">
291
                            {{organization['name']}}
292
                            <span *ngIf="organization.name && organization.shortname"> ( </span>
293
                            <span *ngIf="organization.shortname">{{organization.shortname}}</span>
294
                            <span *ngIf="organization.name && organization.shortname"> ) </span>
295
                          </a>
296
                          <p *ngIf="(!organization['id']) && ((organization['name']) || (organization['shortname']))">
297
                            {{organization['name']}}
298
                            <span *ngIf="organization.name && organization.shortname"> ( </span>
299
                            <span *ngIf="organization.shortname">{{organization.shortname}}</span>
300
                            <span *ngIf="organization.name && organization.shortname"> ) </span>
301
                          </p>
302
                          <div *ngIf="organization.country">{{organization.country}}</div>
303
                          <div *ngIf="organization.websiteUrl">Website url:
304
                            <a href="{{organization.websiteUrl}}" target="_blank">{{organization.websiteUrl}}</a>
305
                          </div>
306
                        </td>
307
                        <td>
308
                          <div *ngIf="organization['trust']" title="{{organization['trust']}}%">
309
                            <div class="uk-text-center">{{organization['trust']}}%</div>
310
                            <progress class="uk-progress uk-margin-remove" value="{{organization['trust']}}"
311
                                      max="100"></progress>
312
                          </div>
313
                          <div *ngIf="!organization['trust']">
314
                            <p>no trust available</p>
315
                          </div>
316
                        </td>
317
                      </tr>
318
                      </tbody>
319
                    </table>
320

    
321
                  </div>
322
                </div>
323
              </li>
324

    
325
              <li *ngIf="resultLandingInfo.bioentities" (click)="activeTab='Bioentities'">
326
                <a class="uk-accordion-title" href="#">
327
                  Bioentities
328
                  ({{bioentitiesNum | number}})
329
                </a>
330
                <div class="uk-accordion-content">
331
                  <div *ngIf="resultLandingInfo.bioentities && bioentitiesNum > pageSize" class="uk-margin-bottom">
332
                    <span class="uk-text-bold"> {{bioentitiesNum | number}}
333
                      bioentities, page {{bioentitiesPage | number}} of {{totalPages(bioentitiesNum) | number}}</span>
334
                    <paging-no-load class="uk-float-right" [currentPage]="bioentitiesPage"
335
                                    [totalResults]="bioentitiesNum" [size]="pageSize"
336
                                    (pageChange)="updateBioentitiesPage($event)"></paging-no-load>
337
                  </div>
338

    
339
                  <table id="bioentitiesTable" class="uk-table ">
340
                    <tbody>
341
                    <ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
342
                      <tr
343
                          *ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*pageSize, bioentitiesPage*pageSize)">
344
                        <td class="uk-text-center" *ngIf="keyIn">
345
                                         <span class="custom-external custom-icon">
346
                                             <a href="{{resultLandingInfo.bioentities.get(key).get(keyIn)}}"
347
                                                target="_blank">
348
                                                 {{keyIn}}
349
                                             </a>
350
                                         </span>
351
                        </td>
352
                        <td class="uk-text-center">
353
                          {{key}}
354
                        </td>
355
                      </tr>
356
                    </ng-container>
357
                    </tbody>
358
                  </table>
359
                </div>
360
              </li>
361

    
362
              <li (click)="activeTab='Other Citations'"
363
                  *ngIf="resultLandingInfo.openCitations && resultLandingInfo.openCitations.length > 0">
364
                <a class="uk-accordion-title" href="#">
365
                  Open Citations
366
                  ({{resultLandingInfo.openCitations.length | number}})
367
                </a>
368
                <div class="uk-accordion-content">
369
                  <div *ngIf="resultLandingInfo.openCitations.length > pageSize" class="uk-margin-bottom">
370
                    <span class="uk-h6">{{resultLandingInfo.openCitations.length | number}}
371
                      open citations, page {{openCitationsPage | number}}
372
                      of {{totalPages(resultLandingInfo.openCitations.length) | number}}</span>
373
                    <paging-no-load class="uk-float-right" [currentPage]="openCitationsPage"
374
                                    [totalResults]="resultLandingInfo.openCitations.length" [size]="pageSize"
375
                                    (pageChange)="updateOpenCitationsPage($event)"></paging-no-load>
376
                  </div>
377

    
378
                  <ul class="uk-list uk-list-divider  uk-margin">
379
                    <li
380
                        *ngFor="let result of resultLandingInfo.openCitations.slice((openCitationsPage-1)*pageSize, openCitationsPage*pageSize)">
381
                      <h5 *ngIf="result.title">
382
                              <span *ngIf="result.url"
383
                                    class="custom-external">
384

    
385
                                  <a *ngIf="result.title" href="{{result.url}}" target="_blank"
386
                                     [innerHTML]="result.title">
387
                                  </a>
388
                                  <a *ngIf="!result.title" href="{{result.url}}" target="_blank">
389
                                      [no title available]
390
                                  </a>
391
                              </span>
392
                        <span *ngIf="result.title && !result.url" [innerHTML]="result.title"></span>
393
                        <span *ngIf="!result.title && !result.url">
394
                                  [no title available]
395
                              </span>
396
                      </h5>
397

    
398
                      <div>
399
                              <span *ngIf="result['authors']">
400
                                  <span *ngFor="let author of result['authors'].slice(0,15)">
401
                                      {{author}};
402
                                  </span>
403
                                  <span *ngIf="result['authors'].length > 15">...</span>
404
                              </span>
405
                        <span *ngIf="result.year">
406
                                  ({{result.year}})
407
                              </span>
408
                      </div>
409
                      <span *ngIf="result.doi">Identifier: <a *ngIf="result.doi" target="_blank"
410
                                                              class="custom-external custom-icon"
411
                                                              href="{{doiURL}}{{result.doi}}">doi: {{result.doi}}</a></span>
412
                    </li>
413
                  </ul>
414
                </div>
415
              </li>
416

    
417
              <li (click)="metricsClicked=true; activeTab='Metrics'">
418
                <a class="uk-accordion-title" href="#">
419
                  Metrics
420
                </a>
421
                <div class="uk-accordion-content">
422
                  <metrics *ngIf="metricsClicked" [pageViews]="pageViews"
423
                           [id]="id" [entityType]="'results'" [entity]="title"
424
                           (metricsResults)="metricsResults($event)" [properties]=properties>
425
                  </metrics>
426
                  <i-frame *ngIf="metricsClicked && totalViews>0"
427
                           [url]=viewsFrameUrl>
428
                  </i-frame>
429
                  <i-frame *ngIf="metricsClicked && totalDownloads>0"
430
                           [url]=downloadsFrameUrl>
431
                  </i-frame>
432
                </div>
433
              </li>
434
            </ul>-->
435
          </div>
436
          <div class="uk-width-1-3@m uk-width-1-1@s">
437
            <div class="uk-card uk-card-default uk-padding-small">
438
              <!--<b2note *ngIf=" properties.environment === 'development' && resultLandingInfo" [id]="id"
439
                      [landingInfo]="resultLandingInfo"></b2note>-->
440
              <div *ngIf="isRouteAvailable('participate/direct-claim')">
441
                <div class="uk-margin-auto uk-width-3-4">
442
                  <button class="uk-button uk-width-1-1 portal-button">
443
                    <span uk-icon="link"></span>
444
                    Link this <span *ngIf="type != 'orp'">{{title.toLowerCase()}}</span><span
445
                      *ngIf="type == 'orp'">product</span> to...
446
                  </button>
447
                </div>
448
                <div class="uk-text-center uk-margin-expand uk-padding-small    uk-margin-auto  default-dropdown "
449
                     uk-dropdown="mode:click">
450
                  <div class="uk-grid    uk-child-width-1-3  uk-width-large ">
451
                    <div>
452
                      <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
453
                         routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
454
                        <button class="uk-icon-button portal-button">
455
                       <span class="uk-icon">
456
                            <svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
457
                                 xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
458
                                height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
459
                                                                               width="17" x="1.5"
460
                                                                               y="6.5"></rect></svg>
461
                       </span>
462
                        </button>
463
                        <div>Projects</div>
464
                      </a></div>
465
                    <div><a
466
                        [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'result'])"
467
                        routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
468
                      <button class="uk-icon-button portal-button">
469
                      <span class="uk-icon">
470
                           <svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
471
                                xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
472
                                                                         width="12" x="3.5" y="2.5"></rect><polyline
473
                               fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>
474
                      </button>
475
                      <div>Research results</div>
476
                    </a></div>
477
                    <div><a
478
                        [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'context'])"
479
                        routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
480
                      <button class="uk-icon-button portal-button">
481
                       <span class="uk-icon">
482
                           <svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
483
                                xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
484
                                                                           stroke="#000" stroke-width="1.1"></circle><path
485
                               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"
486
                               stroke="#000" stroke-width="1.1"></path><path
487
                               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"
488
                               fill="none" stroke="#000" stroke-width="1.1"></path></svg></span>
489
                      </button>
490
                      <div>Communities</div>
491
                    </a></div>
492
                  </div>
493
                </div>
494
              </div>
495
              <!-- Share -->
496
              <div [class.uk-hidden]="!addThis" class="uk-margin-top">
497
                <div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
498
                <addThis (event)="hideAddThis($event)"></addThis>
499
              </div>
500
              <!-- Download From -->
501
              <div
502
                  *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
503
                  class="uk-margin-top">
504
                <availableOn [properties]="properties"
505
                             [availableOn]="resultLandingInfo.hostedBy_collectedFrom"></availableOn>
506
              </div>
507
              <!-- Metrics -->
508
              <div *ngIf="hasAltMetrics" class="uk-margin-top">
509
                <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>
510
                <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">
511
                  <div></div><!-- Open Citations-->
512
                  <div>
513
                    <altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">
514
                    </altmetrics>
515
                  </div>
516
                  <div></div><!-- OpenAIRE Metrics -->
517
                </div>
518
              </div>
519
              <div class="uk-margin-top">
520
                <div class="sideInfoTitle uk-margin-small-bottom">
521
                  Cite this {{getTypeName()}}
522
                </div>
523
                <citeThis [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
524
              </div>
525
            </div>
526
            <div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
527
              Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
528
            </div>
529
          </div>
530
        </div>
531
        <helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
532
                [texts]="pageContents['bottom']"></helper>
533
      </div>
534

    
535
    </div>
536
  </div>
537
  <feedback *ngIf="resultLandingInfo && properties.environment === 'development'" [resultLandingInfo]="resultLandingInfo"
538
            [properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
539
            [showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
540
  <!-- Other versions -->
541
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
542
               #AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
543
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
544
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
545
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
546
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
547
    </landing-header>
548
    <div class="uk-margin-medium-top uk-margin-medium-right">
549
      <deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
550
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
551
                          [ids]="resultLandingInfo.deletedByInferenceIds"
552
                          [modal]="AlertModalDeletedByInference"
553
                          [resultType]="type" [type]="'publications'"></deletedByInference>
554
      <deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
555
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
556
                          [ids]="resultLandingInfo.deletedByInferenceIds"
557
                          [modal]="AlertModalDeletedByInference"
558
                          [resultType]="'dataset'" [type]="'research data'"></deletedByInference>
559
      <deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
560
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
561
                          [ids]="resultLandingInfo.deletedByInferenceIds"
562
                          [modal]="AlertModalDeletedByInference"
563
                          [resultType]="type" [type]="'software'"></deletedByInference>
564
      <deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
565
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
566
                          [ids]="resultLandingInfo.deletedByInferenceIds"
567
                          [modal]="AlertModalDeletedByInference"
568
                          [resultType]="'other'" [type]="'other research products'"></deletedByInference>
569
    </div>
570
  </modal-alert>
571
  <!-- References -->
572
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.references"
573
               classBody="uk-width-xxlarge uk-padding-remove-right" #referencesModal>
574
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
575
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
576
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
577
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
578
    </landing-header>
579
    <div class="uk-margin-medium-top uk-margin-medium-right">
580
      <no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
581
                      (pageChange)="updateReferencesPage($event)"
582
                      [page]="referencesPage" [pageSize]="1.5*pageSize"
583
                      [totalResults]="resultLandingInfo.references.length">
584
      </no-load-paging>
585
      <div
586
          *ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*1.5*pageSize, referencesPage*1.5*pageSize)">
587
        <p *ngIf="item">
588
          {{item['name']}}
589
          <span *ngIf="item.url">
590
            [<a href="{{item['url']}}" target="_blank">PubMed</a>]
591
          </span>
592
        </p>
593
      </div>
594
      <no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
595
                      (pageChange)="updateReferencesPage($event)"
596
                      [page]="referencesPage" [pageSize]="1.5*pageSize"
597
                      [totalResults]="resultLandingInfo.references.length">
598
      </no-load-paging>
599
    </div>
600
  </modal-alert>
601
  <!-- Bioentities -->
602
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.bioentities"
603
               classBody="uk-width-xxlarge uk-padding-remove-right" #bioentitiesModal>
604
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
605
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
606
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
607
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
608
    </landing-header>
609
    <div class="uk-margin-medium-top uk-margin-medium-right">
610
      <no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
611
                      (pageChange)="updateBioentitiesPage($event)"
612
                      [page]="bioentitiesPage" [pageSize]="2*pageSize"
613
                      [totalResults]="bioentitiesNum">
614
      </no-load-paging>
615
      <div class="uk-child-width-1-4@s uk-child-width-1-2 bioentities-buttons" uk-grid>
616
        <ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
617
          <ng-container
618
              *ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*2*pageSize, bioentitiesPage*2*pageSize)">
619
            <div>
620
              <div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)">
621
                {{keyIn}}
622
              </div>
623
              <a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
624
                 [title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)">
625
                {{keyIn}}
626
                <span class="custom-external custom-icon space"></span>
627
              </a>
628
            </div>
629
          </ng-container>
630
        </ng-container>
631
      </div>
632
      <no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
633
                      (pageChange)="updateBioentitiesPage($event)"
634
                      [page]="bioentitiesPage" [pageSize]="2*pageSize"
635
                      [totalResults]="bioentitiesNum">
636
      </no-load-paging>
637
    </div>
638
  </modal-alert>
639
  <!-- Relation Results-->
640
  <modal-alert *ngIf="resultLandingInfo" classBody="uk-width-xxlarge uk-padding-remove-right" #relationModal>
641
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
642
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
643
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
644
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
645
    </landing-header>
646
    <div *ngIf="relationResults" class="uk-margin-medium-top uk-margin-medium-right">
647
      <no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
648
                      (pageChange)="updateRelationPage($event)"
649
                      [page]="relationPage" [pageSize]="pageSize"
650
                      [totalResults]="relationResults.length">
651
      </no-load-paging>
652
      <ul class="uk-list uk-list-divider  uk-margin">
653
        <li *ngFor="let item of relationResults.slice((relationPage-1)*pageSize, relationPage*pageSize)">
654
          <result-preview [modal]="relationModal" [properties]="properties"
655
                          [result]="getResultPreview(item)"></result-preview>
656
        </li>
657
      </ul>
658
      <no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
659
                      (pageChange)="updateRelationPage($event)"
660
                      [page]="relationPage" [pageSize]="pageSize"
661
                      [totalResults]="relationResults.length">
662
      </no-load-paging>
663
    </div>
664
  </modal-alert>
665
  <!-- Related Organizations-->
666
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.organizations"
667
               classBody="uk-width-xxlarge uk-padding-remove-right" #organizationModal>
668
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
669
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
670
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
671
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
672
    </landing-header>
673
    <div class="uk-margin-medium-top uk-margin-medium-right">
674
      <no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
675
                      (pageChange)="updateOrganizationsPage($event)"
676
                      [page]="relationPage" [pageSize]="pageSize"
677
                      [totalResults]="resultLandingInfo.organizations.length">
678
      </no-load-paging>
679
      <ul class="uk-list uk-list-divider  uk-margin">
680
        <li *ngFor="let item of resultLandingInfo.organizations.slice((relationPage-1)*pageSize, relationPage*pageSize)">
681
          <result-preview [modal]="organizationModal" [properties]="properties"
682
                          [result]="getResultPreviewFromOrg(item)"></result-preview>
683
        </li>
684
      </ul>
685
      <no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
686
                      (pageChange)="updateOrganizationsPage($event)"
687
                      [page]="relationPage" [pageSize]="pageSize"
688
                      [totalResults]="resultLandingInfo.organizations.length">
689
      </no-load-paging>
690
    </div>
691
  </modal-alert>
692
</div>
693

    
694

    
(1-1/4)