Revision 59399
Added by Andreas Mantas over 3 years ago
content-notifications-of-subscription.component.html | ||
---|---|---|
53 | 53 |
<div *ngFor="let event of eventsPage.values; let item_i = index" class="md-card md-card-hover eventCard"> |
54 | 54 |
<div class="md-card-content large-padding"> |
55 | 55 |
|
56 |
<div *ngIf="event.publication.originalId" class="uk-text-meta">ID: {{event.publication.originalId}}</div>
|
|
56 |
<div *ngIf="event.result.originalId" class="uk-text-meta">ID: {{event.result.originalId}}</div>
|
|
57 | 57 |
|
58 |
<div *ngIf="event.publication.titles && event.publication.titles.length>0">
|
|
58 |
<div *ngIf="event.result.titles && event.result.titles.length>0">
|
|
59 | 59 |
<div class="repositoryCardHeader uk-margin-bottom uk-margin-small-top"> |
60 |
<h4>{{ event.publication.titles[0] }}</h4>
|
|
60 |
<h4>{{ event.result.titles[0] }}</h4>
|
|
61 | 61 |
</div> |
62 | 62 |
</div> |
63 | 63 |
|
... | ... | |
155 | 155 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
156 | 156 |
<div *ngFor="let subj of event.highlight.subjects; let s_index = index" class="uk-margin-small-bottom"> |
157 | 157 |
<span class="highlightIndex">{{(s_index + 1)}}. </span> |
158 |
<span>{{ subj }}</span> |
|
158 |
<span>{{ subj.value }}</span>
|
|
159 | 159 |
</div> |
160 | 160 |
</div> |
161 | 161 |
|
... | ... | |
178 | 178 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
179 | 179 |
<div *ngFor="let pub of event.highlight.publications; let p_index = index" class="uk-margin-small-bottom"> |
180 | 180 |
<span class="highlightIndex">{{(p_index + 1)}}. </span> |
181 |
<span>{{ pub.titles[0] }} (ID: {{pub.originalId}})</span>
|
|
181 |
<span>{{ pub.title }} (ID: {{pub.originalId}})</span> |
|
182 | 182 |
</div> |
183 | 183 |
</div> |
184 | 184 |
|
... | ... | |
201 | 201 |
<div class="uk-margin-top uk-margin-medium-bottom small-content"> |
202 | 202 |
<div *ngFor="let dataset of event.highlight.datasets; let d_index = index" class="uk-margin-small-bottom"> |
203 | 203 |
<span class="highlightIndex">{{(d_index + 1)}}. </span> |
204 |
<span>{{ dataset.titles[0] }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span>
|
|
204 |
<span>{{ dataset.title }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span> |
|
205 | 205 |
</div> |
206 | 206 |
</div> |
207 | 207 |
|
... | ... | |
270 | 270 |
<hr> |
271 | 271 |
|
272 | 272 |
<!--AUTHORS--> |
273 |
<div *ngIf="event.publication.creators && event.publication.creators.length>0" class="uk-margin-small-bottom">
|
|
273 |
<div *ngIf="event.result.creators && event.result.creators.length>0" class="uk-margin-small-bottom">
|
|
274 | 274 |
<span class="mute-title">Author(s): </span> |
275 |
<span *ngFor="let auth of event.publication.creators; let au_index = index" class="small-content">
|
|
275 |
<span *ngFor="let auth of event.result.creators; let au_index = index" class="small-content">
|
|
276 | 276 |
<span *ngIf="au_index>0"> | </span> |
277 |
<span>{{ auth }}</span> |
|
277 |
<span>{{ auth.fullname }}</span>
|
|
278 | 278 |
</span> |
279 | 279 |
</div> |
280 | 280 |
|
281 | 281 |
<!--PIDs--> |
282 |
<div *ngIf="event.publication.pids && event.publication.pids.length>0" class="uk-margin-small-bottom">
|
|
282 |
<div *ngIf="event.result.pids && event.result.pids.length>0" class="uk-margin-small-bottom">
|
|
283 | 283 |
<span class="mute-title">PID(s): </span> |
284 |
<span *ngFor="let pid of event.publication.pids; let p_index = index" class="small-content">
|
|
284 |
<span *ngFor="let pid of event.result.pids; let p_index = index" class="small-content">
|
|
285 | 285 |
<br *ngIf="p_index > 0"> |
286 | 286 |
<span>{{ pid.value }} <b> ({{ pid.type }}) </b></span> |
287 | 287 |
</span> |
288 | 288 |
</div> |
289 | 289 |
|
290 | 290 |
<!--Abstracts--> |
291 |
<div *ngIf="event.publication.abstracts && event.publication.abstracts.length>0" class="uk-margin-small-bottom">
|
|
291 |
<div *ngIf="event.result.abstracts && event.result.abstracts.length>0" class="uk-margin-small-bottom">
|
|
292 | 292 |
<span class="mute-title">Abstract(s): </span> |
293 |
<span *ngFor="let abs of event.publication.abstracts; let a_index = index" class="small-content">
|
|
293 |
<span *ngFor="let abs of event.result.abstracts; let a_index = index" class="small-content">
|
|
294 | 294 |
<br *ngIf="a_index > 0"> |
295 | 295 |
<span> |
296 | 296 |
<read-more-text [text]="abs" [maxHeight]="83"></read-more-text> |
... | ... | |
299 | 299 |
</div> |
300 | 300 |
|
301 | 301 |
<!--Projects/Relations--> |
302 |
<div *ngIf="event.publication.projects && event.publication.projects.length>0" class="uk-margin-small-bottom">
|
|
302 |
<div *ngIf="event.result.projects && event.result.projects.length>0" class="uk-margin-small-bottom">
|
|
303 | 303 |
<span class="mute-title">Project(s)/Relation(s): </span> |
304 |
<span *ngFor="let proj of event.publication.projects; let p_index = index" class="small-content">
|
|
304 |
<span *ngFor="let proj of event.result.projects; let p_index = index" class="small-content">
|
|
305 | 305 |
<br *ngIf="p_index > 0"> |
306 | 306 |
<span *ngIf="proj.acronym && proj.acronym !==''">{{ proj.acronym }}</span> |
307 | 307 |
<span *ngIf="!proj.acronym || proj.acronym ===''">{{ proj.title }}</span> |
... | ... | |
316 | 316 |
</div> |
317 | 317 |
|
318 | 318 |
<!--Subjects--> |
319 |
<div *ngIf="event.publication.subjects && event.publication.subjects.length>0" class="uk-margin-small-bottom">
|
|
319 |
<div *ngIf="event.result.subjects && event.result.subjects.length>0" class="uk-margin-small-bottom">
|
|
320 | 320 |
<span class="mute-title">Subject(s): </span> |
321 |
<span *ngFor="let subj of event.publication.subjects; let s_index = index" class="small-content">
|
|
321 |
<span *ngFor="let subj of event.result.subjects; let s_index = index" class="small-content">
|
|
322 | 322 |
<span *ngIf="s_index>0"> | </span> |
323 |
<span>{{ subj }}</span> |
|
323 |
<span>{{ subj.value }}</span>
|
|
324 | 324 |
</span> |
325 | 325 |
</div> |
326 | 326 |
|
327 | 327 |
<!--Publications--> |
328 |
<div *ngIf="event.publication.publications && event.publication.publications.length>0" class="uk-margin-small-bottom">
|
|
328 |
<div *ngIf="event.result.publications && event.result.publications.length>0" class="uk-margin-small-bottom">
|
|
329 | 329 |
<span *ngIf="this.topic.includes('PUBLICATION')" class="mute-title">{{this.lastTopicEntry}} Publication(s): </span> |
330 | 330 |
<span *ngIf="!this.topic.includes('PUBLICATION')" class="mute-title">Publication(s): </span> |
331 |
<span *ngFor="let pub of event.publication.publications; let p_index = index" class="small-content">
|
|
331 |
<span *ngFor="let pub of event.result.publications; let p_index = index" class="small-content">
|
|
332 | 332 |
<br *ngIf="p_index > 0"> |
333 |
<span>{{ pub.titles[0] }} (ID: {{pub.originalId}})</span>
|
|
333 |
<span>{{ pub.title }} (ID: {{pub.originalId}})</span> |
|
334 | 334 |
</span> |
335 | 335 |
</div> |
336 | 336 |
|
337 | 337 |
<!--Datasets--> |
338 |
<div *ngIf="event.publication.datasets && event.publication.datasets.length>0" class="uk-margin-small-bottom">
|
|
338 |
<div *ngIf="event.result.datasets && event.result.datasets.length>0" class="uk-margin-small-bottom">
|
|
339 | 339 |
<span *ngIf="this.topic.includes('DATASET')" class="mute-title">{{this.lastTopicEntry}} Dataset(s): </span> |
340 | 340 |
<span *ngIf="!this.topic.includes('DATASET')" class="mute-title">Dataset(s): </span> |
341 |
<span *ngFor="let dataset of event.publication.datasets; let d_index = index" class="small-content">
|
|
341 |
<span *ngFor="let dataset of event.result.datasets; let d_index = index" class="small-content">
|
|
342 | 342 |
<br *ngIf="d_index > 0"> |
343 |
<span>{{ dataset.titles[0] }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span>
|
|
343 |
<span>{{ dataset.title }} <span *ngIf="dataset.pids && dataset.pids.length>0">({{dataset.pids[0].type}}: {{dataset.pids[0].value}})</span></span> |
|
344 | 344 |
</span> |
345 | 345 |
</div> |
346 | 346 |
|
347 | 347 |
<!--Software--> |
348 |
<div *ngIf="event.publication.softwares && event.publication.softwares.length>0" class="uk-margin-small-bottom">
|
|
348 |
<div *ngIf="event.result.softwares && event.result.softwares.length>0" class="uk-margin-small-bottom">
|
|
349 | 349 |
<span *ngIf="this.topic.includes('SOFTWARE')" class="mute-title">{{this.lastTopicEntry}} Software(s): </span> |
350 | 350 |
<span *ngIf="!this.topic.includes('SOFTWARE')" class="mute-title">Software(s): </span> |
351 |
<span *ngFor="let software of event.publication.softwares; let s_index = index" class="small-content">
|
|
351 |
<span *ngFor="let software of event.result.softwares; let s_index = index" class="small-content">
|
|
352 | 352 |
<br *ngIf="s_index > 0"> |
353 | 353 |
<span>{{ software.name }}</span> |
354 | 354 |
<span *ngIf="software.description"> <br> {{ software.description }}</span> |
... | ... | |
358 | 358 |
</div> |
359 | 359 |
|
360 | 360 |
<!--Publication Date--> |
361 |
<div *ngIf="event.publication.publicationdate && event.publication.publicationdate.length>0" class="uk-margin-small-bottom">
|
|
361 |
<div *ngIf="event.result.publicationdate && event.result.publicationdate.length>0" class="uk-margin-small-bottom">
|
|
362 | 362 |
<span class="mute-title">Publication date(s): </span> |
363 | 363 |
<span class="small-content"> |
364 |
{{ event.publication.publicationdate }}
|
|
364 |
{{ event.result.publicationdate }}
|
|
365 | 365 |
</span> |
366 | 366 |
</div> |
367 | 367 |
|
368 | 368 |
<!--Rights--> |
369 |
<div *ngIf="event.publication.instances && event.publication.instances.length>0" class="uk-margin-small-bottom">
|
|
369 |
<div *ngIf="event.result.instances && event.result.instances.length>0" class="uk-margin-small-bottom">
|
|
370 | 370 |
<span class="mute-title">Rights: </span> |
371 |
<span *ngFor="let l of event.publication.instances; let l_index = index" class="small-content">
|
|
371 |
<span *ngFor="let l of event.result.instances; let l_index = index" class="small-content">
|
|
372 | 372 |
<br *ngIf="l_index > 0"> |
373 | 373 |
<span> |
374 | 374 |
{{ 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