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 (click)="metricsClicked=true; activeTab='Metrics'">
200
                <a class="uk-accordion-title" href="#">
201
                  Metrics
202
                </a>
203
                <div class="uk-accordion-content">
204
                  <metrics *ngIf="metricsClicked" [pageViews]="pageViews"
205
                           [id]="id" [entityType]="'results'" [entity]="title"
206
                           (metricsResults)="metricsResults($event)" [properties]=properties>
207
                  </metrics>
208
                  <i-frame *ngIf="metricsClicked && totalViews>0"
209
                           [url]=viewsFrameUrl>
210
                  </i-frame>
211
                  <i-frame *ngIf="metricsClicked && totalDownloads>0"
212
                           [url]=downloadsFrameUrl>
213
                  </i-frame>
214
                </div>
215
              </li>
216
            </ul>-->
217
          </div>
218
          <div class="uk-width-1-3@m uk-width-1-1@s">
219
            <div class="uk-card uk-card-default uk-padding-small">
220
              <div *ngIf="isRouteAvailable('participate/direct-claim')">
221
                <div class="uk-margin-auto uk-width-3-4">
222
                  <button class="uk-button uk-width-1-1 portal-button">
223
                    <span uk-icon="link"></span>
224
                    Link this <span *ngIf="type != 'orp'">{{title.toLowerCase()}}</span><span
225
                      *ngIf="type == 'orp'">product</span> to...
226
                  </button>
227
                </div>
228
                <div class="uk-text-center uk-margin-expand uk-padding-small    uk-margin-auto  default-dropdown "
229
                     uk-dropdown="mode:click">
230
                  <div class="uk-grid    uk-child-width-1-3  uk-width-large ">
231
                    <div>
232
                      <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
233
                         routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
234
                        <button class="uk-icon-button portal-button">
235
                       <span class="uk-icon">
236
                            <svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
237
                                 xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
238
                                height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
239
                                                                               width="17" x="1.5"
240
                                                                               y="6.5"></rect></svg>
241
                       </span>
242
                        </button>
243
                        <div>Projects</div>
244
                      </a></div>
245
                    <div><a
246
                        [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'result'])"
247
                        routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
248
                      <button class="uk-icon-button portal-button">
249
                      <span class="uk-icon">
250
                           <svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
251
                                xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
252
                                                                         width="12" x="3.5" y="2.5"></rect><polyline
253
                               fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>
254
                      </button>
255
                      <div>Research results</div>
256
                    </a></div>
257
                    <div><a
258
                        [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'context'])"
259
                        routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
260
                      <button class="uk-icon-button portal-button">
261
                       <span class="uk-icon">
262
                           <svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
263
                                xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
264
                                                                           stroke="#000" stroke-width="1.1"></circle><path
265
                               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"
266
                               stroke="#000" stroke-width="1.1"></path><path
267
                               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"
268
                               fill="none" stroke="#000" stroke-width="1.1"></path></svg></span>
269
                      </button>
270
                      <div>Communities</div>
271
                    </a></div>
272
                  </div>
273
                </div>
274
              </div>
275
              <!-- Share -->
276
              <div *ngIf="properties.showAddThis" [class.uk-hidden]="!addThis" class="uk-margin-top">
277
                <div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
278
                <addThis (event)="hideAddThis($event)"></addThis>
279
              </div>
280
              <!-- Download From -->
281
              <div
282
                  *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
283
                  class="uk-margin-top">
284
                <availableOn [properties]="properties"
285
                             [availableOn]="resultLandingInfo.hostedBy_collectedFrom"></availableOn>
286
              </div>
287
              <!-- Metrics -->
288
              <div *ngIf="hasAltMetrics || hasMetrics" class="uk-margin-top">
289
                <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>
290
                <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">
291
                  <div></div><!-- Open Citations-->
292
                  <div *ngIf="hasAltMetrics">
293
                    <altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">
294
                    </altmetrics>
295
                  </div>
296
                  <div *ngIf="hasMetrics">
297
                    <metrics [pageViews]="pageViews"
298
                             [id]="id" [entityType]="'results'" [entity]="title"
299
                             [viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
300
                             (metricsResults)="metricsResults($event)" [properties]=properties>
301
                    </metrics>
302
                  </div>
303
                </div>
304
              </div>
305
              <div class="uk-margin-top">
306
                <div class="sideInfoTitle uk-margin-small-bottom">
307
                  Cite this {{getTypeName()}}
308
                </div>
309
                <citeThis [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
310
              </div>
311
            </div>
312
            <div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
313
              Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
314
            </div>
315
          </div>
316
        </div>
317
        <helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
318
                [texts]="pageContents['bottom']"></helper>
319
      </div>
320

    
321
    </div>
322
  </div>
323
  <feedback *ngIf="resultLandingInfo" [resultLandingInfo]="resultLandingInfo"
324
            [properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
325
            [showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
326
  <!-- Other versions -->
327
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
328
               #AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
329
    <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"
330
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
331
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
332
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
333
    </landing-header>
334
    <div class="uk-margin-medium-top uk-margin-medium-right">
335
      <deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
336
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
337
                          [ids]="resultLandingInfo.deletedByInferenceIds"
338
                          [modal]="AlertModalDeletedByInference"
339
                          [resultType]="type" [type]="'publications'"></deletedByInference>
340
      <deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
341
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
342
                          [ids]="resultLandingInfo.deletedByInferenceIds"
343
                          [modal]="AlertModalDeletedByInference"
344
                          [resultType]="'dataset'" [type]="'research data'"></deletedByInference>
345
      <deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
346
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
347
                          [ids]="resultLandingInfo.deletedByInferenceIds"
348
                          [modal]="AlertModalDeletedByInference"
349
                          [resultType]="type" [type]="'software'"></deletedByInference>
350
      <deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
351
                          [id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
352
                          [ids]="resultLandingInfo.deletedByInferenceIds"
353
                          [modal]="AlertModalDeletedByInference"
354
                          [resultType]="'other'" [type]="'other research products'"></deletedByInference>
355
    </div>
356
  </modal-alert>
357
  <!-- References -->
358
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.references"
359
               classBody="uk-width-xxlarge uk-padding-remove-right" #referencesModal>
360
    <landing-header [properties]="properties" [title]="resultLandingInfo.title"
361
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
362
                    [modal]="referencesModal"
363
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
364
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
365
    </landing-header>
366
    <div class="uk-margin-medium-top uk-margin-medium-right">
367
      <no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
368
                      (pageChange)="updateReferencesPage($event)"
369
                      [page]="referencesPage" [pageSize]="1.5*pageSize"
370
                      [totalResults]="resultLandingInfo.references.length">
371
      </no-load-paging>
372
      <div
373
          *ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*1.5*pageSize, referencesPage*1.5*pageSize)">
374
        <p *ngIf="item">
375
          {{item.name}}
376
          <ng-container *ngIf="item.ids && item.ids.length > 0">
377
            <span *ngFor="let id of item.ids">
378
              [<a *ngIf="id.type !== 'openaire'" href="{{getReferenceUrl(id)}}"
379
                  target="_blank">{{getReferenceIdName(id)}}</a>
380
              <a *ngIf="id.type === 'openaire'" [routerLink]="'/search/result'" [queryParams]="{id: id.value}"
381
                 target="_blank">OpenAIRE</a>]
382
            </span>
383
          </ng-container>
384
        </p>
385
      </div>
386
      <no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
387
                      (pageChange)="updateReferencesPage($event)"
388
                      [page]="referencesPage" [pageSize]="1.5*pageSize"
389
                      [totalResults]="resultLandingInfo.references.length">
390
      </no-load-paging>
391
    </div>
392
  </modal-alert>
393
  <!-- Bioentities -->
394
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.bioentities"
395
               classBody="uk-width-xxlarge uk-padding-remove-right" #bioentitiesModal>
396
    <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="bioentitiesModal"
397
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
398
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
399
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
400
    </landing-header>
401
    <div class="uk-margin-medium-top uk-margin-medium-right">
402
      <no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
403
                      (pageChange)="updateBioentitiesPage($event)"
404
                      [page]="bioentitiesPage" [pageSize]="2*pageSize"
405
                      [totalResults]="bioentitiesNum">
406
      </no-load-paging>
407
      <div class="uk-child-width-1-4@s uk-child-width-1-2 bioentities-buttons" uk-grid>
408
        <ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
409
          <ng-container
410
              *ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*2*pageSize, bioentitiesPage*2*pageSize)">
411
            <div>
412
              <div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)">
413
                {{keyIn}}
414
              </div>
415
              <a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
416
                 [title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)">
417
                {{keyIn}}
418
                <span class="custom-external custom-icon space"></span>
419
              </a>
420
            </div>
421
          </ng-container>
422
        </ng-container>
423
      </div>
424
      <no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
425
                      (pageChange)="updateBioentitiesPage($event)"
426
                      [page]="bioentitiesPage" [pageSize]="2*pageSize"
427
                      [totalResults]="bioentitiesNum">
428
      </no-load-paging>
429
    </div>
430
  </modal-alert>
431
  <!-- Relation Results-->
432
  <modal-alert *ngIf="resultLandingInfo" classBody="uk-width-xxlarge uk-padding-remove-right" #relationModal>
433
    <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="relationModal"
434
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
435
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
436
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
437
    </landing-header>
438
    <div *ngIf="relationResults" class="uk-margin-medium-top uk-margin-medium-right">
439
      <no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
440
                      (pageChange)="updateRelationPage($event)"
441
                      [page]="relationPage" [pageSize]="pageSize"
442
                      [totalResults]="relationResults.length">
443
      </no-load-paging>
444
      <ul class="uk-list uk-list-divider  uk-margin">
445
        <li *ngFor="let item of relationResults.slice((relationPage-1)*pageSize, relationPage*pageSize)">
446
          <result-preview [modal]="relationModal" [properties]="properties"
447
                          [result]="getResultPreview(item)"></result-preview>
448
        </li>
449
      </ul>
450
      <no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
451
                      (pageChange)="updateRelationPage($event)"
452
                      [page]="relationPage" [pageSize]="pageSize"
453
                      [totalResults]="relationResults.length">
454
      </no-load-paging>
455
    </div>
456
  </modal-alert>
457
  <!-- Related Organizations-->
458
  <modal-alert *ngIf="resultLandingInfo && resultLandingInfo.organizations"
459
               classBody="uk-width-xxlarge uk-padding-remove-right" #organizationModal>
460
    <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="organizationModal"
461
                    [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
462
                    [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
463
                    [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
464
    </landing-header>
465
    <div class="uk-margin-medium-top uk-margin-medium-right">
466
      <no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
467
                      (pageChange)="updateOrganizationsPage($event)"
468
                      [page]="relationPage" [pageSize]="pageSize"
469
                      [totalResults]="resultLandingInfo.organizations.length">
470
      </no-load-paging>
471
      <ul class="uk-list uk-list-divider  uk-margin">
472
        <li *ngFor="let item of resultLandingInfo.organizations.slice((relationPage-1)*pageSize, relationPage*pageSize)">
473
          <result-preview [modal]="organizationModal" [properties]="properties"
474
                          [result]="getResultPreviewFromOrg(item)"></result-preview>
475
        </li>
476
      </ul>
477
      <no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
478
                      (pageChange)="updateOrganizationsPage($event)"
479
                      [page]="relationPage" [pageSize]="pageSize"
480
                      [totalResults]="resultLandingInfo.organizations.length">
481
      </no-load-paging>
482
    </div>
483
  </modal-alert>
484
</div>
485

    
486

    
(1-1/4)