Revision 59399
Added by Andreas Mantas over 3 years ago
content-events-of-repo-eventslist.component.html | ||
---|---|---|
78 | 78 |
<div *ngFor="let event of eventsPage.values; let item_i = index" class="md-card md-card-hover eventCard"> |
79 | 79 |
<div class="md-card-content large-padding"> |
80 | 80 |
|
81 |
<div *ngIf="event.publication.originalId" class="uk-text-meta">ID: {{event.publication.originalId}}</div>
|
|
81 |
<div *ngIf="event.result.originalId" class="uk-text-meta">ID: {{event.result.originalId}}</div>
|
|
82 | 82 |
|
83 |
<div *ngIf="event.publication.titles && event.publication.titles.length>0">
|
|
83 |
<div *ngIf="event.result.titles && event.result.titles.length>0">
|
|
84 | 84 |
<div class="repositoryCardHeader uk-margin-bottom uk-margin-small-top"> |
85 |
<h4>{{ event.publication.titles[0] }}</h4>
|
|
85 |
<h4>{{ event.result.titles[0] }}</h4>
|
|
86 | 86 |
</div> |
87 | 87 |
</div> |
88 | 88 |
|
... | ... | |
180 | 180 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
181 | 181 |
<div *ngFor="let subj of event.highlight.subjects; let s_index = index" class="uk-margin-small-bottom"> |
182 | 182 |
<span class="highlightIndex">{{(s_index + 1)}}. </span> |
183 |
<span>{{ subj }}</span> |
|
183 |
<span>{{ subj.value }}</span>
|
|
184 | 184 |
</div> |
185 | 185 |
</div> |
186 | 186 |
|
... | ... | |
203 | 203 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
204 | 204 |
<div *ngFor="let pub of event.highlight.publications; let p_index = index" class="uk-margin-small-bottom"> |
205 | 205 |
<span class="highlightIndex">{{(p_index + 1)}}. </span> |
206 |
<span>{{ pub.titles[0] }} (ID: {{pub.originalId}})</span>
|
|
206 |
<span>{{ pub.title }} (ID: {{pub.originalId}})</span> |
|
207 | 207 |
</div> |
208 | 208 |
</div> |
209 | 209 |
|
... | ... | |
226 | 226 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
227 | 227 |
<div *ngFor="let dataset of event.highlight.datasets; let d_index = index" class="uk-margin-small-bottom"> |
228 | 228 |
<span class="highlightIndex">{{(d_index + 1)}}. </span> |
229 |
<span>{{ dataset.titles[0] }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span>
|
|
229 |
<span>{{ dataset.title }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span> |
|
230 | 230 |
</div> |
231 | 231 |
</div> |
232 | 232 |
|
... | ... | |
295 | 295 |
<hr> |
296 | 296 |
|
297 | 297 |
<!--AUTHORS--> |
298 |
<div *ngIf="event.publication.creators && event.publication.creators.length>0" class="uk-margin-small-bottom">
|
|
298 |
<div *ngIf="event.result.creators && event.result.creators.length>0" class="uk-margin-small-bottom">
|
|
299 | 299 |
<span class="mute-title">Author(s): </span> |
300 |
<span *ngFor="let auth of event.publication.creators; let au_index = index" class="small-content">
|
|
300 |
<span *ngFor="let auth of event.result.creators; let au_index = index" class="small-content">
|
|
301 | 301 |
<span *ngIf="au_index>0"> | </span> |
302 |
<span>{{ auth }}</span> |
|
302 |
<span>{{ auth.fullname }}</span>
|
|
303 | 303 |
</span> |
304 | 304 |
</div> |
305 | 305 |
|
306 | 306 |
<!--PIDs--> |
307 |
<div *ngIf="event.publication.pids && event.publication.pids.length>0" class="uk-margin-small-bottom">
|
|
307 |
<div *ngIf="event.result.pids && event.result.pids.length>0" class="uk-margin-small-bottom">
|
|
308 | 308 |
<span class="mute-title">PID(s): </span> |
309 |
<span *ngFor="let pid of event.publication.pids; let p_index = index" class="small-content">
|
|
309 |
<span *ngFor="let pid of event.result.pids; let p_index = index" class="small-content">
|
|
310 | 310 |
<br *ngIf="p_index > 0"> |
311 | 311 |
<span>{{ pid.value }} <b> ({{ pid.type }}) </b></span> |
312 | 312 |
</span> |
313 | 313 |
</div> |
314 | 314 |
|
315 | 315 |
<!--Abstracts--> |
316 |
<div *ngIf="event.publication.abstracts && event.publication.abstracts.length>0" class="uk-margin-small-bottom">
|
|
316 |
<div *ngIf="event.result.abstracts && event.result.abstracts.length>0" class="uk-margin-small-bottom">
|
|
317 | 317 |
<span class="mute-title">Abstract(s): </span> |
318 |
<span *ngFor="let abs of event.publication.abstracts; let a_index = index" class="small-content">
|
|
318 |
<span *ngFor="let abs of event.result.abstracts; let a_index = index" class="small-content">
|
|
319 | 319 |
<br *ngIf="a_index > 0"> |
320 | 320 |
<span> |
321 | 321 |
<read-more-text [text]="abs" [maxHeight]="83"></read-more-text> |
... | ... | |
324 | 324 |
</div> |
325 | 325 |
|
326 | 326 |
<!--Projects/Relations--> |
327 |
<div *ngIf="event.publication.projects && event.publication.projects.length>0" class="uk-margin-small-bottom">
|
|
327 |
<div *ngIf="event.result.projects && event.result.projects.length>0" class="uk-margin-small-bottom">
|
|
328 | 328 |
<span class="mute-title">Project(s)/Relation(s): </span> |
329 |
<span *ngFor="let proj of event.publication.projects; let p_index = index" class="small-content">
|
|
329 |
<span *ngFor="let proj of event.result.projects; let p_index = index" class="small-content">
|
|
330 | 330 |
<br *ngIf="p_index > 0"> |
331 | 331 |
<span *ngIf="proj.acronym && proj.acronym !==''">{{ proj.acronym }}</span> |
332 | 332 |
<span *ngIf="!proj.acronym || proj.acronym ===''">{{ proj.title }}</span> |
... | ... | |
341 | 341 |
</div> |
342 | 342 |
|
343 | 343 |
<!--Subjects--> |
344 |
<div *ngIf="event.publication.subjects && event.publication.subjects.length>0" class="uk-margin-small-bottom">
|
|
344 |
<div *ngIf="event.result.subjects && event.result.subjects.length>0" class="uk-margin-small-bottom">
|
|
345 | 345 |
<span class="mute-title">Subject(s): </span> |
346 |
<span *ngFor="let subj of event.publication.subjects; let s_index = index" class="small-content">
|
|
346 |
<span *ngFor="let subj of event.result.subjects; let s_index = index" class="small-content">
|
|
347 | 347 |
<span *ngIf="s_index>0"> | </span> |
348 |
<span>{{ subj }}</span> |
|
348 |
<span>{{ subj.value }}</span>
|
|
349 | 349 |
</span> |
350 | 350 |
</div> |
351 | 351 |
|
352 | 352 |
<!--Publications--> |
353 |
<div *ngIf="event.publication.publications && event.publication.publications.length>0" class="uk-margin-small-bottom">
|
|
353 |
<div *ngIf="event.result.publications && event.result.publications.length>0" class="uk-margin-small-bottom">
|
|
354 | 354 |
<span *ngIf="this.topic.includes('PUBLICATION')" class="mute-title">{{this.lastTopicEntry}} Publication(s): </span> |
355 | 355 |
<span *ngIf="!this.topic.includes('PUBLICATION')" class="mute-title">Publication(s): </span> |
356 |
<span *ngFor="let pub of event.publication.publications; let p_index = index" class="small-content">
|
|
356 |
<span *ngFor="let pub of event.result.publications; let p_index = index" class="small-content">
|
|
357 | 357 |
<br *ngIf="p_index > 0"> |
358 |
<span>{{ pub.titles[0] }} (ID: {{pub.originalId}})</span>
|
|
358 |
<span>{{ pub.title }} (ID: {{pub.originalId}})</span> |
|
359 | 359 |
</span> |
360 | 360 |
</div> |
361 | 361 |
|
362 | 362 |
<!--Datasets--> |
363 |
<div *ngIf="event.publication.datasets && event.publication.datasets.length>0" class="uk-margin-small-bottom">
|
|
363 |
<div *ngIf="event.result.datasets && event.result.datasets.length>0" class="uk-margin-small-bottom">
|
|
364 | 364 |
<span *ngIf="this.topic.includes('DATASET')" class="mute-title">{{this.lastTopicEntry}} Dataset(s): </span> |
365 | 365 |
<span *ngIf="!this.topic.includes('DATASET')" class="mute-title">Dataset(s): </span> |
366 |
<span *ngFor="let dataset of event.publication.datasets; let d_index = index" class="small-content">
|
|
366 |
<span *ngFor="let dataset of event.result.datasets; let d_index = index" class="small-content">
|
|
367 | 367 |
<br *ngIf="d_index > 0"> |
368 | 368 |
<span>{{ dataset.titles[0] }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span> |
369 | 369 |
</span> |
370 | 370 |
</div> |
371 | 371 |
|
372 | 372 |
<!--Software--> |
373 |
<div *ngIf="event.publication.softwares && event.publication.softwares.length>0" class="uk-margin-small-bottom">
|
|
373 |
<div *ngIf="event.result.softwares && event.result.softwares.length>0" class="uk-margin-small-bottom">
|
|
374 | 374 |
<span *ngIf="this.topic.includes('SOFTWARE')" class="mute-title">{{this.lastTopicEntry}} Software(s): </span> |
375 | 375 |
<span *ngIf="!this.topic.includes('SOFTWARE')" class="mute-title">Software(s): </span> |
376 |
<span *ngFor="let software of event.publication.softwares; let s_index = index" class="small-content">
|
|
376 |
<span *ngFor="let software of event.result.softwares; let s_index = index" class="small-content">
|
|
377 | 377 |
<br *ngIf="s_index > 0"> |
378 | 378 |
<span>{{ software.name }}</span> |
379 | 379 |
<span *ngIf="software.description"> <br> {{ software.description }}</span> |
... | ... | |
383 | 383 |
</div> |
384 | 384 |
|
385 | 385 |
<!--Publication Date--> |
386 |
<div *ngIf="event.publication.publicationdate && event.publication.publicationdate.length>0" class="uk-margin-small-bottom">
|
|
386 |
<div *ngIf="event.result.publicationdate && event.result.publicationdate.length>0" class="uk-margin-small-bottom">
|
|
387 | 387 |
<span class="mute-title">Publication date(s): </span> |
388 | 388 |
<span class="small-content"> |
389 |
{{ event.publication.publicationdate }}
|
|
389 |
{{ event.result.publicationdate }}
|
|
390 | 390 |
</span> |
391 | 391 |
</div> |
392 | 392 |
|
393 | 393 |
<!--Rights--> |
394 |
<div *ngIf="event.publication.instances && event.publication.instances.length>0" class="uk-margin-small-bottom">
|
|
394 |
<div *ngIf="event.result.instances && event.result.instances.length>0" class="uk-margin-small-bottom">
|
|
395 | 395 |
<span class="mute-title">Rights: </span> |
396 |
<span *ngFor="let l of event.publication.instances; let l_index = index" class="small-content">
|
|
396 |
<span *ngFor="let l of event.result.instances; let l_index = index" class="small-content">
|
|
397 | 397 |
<br *ngIf="l_index > 0"> |
398 | 398 |
<span> |
399 | 399 |
{{ l.license }} <b>{{ l.hostedby }}</b> - <a class="" href="{{ l.url }}" target="_blank">{{ l.url }}</a> |
Also available in: Unified diff
changes on data model for Broker