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

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

    
243
              <li *ngIf="resultLandingInfo.supplementaryResearchResults"
244
                  (click)="activeTab='Supplementary Research Results'">
245
                <a class="uk-accordion-title" href="#">
246
                  Supplementary Research Results
247
                  ({{resultLandingInfo.supplementaryResearchResults.length | number}})
248
                </a>
249
                <div class="uk-accordion-content">
250
                  <div>
251
                    <tabTable percentageName="trust" [info]="resultLandingInfo.supplementaryResearchResults"
252
                              [properties]=properties></tabTable>
253
                  </div>
254
                </div>
255
              </li>
256

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

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

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

    
328
                  </div>
329
                </div>
330
              </li>
331

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

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

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

    
385
                  <ul class="uk-list uk-list-divider  uk-margin">
386
                    <li
387
                        *ngFor="let result of resultLandingInfo.openCitations.slice((openCitationsPage-1)*pageSize, openCitationsPage*pageSize)">
388
                      <h5 *ngIf="result.title">
389
                              <span *ngIf="result.url"
390
                                    class="custom-external">
391

    
392
                                  <a *ngIf="result.title" href="{{result.url}}" target="_blank"
393
                                     [innerHTML]="result.title">
394
                                  </a>
395
                                  <a *ngIf="!result.title" href="{{result.url}}" target="_blank">
396
                                      [no title available]
397
                                  </a>
398
                              </span>
399
                        <span *ngIf="result.title && !result.url" [innerHTML]="result.title"></span>
400
                        <span *ngIf="!result.title && !result.url">
401
                                  [no title available]
402
                              </span>
403
                      </h5>
404

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

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

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

    
705

    
(1-1/4)