1
|
<div>
|
2
|
<div class="container publication">
|
3
|
<div class="container-header" >
|
4
|
<div *ngIf="publicationInfo != null">
|
5
|
<showTitle [title]="publicationInfo.title"></showTitle>
|
6
|
</div>
|
7
|
<div *ngIf="warningMessage.length > 0" class="alert alert-warning" role="alert">{{warningMessage}}</div>
|
8
|
<div *ngIf="errorMessage.length > 0" class="alert alert-danger" role="alert">{{errorMessage}}</div>
|
9
|
</div>
|
10
|
|
11
|
<div class="row row-offcanvas row-offcanvas-right" >
|
12
|
|
13
|
<div class="col-xs-6 col-sm-9 sidebar-offcanvas" *ngIf="publicationInfo != null">
|
14
|
<div>
|
15
|
<showAuthors [authors]="publicationInfo.authors"></showAuthors>
|
16
|
<span *ngIf="publicationInfo.date != ''">({{publicationInfo.date}})</span>
|
17
|
</div>
|
18
|
|
19
|
<dl class="dl-horizontal">
|
20
|
<dt *ngIf="publicationInfo.publisher != undefined && publicationInfo.publisher != ''">Publisher: </dt>
|
21
|
<dd *ngIf="publicationInfo.publisher != undefined && publicationInfo.publisher != ''">{{publicationInfo.publisher}}</dd>
|
22
|
<dt *ngIf="publicationInfo.journal != undefined && publicationInfo.journal['journal'] != ''">Journal: </dt>
|
23
|
<dd *ngIf="publicationInfo.journal != undefined && publicationInfo.journal != ''">
|
24
|
{{publicationInfo.journal['journal']}}
|
25
|
<span *ngIf="publicationInfo.journal['issn'] != '' || publicationInfo.journal['lissn'] != ''">
|
26
|
(
|
27
|
</span>
|
28
|
<span *ngIf="publicationInfo.journal['issn'] != ''">
|
29
|
issn: {{publicationInfo.journal['issn']}}
|
30
|
</span>
|
31
|
<span *ngIf="publicationInfo.journal['lissn'] != ''">
|
32
|
lissn: {{publicationInfo.journal['lissn']}}
|
33
|
</span>
|
34
|
<span *ngIf="publicationInfo.journal['issn'] != '' || publicationInfo.journal['lissn'] != ''">
|
35
|
)
|
36
|
</span>
|
37
|
</dd>
|
38
|
<dt *ngIf="publicationInfo.languages != undefined && publicationInfo.languages != 'Undetermined' && publicationInfo.languages != ''"> Languages: </dt>
|
39
|
<dd *ngIf="publicationInfo.languages != undefined && publicationInfo.languages != 'Undetermined' && publicationInfo.languages != ''">{{publicationInfo.languages}}</dd>
|
40
|
<dt *ngIf="publicationInfo.types != undefined && publicationInfo.types.length > 0"> Types: </dt>
|
41
|
<dd *ngIf="publicationInfo.types != undefined && publicationInfo.types.length > 0">{{publicationInfo.types}}</dd>
|
42
|
<dt *ngIf="publicationInfo.embargoEndDate != undefined && publicationInfo.embargoEndDate != ''">Embargo end date: </dt>
|
43
|
<dd *ngIf="publicationInfo.embargoEndDate != undefined && publicationInfo.embargoEndDate != ''">{{publicationInfo.embargoEndDate}}</dd>
|
44
|
|
45
|
<showIdentifiers [identifiers]="publicationInfo.identifiers"></showIdentifiers>
|
46
|
<showSubjects [subjects]="publicationInfo.subjects"
|
47
|
[otherSubjects]="publicationInfo.otherSubjects"
|
48
|
[classifiedSubjects]="publicationInfo.classifiedSubjects">
|
49
|
</showSubjects>
|
50
|
</dl>
|
51
|
|
52
|
<blockquote *ngIf="publicationInfo.description != ''">
|
53
|
<div class="text-justify" [innerHTML]="publicationInfo.description"></div>
|
54
|
</blockquote>
|
55
|
<div class="text-right">
|
56
|
<button (click)=" toggleClaimResult()" class = "btn btn-primary btn-xs" >Add Research Results</button>
|
57
|
</div>
|
58
|
<inline-claim-result inlineType ="publication" [inlineEntity]="result" (datasetAdded)="resultsAdded($event,false)" (publicationAdded)="resultsAdded($event,true)" ></inline-claim-result>
|
59
|
|
60
|
<ul class="nav nav-tabs">
|
61
|
<li class="active">
|
62
|
<a data-toggle="tab" href="#citationsTab">
|
63
|
References
|
64
|
<span *ngIf="publicationInfo.references == undefined" class="badge">0</span>
|
65
|
<span *ngIf="publicationInfo.references != undefined" class="badge">
|
66
|
{{publicationInfo.references.length}}
|
67
|
</span>
|
68
|
</a>
|
69
|
</li>
|
70
|
<li role="presentation">
|
71
|
<a data-toggle="tab" href="#relatedTab">
|
72
|
Related Research Results
|
73
|
<span *ngIf="publicationInfo.relatedResearchResults == undefined" class="badge">0</span>
|
74
|
<span *ngIf="publicationInfo.relatedResearchResults != undefined" class="badge">
|
75
|
{{publicationInfo.relatedResearchResults.length}}
|
76
|
</span>
|
77
|
</a>
|
78
|
</li>
|
79
|
<li role="presentation">
|
80
|
<a data-toggle="tab" href="#similarTab">
|
81
|
Similar Research Results
|
82
|
<span *ngIf="publicationInfo.similarResearchResults == undefined" class="badge">0</span>
|
83
|
<span *ngIf="publicationInfo.similarResearchResults != undefined" class="badge">
|
84
|
{{publicationInfo.similarResearchResults.length}}
|
85
|
</span>
|
86
|
</a>
|
87
|
</li>
|
88
|
<li role="presentation" *ngIf="publicationInfo.bioentities != undefined">
|
89
|
<a data-toggle="tab" href="#bioentitiesTab">
|
90
|
Bioentities
|
91
|
<span class="badge">{{bioentitiesNum}}</span>
|
92
|
</a>
|
93
|
</li>
|
94
|
<li role="presentation" *ngIf="publicationInfo.software != undefined">
|
95
|
<a data-toggle="tab" href="#softwareTab">
|
96
|
Software
|
97
|
<span class="badge">{{publicationInfo.software.length}}</span>
|
98
|
</a>
|
99
|
</li>
|
100
|
</ul>
|
101
|
|
102
|
<div class="tab-content">
|
103
|
<div id="citationsTab" class="tab-pane fade in active panel-body">
|
104
|
|
105
|
<div *ngIf="publicationInfo.references == undefined" class = "alert alert-info " >
|
106
|
There are no references
|
107
|
</div>
|
108
|
|
109
|
<div *ngIf="publicationInfo.references != undefined">
|
110
|
<tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging>
|
111
|
|
112
|
<p>
|
113
|
The results below are discovered through our pilot algorithms.
|
114
|
<a href="mailto:">Let us know how we are doing!</a>
|
115
|
</p>
|
116
|
|
117
|
<div *ngFor="let item of publicationInfo.references.slice(0,10)">
|
118
|
<p *ngIf=" item != undefined && item['url'] != undefined">
|
119
|
<a href="{{item['url']}}" target="_blank">
|
120
|
{{item['name']}}
|
121
|
</a>
|
122
|
</p>
|
123
|
<p *ngIf="item['url'] == undefined">
|
124
|
{{item['name']}}
|
125
|
</p>
|
126
|
</div>
|
127
|
|
128
|
<div *ngIf="showAllReferences">
|
129
|
<div *ngFor="let item of publicationInfo.references.slice(10)">
|
130
|
<p *ngIf=" item != undefined && item['url'] != undefined">
|
131
|
<a href="{{item['url']}}" target="_blank">
|
132
|
{{item['name']}}
|
133
|
</a>
|
134
|
</p>
|
135
|
<p *ngIf="item['url'] == undefined">
|
136
|
{{item['name']}}
|
137
|
</p>
|
138
|
</div>
|
139
|
</div>
|
140
|
|
141
|
<tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging>
|
142
|
|
143
|
</div>
|
144
|
</div>
|
145
|
|
146
|
<div id="relatedTab" class="tab-pane fade panel-body">
|
147
|
<div *ngIf="publicationInfo.relatedResearchResults == undefined" class = "alert alert-info ">
|
148
|
There are no related research results
|
149
|
</div>
|
150
|
<div *ngIf="publicationInfo.relatedResearchResults != undefined">
|
151
|
<p>
|
152
|
The results below are discovered through our pilot algorithms.
|
153
|
<a href="mailto:">Let us know how we are doing!</a>
|
154
|
</p>
|
155
|
|
156
|
<tabTable [info]="publicationInfo.relatedResearchResults"></tabTable>
|
157
|
</div>
|
158
|
</div>
|
159
|
|
160
|
|
161
|
<div id="similarTab" class="tab-pane fade panel-body">
|
162
|
<div *ngIf="publicationInfo.similarResearchResults == undefined" class = "alert alert-info ">
|
163
|
There are no similar research results
|
164
|
</div>
|
165
|
<div *ngIf="publicationInfo.similarResearchResults != undefined">
|
166
|
<p>
|
167
|
The results below are discovered through our pilot algorithms.
|
168
|
<a href="mailto:">Let us know how we are doing!</a>
|
169
|
</p>
|
170
|
|
171
|
<tabTable [info]="publicationInfo.similarResearchResults"></tabTable>
|
172
|
</div>
|
173
|
</div>
|
174
|
<div *ngIf="publicationInfo.bioentities != undefined" id="bioentitiesTab" class="tab-pane fade panel-body">
|
175
|
<p>
|
176
|
The results below are discovered through our pilot algorithms.
|
177
|
<a href="mailto:">Let us know how we are doing!</a>
|
178
|
</p>
|
179
|
<table id="bioentitiesTable" class="table table-striped">
|
180
|
<thead>
|
181
|
<tr>
|
182
|
<th class="text-center">Bio Entity</th>
|
183
|
<th class="text-center">Site Name</th>
|
184
|
</tr>
|
185
|
</thead>
|
186
|
<tbody *ngFor="let key of publicationInfo.bioentities.keys()">
|
187
|
<tr *ngFor="let keyIn of publicationInfo.bioentities.get(key).keys()">
|
188
|
<td class="text-center" *ngIf="keyIn != undefined">
|
189
|
<a href="{{publicationInfo.bioentities.get(key).get(keyIn)}}" target="_blank">
|
190
|
{{keyIn}}
|
191
|
</a>
|
192
|
</td>
|
193
|
<td class="text-center">
|
194
|
{{key}}
|
195
|
</td>
|
196
|
</tr>
|
197
|
</tbody>
|
198
|
</table>
|
199
|
</div>
|
200
|
<div *ngIf="publicationInfo.software != undefined" id="softwareTab" class="tab-pane fade panel-body">
|
201
|
<p>
|
202
|
The results below are discovered through our pilot algorithms.
|
203
|
<a href="mailto:">Let us know how we are doing!</a>
|
204
|
</p>
|
205
|
<table id="softwareTable" class="table table-striped">
|
206
|
<thead>
|
207
|
<tr>
|
208
|
<th class="text-center">Site Name</th>
|
209
|
</tr>
|
210
|
</thead>
|
211
|
<tbody>
|
212
|
<tr *ngFor="let item of publicationInfo.software">
|
213
|
<td class="text-center">
|
214
|
<a href="{{item.url}}" target="_blank">
|
215
|
{{item.name}}
|
216
|
</a>
|
217
|
</td>
|
218
|
</tr>
|
219
|
</tbody>
|
220
|
</table>
|
221
|
</div>
|
222
|
</div>
|
223
|
</div>
|
224
|
<div class="col-xs-12 col-sm-3" *ngIf="publicationInfo != null">
|
225
|
|
226
|
<ul class="list-group mainFunctionsBlock">
|
227
|
<li class="list-group-item">
|
228
|
<dl class="functionsSection">
|
229
|
<dt >Share - Bookmark</dt>
|
230
|
<dd>
|
231
|
</dd>
|
232
|
</dl>
|
233
|
</li>
|
234
|
<li class="list-group-item" *ngIf="publicationInfo.collectedFrom != undefined">
|
235
|
<dl class="functionsSection">
|
236
|
<dt>Collected from</dt>
|
237
|
<dd *ngIf="showAllCollectedFrom">
|
238
|
<a class="text-muted" (click)="showAllCollectedFrom = !showAllCollectedFrom;">
|
239
|
View less
|
240
|
</a>
|
241
|
</dd>
|
242
|
<dd *ngFor="let item of publicationInfo.collectedFrom let i=index">
|
243
|
<a *ngIf="i<5 || showAllCollectedFrom" href="{{item['url']}}">
|
244
|
{{item['name']}}
|
245
|
</a>
|
246
|
</dd>
|
247
|
<dd *ngIf="showAllCollectedFrom">
|
248
|
<a class="text-muted" (click)="showAllCollectedFrom = !showAllCollectedFrom;">
|
249
|
View less
|
250
|
</a>
|
251
|
</dd>
|
252
|
<dd *ngIf="!showAllCollectedFrom && publicationInfo.collectedFrom.length > 5">
|
253
|
<a class="text-muted" (click)="showAllCollectedFrom = !showAllCollectedFrom;">
|
254
|
View more
|
255
|
</a>
|
256
|
</dd>
|
257
|
</dl>
|
258
|
</li>
|
259
|
<li class="list-group-item" *ngIf="publicationInfo.downloadFrom != undefined && publicationInfo.downloadFrom.size > 0">
|
260
|
<dl class="functionsSection">
|
261
|
<dt class="title">Download from</dt>
|
262
|
<dd *ngIf="showAllDownloadFrom">
|
263
|
<a class="text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
|
264
|
View less
|
265
|
</a>
|
266
|
</dd>
|
267
|
<dd class="line" *ngFor="let key of publicationInfo.downloadFrom.keys() let i=index">
|
268
|
<div *ngIf="i<5 || showAllDownloadFrom">
|
269
|
<div *ngIf="publicationInfo.downloadFrom.get(key)['url'].length > 1">
|
270
|
{{key}}
|
271
|
<span *ngFor="let url of publicationInfo.downloadFrom.get(key)['url']; let i=index;">
|
272
|
<a href="{{url}}">
|
273
|
[{{i+1}}]
|
274
|
</a>
|
275
|
</span>
|
276
|
</div>
|
277
|
<a *ngIf="publicationInfo.downloadFrom.get(key)['url'].length == 1" href="{{publicationInfo.downloadFrom.get(key)['url']}}">
|
278
|
{{key}}
|
279
|
</a>
|
280
|
</div>
|
281
|
</dd>
|
282
|
<dd *ngIf="showAllDownloadFrom">
|
283
|
<a class="text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
|
284
|
View less
|
285
|
</a>
|
286
|
</dd>
|
287
|
<dd *ngIf="!showAllDownloadFrom && publicationInfo.downloadFrom.length > 5">
|
288
|
<a class="text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
|
289
|
View more
|
290
|
</a>
|
291
|
</dd>
|
292
|
</dl>
|
293
|
</li>
|
294
|
<li class="list-group-item" *ngIf="publicationInfo.publishedIn != undefined && publicationInfo.publishedIn.length > 0">
|
295
|
<dl class="functionsSection">
|
296
|
<dt class="title">Published in</dt>
|
297
|
<dd *ngIf="showAllPublishedIn">
|
298
|
<a class="text-muted" (click)="showAllPublishedIn = !showAllPublishedIn;">
|
299
|
View less
|
300
|
</a>
|
301
|
</dd>
|
302
|
<dd class="line" *ngFor="let key of publicationInfo.publishedIn.keys() let i=index">
|
303
|
<div *ngIf="i<5 || showAllPublishedIn">
|
304
|
<div *ngIf="publicationInfo.publishedIn.get(key)['url'].length > 1">
|
305
|
{{key}}
|
306
|
<span *ngFor="let url of publicationInfo.publishedIn.get(key)['url']; let i=index">
|
307
|
<a href="{{url}}">
|
308
|
[{{i+1}}]
|
309
|
</a>
|
310
|
</span>
|
311
|
</div>
|
312
|
<a *ngIf="publicationInfo.publishedIn.get(key)['url'].length == 1" href="{{publicationInfo.publishedIn.get(key)['url']}}">
|
313
|
{{key}}
|
314
|
</a>
|
315
|
</div>
|
316
|
</dd>
|
317
|
<dd *ngIf="showAllPublishedIn">
|
318
|
<a class="text-muted" (click)="showAllPublishedIn = !showAllPublishedIn;">
|
319
|
View less
|
320
|
</a>
|
321
|
</dd>
|
322
|
<dd *ngIf="!showAllPublishedIn && publicationInfo.publishedIn.length > 5">
|
323
|
<a class="text-muted" (click)="showAllPublishedIn = !showAllPublishedIn;">
|
324
|
View more
|
325
|
</a>
|
326
|
</dd>
|
327
|
</dl>
|
328
|
</li>
|
329
|
|
330
|
<li class="list-group-item">
|
331
|
<dl class="functionsSection" *ngIf="publicationInfo.fundedByProjects != undefined">
|
332
|
<dt class="title">Funded By</dt>
|
333
|
<dd *ngIf="showAllFundedBy">
|
334
|
<a class="text-muted" (click)="showAllFundedBy = !showAllFundedBy;">
|
335
|
View less
|
336
|
</a>
|
337
|
</dd>
|
338
|
<dd
|
339
|
title="{{item['title']}}
|
340
|
| Project Code: {{item['code']}}
|
341
|
| Funder: {{item['funderName']}} ({{item['funderShortname']}})
|
342
|
| Funding: {{item['funding']}}"
|
343
|
class="line" *ngFor="let item of publicationInfo.fundedByProjects let i=index">
|
344
|
<div *ngIf="i<5 || showAllFundedBy">
|
345
|
<a *ngIf="!item['inline']" href="{{item['url']}}">
|
346
|
{{item['funderShortname']?item['funderShortname']:item['funderName']}}
|
347
|
| {{ item['acronym']?item['acronym']:item['title']}}
|
348
|
</a>
|
349
|
|
350
|
<a *ngIf="item['inline']" href="{{item['url']}}">
|
351
|
<mark>
|
352
|
{{item['funderShortname']?item['funderShortname']:item['funderName']}}
|
353
|
| {{ item['acronym']?item['acronym']:item['title']}}
|
354
|
</mark>
|
355
|
</a>
|
356
|
</div>
|
357
|
</dd>
|
358
|
<dd *ngIf="showAllFundedBy">
|
359
|
<a class="text-muted" (click)="showAllFundedBy = !showAllFundedBy;">
|
360
|
View less
|
361
|
</a>
|
362
|
</dd>
|
363
|
<dd *ngIf="!showAllFundedBy && publicationInfo.fundedByProjects.length > 5">
|
364
|
<a class="text-muted" (click)="showAllFundedBy = !showAllFundedBy;">
|
365
|
View more
|
366
|
</a>
|
367
|
</dd>
|
368
|
</dl>
|
369
|
|
370
|
<button (click)="toggleClaimProject()" class = "btn btn-primary btn-xs" >Add Projects</button>
|
371
|
<inline-claim-project *ngIf="result " inlineType ="publication" [inlineEntity]="result" (projectAdded)="projectAdded($event)" ></inline-claim-project>
|
372
|
</li>
|
373
|
<li class="list-group-item">
|
374
|
<dl class="functionsSection" *ngIf="publicationInfo.contexts != undefined">
|
375
|
<dt class="title">Related to </dt>
|
376
|
<dd class="line" *ngFor="let item of publicationInfo.contexts">
|
377
|
<span *ngIf = "!item['inline']" >
|
378
|
<span>{{item['labelContext']}}</span>
|
379
|
<span *ngIf="item['labelCategory'] != null">-> {{item['labelCategory']}}</span>
|
380
|
<span *ngIf="item['labelConcept'] != null">: {{item['labelConcept']}}</span>
|
381
|
</span>
|
382
|
<mark *ngIf = "item['inline']" >
|
383
|
<span>{{item['labelContext']}}</span>
|
384
|
<span *ngIf="item['labelCategory'] != null">-> {{item['labelCategory']}}</span>
|
385
|
<span *ngIf="item['labelConcept'] != null">: {{item['labelConcept']}}</span>
|
386
|
</mark>
|
387
|
</dd>
|
388
|
</dl>
|
389
|
<dl class="functionsSection" *ngIf="publicationInfo.contexts == undefined">
|
390
|
<dt class="title">Related to </dt>
|
391
|
|
392
|
</dl>
|
393
|
<button (click)=" toggleClaimContext()" class = "btn btn-primary btn-xs" >Add Concepts</button>
|
394
|
<inline-claim-context inlineType ="publication" [inlineEntity]="result" (contextAdded)="contextAdded($event)" ></inline-claim-context>
|
395
|
</li>
|
396
|
</ul>
|
397
|
</div>
|
398
|
</div>
|
399
|
</div>
|
400
|
</div>
|