Project

General

Profile

1
<div class="uk-container uk-margin-top publication">
2
    <!--div class="container-header" -->
3

    
4
    <div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning" role="alert">{{warningMessage}}</div>
5
    <div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger" role="alert">{{errorMessage}}</div>
6

    
7
    <div *ngIf="publicationInfo != null" class="uk-grid">
8
        <div class="uk-width-7-10">
9
            <showTitle [title]="publicationInfo.title"></showTitle>
10
        <!--/div-->
11
    <!--/div-->
12

    
13
    <!--div class="uk-grid"-->
14

    
15
        <!--div class="uk-width-7-10" *ngIf="publicationInfo != null"-->
16
            <div>
17
                <showAuthors [authors]="publicationInfo.authors"></showAuthors>
18
                <span *ngIf="publicationInfo.date != ''">({{publicationInfo.date}})</span>
19
            </div>
20

    
21
            <dl class="uk-description-list-horizontal custom-description-list-horizontal">
22
                <dt *ngIf="publicationInfo.publisher != undefined && publicationInfo.publisher != ''">Publisher: </dt>
23
                <dd *ngIf="publicationInfo.publisher != undefined && publicationInfo.publisher != ''">{{publicationInfo.publisher}}</dd>
24
                <dt *ngIf="publicationInfo.journal != undefined && publicationInfo.journal['journal'] != ''">Journal: </dt>
25
                <dd *ngIf="publicationInfo.journal != undefined && publicationInfo.journal != ''">
26
                    {{publicationInfo.journal['journal']}}
27
                    <span *ngIf="publicationInfo.journal['issn'] != '' || publicationInfo.journal['lissn'] != ''">
28
                        (
29
                    </span>
30
                    <span *ngIf="publicationInfo.journal['issn'] != ''">
31
                        issn: {{publicationInfo.journal['issn']}}
32
                    </span>
33
                    <span *ngIf="publicationInfo.journal['lissn'] != ''">
34
                        lissn: {{publicationInfo.journal['lissn']}}
35
                    </span>
36
                    <span *ngIf="publicationInfo.journal['issn'] != '' || publicationInfo.journal['lissn'] != ''">
37
                        )
38
                    </span>
39
                </dd>
40
                <dt *ngIf="publicationInfo.languages != undefined && publicationInfo.languages != 'Undetermined' && publicationInfo.languages != ''"> Languages: </dt>
41
                <dd *ngIf="publicationInfo.languages != undefined && publicationInfo.languages != 'Undetermined' && publicationInfo.languages != ''">{{publicationInfo.languages}}</dd>
42
                <dt *ngIf="publicationInfo.types != undefined && publicationInfo.types.length > 0"> Types: </dt>
43
                <dd *ngIf="publicationInfo.types != undefined && publicationInfo.types.length > 0">{{publicationInfo.types}}</dd>
44
                <dt *ngIf="publicationInfo.embargoEndDate != undefined && publicationInfo.embargoEndDate != ''">Embargo end date: </dt>
45
                <dd *ngIf="publicationInfo.embargoEndDate != undefined && publicationInfo.embargoEndDate != ''">{{publicationInfo.embargoEndDate}}</dd>
46

    
47
                <showIdentifiers [identifiers]="publicationInfo.identifiers"></showIdentifiers>
48
                <showSubjects [subjects]="publicationInfo.subjects"
49
                              [otherSubjects]="publicationInfo.otherSubjects"
50
                              [classifiedSubjects]="publicationInfo.classifiedSubjects">
51
                </showSubjects>
52
            </dl>
53

    
54
            <blockquote *ngIf="publicationInfo.description != ''">
55
                <div class="uk-text-justify">{{publicationInfo.description}}</div>
56
            </blockquote>
57

    
58
            <!--div class="uk-clearfix uk-margin-top uk-margin-bottom">
59

    
60
              <a  class="uk-float-right uk-button" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','result'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > <i class="uk-icon-link"></i> Links to research Results</a>
61
            </div-->
62

    
63
            <ul class="uk-tab" data-uk-switcher="{connect: '#tab-content'}">
64
                <li class="uk-active">
65
                    <a>
66
                        References
67
                        <span *ngIf="publicationInfo.references == undefined" class="uk-badge uk-badge-notification">0</span>
68
                        <span *ngIf="publicationInfo.references != undefined" class="uk-badge uk-badge-notification">
69
                            {{publicationInfo.references.length}}
70
                        </span>
71
                    </a>
72
                </li>
73
                <li>
74
                    <a>
75
                        Related Research Results
76
                        <span class="uk-badge uk-badge-notification">
77
                            {{relatedResearchResultsNum}}
78
                        </span>
79
                    </a>
80
                </li>
81
                <li>
82
                    <a>
83
                        Similar Research Results
84
                        <span *ngIf="publicationInfo.similarResearchResults == undefined" class="uk-badge uk-badge-notification">0</span>
85
                        <span *ngIf="publicationInfo.similarResearchResults != undefined" class="uk-badge uk-badge-notification">
86
                            {{publicationInfo.similarResearchResults.length}}
87
                        </span>
88
                    </a>
89
                </li>
90
                <li>
91
                    <a>
92
                        Related Organizations
93
                        <span *ngIf="publicationInfo.organizations == undefined" class="uk-badge uk-badge-notification">0</span>
94
                        <span *ngIf="publicationInfo.organizations != undefined" class="uk-badge uk-badge-notification">
95
                            {{publicationInfo.organizations.length}}
96
                        </span>
97
                    </a>
98
                </li>
99
                <li *ngIf="publicationInfo.bioentities != undefined">
100
                    <a>
101
                        Bioentities
102
                        <span class="uk-badge uk-badge-notification">{{bioentitiesNum}}</span>
103
                    </a>
104
                </li>
105
                <li *ngIf="publicationInfo.software != undefined">
106
                    <a>
107
                        Software
108
                        <span class="uk-badge uk-badge-notification">{{publicationInfo.software.length}}</span>
109
                    </a>
110
                </li>
111
                <li>
112
                    <a (click)="metricsClicked=true;">
113
                        Metrics
114
                        <i class="uk-icon-line-chart"></i>
115
                    </a>
116
                </li>
117
            </ul>
118

    
119
            <ul id="tab-content" class="uk-switcher uk-margin custom-tab-content">
120
                <li class="uk-animation-fade">
121
                    <div *ngIf="publicationInfo.references == undefined" class = "uk-alert" >
122
                        There are no references
123
                    </div>
124

    
125
                    <div *ngIf="publicationInfo.references != undefined">
126

    
127
                        <tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging>
128

    
129
                        <div *ngFor="let item of publicationInfo.references.slice(0,10)">
130
                            <p *ngIf=" item != undefined && item['url'] != undefined"
131
                                class="uk-icon-external-link custom-icon">
132
                                <a href="{{item['url']}}" target="_blank">
133
                                    {{item['name']}}
134
                                </a>
135
                            </p>
136
                            <p *ngIf="item['url'] == undefined">
137
                                {{item['name']}}
138
                            </p>
139
                        </div>
140

    
141
                        <div *ngIf="showAllReferences">
142
                            <div *ngFor="let item of publicationInfo.references.slice(10)">
143
                                <p *ngIf=" item != undefined && item['url'] != undefined"
144
                                    class="uk-icon-external-link custom-icon">
145
                                    <a href="{{item['url']}}" target="_blank">
146
                                        {{item['name']}}
147
                                    </a>
148
                                </p>
149
                                <p *ngIf="item['url'] == undefined">
150
                                    {{item['name']}}
151
                                </p>
152
                           </div>
153
                        </div>
154

    
155
                        <tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging>
156

    
157
                    </div>
158
                </li>
159

    
160
                <li class="uk-animation-fade">
161
                    <div *ngIf="publicationInfo.relatedResearchResults == undefined" class = "uk-alert">
162
                        There are no related research results
163
                    </div>
164
                    <div *ngIf="publicationInfo.relatedResearchResults != undefined">
165
                        <div *ngFor="let provenanceaction of publicationInfo.relatedResearchResults.keys()">
166
                            <h4>{{provenanceaction}}</h4>
167

    
168
                            <tabTable [info]="publicationInfo.relatedResearchResults.get(provenanceaction)"></tabTable>
169
                        </div>
170
                    </div>
171
                </li>
172

    
173

    
174
                <li class="uk-animation-fade">
175
                    <div *ngIf="publicationInfo.similarResearchResults == undefined" class = "uk-alert">
176
                        There are no similar research results
177
                    </div>
178
                    <div *ngIf="publicationInfo.similarResearchResults != undefined">
179

    
180
                        <tabTable [info]="publicationInfo.similarResearchResults"></tabTable>
181
                    </div>
182
                </li>
183

    
184
                <li class="uk-animation-fade">
185
                    <div *ngIf="publicationInfo.organizations == undefined" class = "uk-alert">
186
                        There are no related organizations
187
                    </div>
188
                    <div *ngIf="publicationInfo.organizations != undefined">
189

    
190
                        <table class="uk-table uk-table-striped">
191
                            <thead>
192
                                <tr>
193
                                    <th>Organization</th>
194
                                    <th>Trust</th>
195
                                </tr>
196
                            </thead>
197
                            <tbody>
198
                                <tr *ngFor="let organization of publicationInfo.organizations">
199
                                    <td>
200
                                        <a *ngIf="(organization['id'] != undefined && organization['id'] != '')
201
                                            && ((organization['name'] != undefined && organization['name'] != '')
202
                                            || (organization['shortname'] != undefined && organization['shortname'] != ''))"
203
                                            [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
204
                                                {{organization['name']}}
205
                                                <span *ngIf="organization.name != undefined && organization.name != ''
206
                                                            && organization.shortname != undefined && organization.shortname != ''"> ( </span>
207
                                                <span *ngIf="organization.shortname != undefined && organization.shortname != ''">{{organization.shortname}}</span>
208
                                                <span *ngIf="organization.name != undefined && organization.name != ''
209
                                                            && organization.shortname != undefined && organization.shortname != ''"> ) </span>
210
                                        </a>
211
                                        <p *ngIf="(organization['id'] == undefined || organization['id'] == '')
212
                                            && ((organization['name'] != undefined && organization['name'] != '')
213
                                            || (organization['shortname'] != undefined && organization['shortname'] != ''))">
214
                                            {{organization['name']}}
215
                                            <span *ngIf="organization.name != undefined && organization.name != ''
216
                                                        && organization.shortname != undefined && organization.shortname != ''"> ( </span>
217
                                            <span *ngIf="organization.shortname != undefined && organization.shortname != ''">{{organization.shortname}}</span>
218
                                            <span *ngIf="organization.name != undefined && organization.name != ''
219
                                                        && organization.shortname != undefined && organization.shortname != ''"> ) </span>
220
                                        </p>
221
                                        <div *ngIf="organization.websiteUrl != undefined && organization.websiteUrl != ''">Website url:
222
                                            <a href="{{organization.websiteUrl}}" target="_blank">{{organization.websiteUrl}}</a>
223
                                        </div>
224
                                        <div *ngIf="organization.country != undefined && organization.country != ''">Country: {{organization.country}}</div>
225
                                    </td>
226
                                    <td>
227
                                        <div *ngIf="organization['trust'] != undefined && organization['trust'] != ''"
228
                                                class="uk-progress uk-progress-warning">
229
                                            <div class="uk-progress-bar" role="progressbar" aria-valuenow="29" aria-valuemin="0" aria-valuemax="100" [style.width] = "organization['trust']">
230
                                                {{organization['trust']}}
231
                                            </div>
232
                                        </div>
233
                                        <div *ngIf="organization['trust'] == undefined || organization['trust'] == ''">
234
                                            <p>no trust found</p>
235
                                        </div>
236
                                    </td>
237
                                </tr>
238
                            </tbody>
239
                        </table>
240

    
241

    
242
                    </div>
243
                </li>
244

    
245
                <li *ngIf="publicationInfo.bioentities != undefined" class="uk-animation-fade">
246
                    <table id="bioentitiesTable" class="uk-table uk-table-striped">
247
                        <thead>
248
                            <tr>
249
                                <th class="uk-text-center">Bio Entity</th>
250
                                <th class="uk-text-center">Site Name</th>
251
                            </tr>
252
                        </thead>
253
                        <tbody *ngFor="let key of publicationInfo.bioentities.keys()">
254
                            <tr *ngFor="let keyIn of publicationInfo.bioentities.get(key).keys()">
255
                                <td class="uk-text-center" *ngIf="keyIn != undefined">
256
                                    <span class="uk-icon-external-link custom-icon">
257
                                        <a href="{{publicationInfo.bioentities.get(key).get(keyIn)}}"
258
                                            target="_blank">
259
                                            {{keyIn}}
260
                                        </a>
261
                                    </span>
262
                                </td>
263
                                <td class="uk-text-center">
264
                                    {{key}}
265
                                </td>
266
                            </tr>
267
                        </tbody>
268
                    </table>
269
                </li>
270
                <li *ngIf="publicationInfo.software != undefined" class="uk-animation-fade">
271

    
272
                    <table id="softwareTable" class="uk-table uk-table-striped">
273
                        <thead>
274
                            <tr>
275
                                <th class="uk-text-center">Site Name</th>
276
                            </tr>
277
                        </thead>
278
                        <tbody>
279
                            <tr *ngFor="let item of publicationInfo.software" class="uk-text-center">
280
                                <td>
281
                                    <span class="uk-icon-external-link custom-icon">
282
                                        <a href="{{item.url}}" target="_blank">
283
                                            {{item.name}}
284
                                        </a>
285
                                    </span>
286
                                </td>
287
                            </tr>
288
                        </tbody>
289
                    </table>
290
                </li>
291
                <li class="uk-animation-fade">
292
                    <metrics
293
                        [id]="articleId" [type]="'results'" (metricsResults)="metricsResults($event)">
294
                    </metrics>
295
                    <!--i-frame *ngIf="metricsClicked" [url]=viewsFrameUrl width="100%" height="250"></i-frame-->
296
                    <i-frame *ngIf="metricsClicked && totalViews>0"
297
                        [url]=viewsFrameUrl width="100%" height="250">
298
                    </i-frame>
299
                    <i-frame *ngIf="metricsClicked && totalDownloads>0"
300
                        [url]=downloadsFrameUrl width="100%" height="250">
301
                    </i-frame>
302
                </li>
303
            </ul>
304
        </div>
305

    
306
        <div class="uk-width-3-10">
307
            <ul class="uk-list uk-list-striped">
308
                <li>
309
                    <dl class="uk-description-list-line">
310
                        <dt  >Share - Bookmark
311
                        </dt>
312
                        <dd>
313
                          <addThis></addThis>
314
                        </dd>
315
                    </dl>
316
                    <altmetrics  *ngIf="publicationInfo.identifiers != undefined && publicationInfo.identifiers.get('doi') != undefined"
317
                        id="{{publicationInfo.identifiers.get('doi')[0]}}" type="doi">
318
                    </altmetrics>
319
                </li>
320

    
321
                <li *ngIf="publicationInfo.downloadFrom != undefined && publicationInfo.downloadFrom.size > 0">
322
                    <dl class="uk-description-list-line">
323
                        <dt class="title">Download from</dt>
324
                        <dd class="line"
325
                            *ngFor="let key of publicationInfo.downloadFrom.keys() let i=index"
326
                            data-uk-tooltip="{pos:'right', cls:'tooltip uk-text-center uk-contrast'}"
327
                            [title]="publicationInfo.downloadFrom.get(key)['accessMode']">
328
                            <div *ngIf="i<5 || showAllDownloadFrom"
329
                                  class="{{publicationInfo.downloadFrom.get(key)['bestAccessMode']}}">
330
                                <span class="uk-icon-external-link custom-icon">
331
                                    <div *ngIf="publicationInfo.downloadFrom.get(key)['url'].length > 1">
332
                                        {{key}}
333
                                        <span *ngFor="let url of publicationInfo.downloadFrom.get(key)['url']; let i=index;">
334
                                            <a  href="{{url}}" target="_blank">
335
                                                [{{i+1}}]
336
                                            </a>
337
                                        </span>
338
                                    </div>
339
                                    <a *ngIf="publicationInfo.downloadFrom.get(key)['url'].length == 1"
340
                                        href="{{publicationInfo.downloadFrom.get(key)['url']}}"
341
                                        target="_blank">
342
                                        {{key}}
343
                                    </a>
344
                                </span>
345
                            </div>
346
                        </dd>
347
                        <dd *ngIf="showAllDownloadFrom" class="uk-text-right">
348
                            <a class="uk-text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
349
                                View less
350
                            </a>
351
                        </dd>
352
                        <dd *ngIf="!showAllDownloadFrom && publicationInfo.downloadFrom.size > 5">...</dd>
353
                        <dd *ngIf="!showAllDownloadFrom && publicationInfo.downloadFrom.size > 5" class="uk-text-right">
354
                            <a class="uk-text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
355
                                View more
356
                            </a>
357
                        </dd>
358
                    </dl>
359
                </li>
360
                <li *ngIf="publicationInfo.publishedIn != undefined && publicationInfo.publishedIn.size > 0">
361
                    <dl class="uk-description-list-line">
362
                        <dt class="title">Published in</dt>
363
                        <dd class="line" *ngFor="let key of publicationInfo.publishedIn.keys() let i=index"
364
                            data-uk-tooltip="{pos:'right', cls:'tooltip uk-text-center uk-contrast'}"
365
                            [title]="publicationInfo.publishedIn.get(key)['accessMode']">
366
                            <div *ngIf="i<5 || showAllPublishedIn" class="{{publicationInfo.publishedIn.get(key)['bestAccessMode']}}">
367
                                <span class="uk-icon-external-link custom-icon">
368
                                    <div *ngIf="publicationInfo.publishedIn.get(key)['url'].length > 1">
369
                                        {{key}}
370
                                        <span *ngFor="let url of publicationInfo.publishedIn.get(key)['url']; let i=index">
371
                                            <a  href="{{url}}" target="_blank">
372
                                                [{{i+1}}]
373
                                            </a>
374
                                        </span>
375
                                    </div>
376
                                    <a *ngIf="publicationInfo.publishedIn.get(key)['url'].length == 1"
377
                                        href="{{publicationInfo.publishedIn.get(key)['url']}}"
378
                                        target="_blank">
379
                                        {{key}}
380
                                    </a>
381
                                </span>
382
                            </div>
383
                        </dd>
384
                        <dd *ngIf="showAllPublishedIn" class="uk-text-right">
385
                            <a class="uk-text-muted" (click)="showAllPublishedIn = !showAllPublishedIn;">
386
                                View less
387
                            </a>
388
                        </dd>
389
                        <dd *ngIf="!showAllPublishedIn && publicationInfo.publishedIn.size > 5">...</dd>
390
                        <dd *ngIf="!showAllPublishedIn && publicationInfo.publishedIn.length > 5" class="uk-text-right">
391
                            <a class="uk-text-muted" (click)="showAllPublishedIn = !showAllPublishedIn;">
392
                                View more
393
                            </a>
394
                        </dd>
395
                    </dl>
396
                </li>
397

    
398
                <!--li *ngIf="publicationInfo.fundedByProjects != undefined && publicationInfo.fundedByProjects.length > 0"-->
399
                <li>
400
                    <dl class="uk-description-list-line">
401
                        <dt class="title">Funded By</dt>
402
                        <dd class="line"
403
                            *ngFor="let item of publicationInfo.fundedByProjects let i=index">
404
                            <div *ngIf="i<5 || showAllFundedBy">
405
                                <span   data-uk-tooltip="{pos:'right', cls:'tooltip uk-text-center uk-contrast'}"
406
                                        title="{{buildTooltip(item)}}">
407

    
408
                                    <!--a *ngIf="!item['inline']" href="{{item['url']}}"-->
409
                                    <a *ngIf="!item['inline'] && item.id"
410
                                        [queryParams]="{projectId: item.id}" routerLinkActive="router-link-active" routerLink="/search/project">
411
                                        <span *ngIf="item['funderShortname'] || item['funderName']">{{item['funderShortname']?item['funderShortname']:item['funderName']}}</span>
412
                                        <span *ngIf="!item['funderShortname'] && !item['funderName']">[no funder available]</span>
413
                                        <span *ngIf="item['acronym'] || item['title']">| {{ item['acronym']?item['acronym']:item['title']}}</span>
414
                                    </a>
415

    
416
                                    <!--a *ngIf="item['inline']" href="{{item['url']}}"-->
417
                                    <a *ngIf="item['inline'] && item.id"
418
                                        [queryParams]="{projectId: item.id}" routerLinkActive="router-link-active" routerLink="/search/project">
419
                                        <mark>
420
                                            <span *ngIf="item['funderShortname'] || item['funderName']">{{item['funderShortname']?item['funderShortname']:item['funderName']}}</span>
421
                                            <span *ngIf="!item['funderShortname'] && !item['funderName']">[no funder available]</span>
422
                                            <span *ngIf="item['acronym'] || item['title']">| {{ item['acronym']?item['acronym']:item['title']}}</span>
423
                                        </mark>
424
                                    </a>
425

    
426
                                    <span class="clickable" *ngIf="!item['inline'] && !item.id">
427
                                        <span *ngIf="item['funderShortname'] || item['funderName']">{{item['funderShortname']?item['funderShortname']:item['funderName']}}</span>
428
                                        <span *ngIf="!item['funderShortname'] && !item['funderName']">[no funder available]</span>
429
                                        <span *ngIf="item['acronym'] || item['title']">| {{ item['acronym']?item['acronym']:item['title']}}</span>
430
                                    </span>
431

    
432
                                    <span class="clickable" *ngIf="item['inline'] && !item.id">
433
                                        <mark>
434
                                            <span *ngIf="item['funderShortname'] || item['funderName']">{{item['funderShortname']?item['funderShortname']:item['funderName']}}</span>
435
                                            <span *ngIf="!item['funderShortname'] && !item['funderName']">[no funder available]</span>
436
                                            <span *ngIf="item['acronym'] || item['title']">| {{ item['acronym']?item['acronym']:item['title']}}</span>
437
                                        </mark>
438
                                    </span>
439

    
440
                                    <!--i class="uk-icon-info-circle"
441
                                        data-uk-modal="{target:'#my-id'}"-->
442
                                    <i class="uk-icon-info-circle">
443
                                    </i>
444
                                    <!--div id="my-id" class="uk-modal">
445
                                        <div class="uk-modal-dialog uk-modal-dialog-lightbox uk-text-center">
446
                                            <a href="" class="uk-modal-close uk-close uk-close-alt"></a>
447
                                            <div>
448
                                                <h4>{{item['title']}}</h4>
449
                                                Project Code: {{item['code']}}
450
                                                <div>
451
                                                    Funder: {{item['funderName']}} ({{item['funderShortname']}})
452
                                                </div>
453
                                                <div>
454
                                                    Funding: {{item['funding']}}
455
                                                </div>
456
                                            </div>
457
                                        </div>
458
                                    </div-->
459
                                </span>
460
                            </div>
461
                        </dd>
462
                        <dd *ngIf="showAllFundedBy" class="uk-text-right">
463
                            <a class="uk-text-muted" (click)="showAllFundedBy = !showAllFundedBy;">
464
                                View less
465
                            </a>
466
                        </dd>
467
                        <dd *ngIf="!showAllFundedBy && publicationInfo.fundedByProjects != undefined && publicationInfo.fundedByProjects.length > 5">...</dd>
468
                        <dd *ngIf="!showAllFundedBy && publicationInfo.fundedByProjects != undefined && publicationInfo.fundedByProjects.length > 5" class="uk-text-right">
469
                            <a class="uk-text-muted" (click)="showAllFundedBy = !showAllFundedBy;">
470
                                View more
471
                            </a>
472
                        </dd>
473
                        <!--dd><a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','project'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > <i class="uk-icon-link"></i> Add links to projects</a></dd-->
474
                    </dl>
475
                </li>
476

    
477
                <li>
478
                    <dl class="uk-description-list-line"  >
479
                        <dt class="title">Related to</dt>
480
                        <dd class="line" *ngFor="let item of publicationInfo.contexts">
481
                          <span *ngIf = "!item['inline']" >
482
                            <span>{{item['labelContext']}}</span>
483
                            <span *ngIf="item['labelCategory'] != null">-> {{item['labelCategory']}}</span>
484
                            <span *ngIf="item['labelConcept'] != null">: {{item['labelConcept']}}</span>
485
                          </span>
486
                          <mark *ngIf = "item['inline']" >
487
                            <span>{{item['labelContext']}}</span>
488
                            <span *ngIf="item['labelCategory'] != null">-> {{item['labelCategory']}}</span>
489
                            <span *ngIf="item['labelConcept'] != null">: {{item['labelConcept']}}</span>
490
                          </mark>
491
                        </dd>
492
                        <!--dd><a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','context'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > <i class="uk-icon-link"></i> Add links to contexts</a></dd-->
493
                    </dl>
494

    
495
                </li>
496
                <li><citeThis [result]="publicationInfo" [id]="articleId"></citeThis></li>
497
                <li *ngIf="publicationInfo.collectedFrom != undefined && publicationInfo.collectedFrom.length > 0">
498
                    <dl class="uk-description-list-line">
499
                        <dt>Collected from</dt>
500
                        <dd  *ngFor="let item of publicationInfo.collectedFrom let i=index">
501
                            <!--a *ngIf="i<5 || showAllCollectedFrom" href="{{item['url']}}"-->
502
                            <a *ngIf="i<5 || showAllCollectedFrom"
503
                                [queryParams]="{datasourceId: item.id}" routerLinkActive="router-link-active" routerLink="/search/dataprovider">
504
                                    {{item['name']}}
505
                            </a>
506
                        </dd>
507
                        <dd *ngIf="showAllCollectedFrom" class="uk-text-right">
508
                            <a class="uk-text-muted" (click)="showAllCollectedFrom = !showAllCollectedFrom;">
509
                                View less
510
                            </a>
511
                        </dd>
512
                        <dd *ngIf="!showAllCollectedFrom && publicationInfo.collectedFrom.length > 5">...</dd>
513
                        <dd *ngIf="!showAllCollectedFrom && publicationInfo.collectedFrom.length > 5" class="uk-text-right">
514
                            <a class="uk-text-muted" (click)="showAllCollectedFrom = !showAllCollectedFrom;">
515
                                View more
516
                            </a>
517
                        </dd>
518
                    </dl>
519
                </li>
520

    
521
                <li>
522
                    <dl class="uk-description-list-line">
523
                        <dt>Page Views: {{pageViews}}</dt>
524
                    </dl>
525
                </li>
526
            </ul>
527
        </div>
528
    </div>
529
</div>
530

    
531

    
532
    <!--script>
533
    $("#tabs").on('change.uk.tab', function(event, area, previous){
534
          console.info("Switcher switched to ", area);
535
    });
536
</script-->
(2-2/5)