Revision 56936
Added by Konstantina Galouni over 4 years ago
resultLanding.component.html | ||
---|---|---|
16 | 16 |
<div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom"> |
17 | 17 |
<schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record |
18 | 18 |
[URL]="properties.baseLink+linkToLandingPage+id"></schema2jsonld> |
19 |
<showTitle [titleName]="resultLandingInfo.title"></showTitle> |
|
19 |
<showTitle [titleName]="resultLandingInfo.title" [classNames]="(properties.environment != 'production' && resultLandingInfo.deletedByInferenceIds) ? 'uk-margin-remove-bottom' : ''"></showTitle> |
|
20 |
<div *ngIf="properties.environment != 'production' && resultLandingInfo.deletedByInferenceIds" |
|
21 |
class="uk-text-muted uk-text-small uk-margin-bottom" (click)="openDeletedByInference()"> |
|
22 |
The following information is result of merging |
|
23 |
<a>Original sources ({{resultLandingInfo.deletedByInferenceIds.length}})</a> |
|
24 |
</div> |
|
20 | 25 |
<p class="uk-text-large" *ngIf="resultLandingInfo.subtitle"> |
21 | 26 |
<span [innerHTML]="resultLandingInfo.subtitle"></span> |
22 | 27 |
</p> |
... | ... | |
356 | 361 |
</div> |
357 | 362 |
</li> |
358 | 363 |
|
359 |
<li (click)="activeTab='Other Versions'"
|
|
360 |
*ngIf="properties.environment != 'production' && resultLandingInfo.deletedByInferenceIds">
|
|
361 |
<a class="uk-accordion-title" href="#">
|
|
362 |
Other Versions
|
|
363 |
({{resultLandingInfo.deletedByInferenceIds.length | number}})
|
|
364 |
</a>
|
|
365 |
<div *ngIf="activeTab=='Other Versions'" class="uk-accordion-content">
|
|
366 |
<deletedByInference *ngIf="type == 'publication'"
|
|
367 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'publications'"></deletedByInference>
|
|
368 |
<deletedByInference *ngIf="type == 'dataset'"
|
|
369 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'research data'"></deletedByInference>
|
|
370 |
<deletedByInference *ngIf="type == 'software'"
|
|
371 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'software'"></deletedByInference>
|
|
372 |
<deletedByInference *ngIf="type == 'orp'"
|
|
373 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'other research products'"></deletedByInference>
|
|
374 |
</div>
|
|
375 |
</li>
|
|
364 |
<!-- <li (click)="activeTab='Other Versions'"-->
|
|
365 |
<!-- *ngIf="properties.environment != 'production' && resultLandingInfo.deletedByInferenceIds">-->
|
|
366 |
<!-- <a class="uk-accordion-title" href="#">-->
|
|
367 |
<!-- Other Versions-->
|
|
368 |
<!-- ({{resultLandingInfo.deletedByInferenceIds.length | number}})-->
|
|
369 |
<!-- </a>-->
|
|
370 |
<!-- <div *ngIf="activeTab=='Other Versions'" class="uk-accordion-content">-->
|
|
371 |
<!-- <deletedByInference *ngIf="type == 'publication'"-->
|
|
372 |
<!-- [id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'publications'"></deletedByInference>-->
|
|
373 |
<!-- <deletedByInference *ngIf="type == 'dataset'"-->
|
|
374 |
<!-- [id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'research data'"></deletedByInference>-->
|
|
375 |
<!-- <deletedByInference *ngIf="type == 'software'"-->
|
|
376 |
<!-- [id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'software'"></deletedByInference>-->
|
|
377 |
<!-- <deletedByInference *ngIf="type == 'orp'"-->
|
|
378 |
<!-- [id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'other research products'"></deletedByInference>-->
|
|
379 |
<!-- </div>-->
|
|
380 |
<!-- </li>-->
|
|
376 | 381 |
</ul> |
377 | 382 |
|
378 | 383 |
</div> |
... | ... | |
390 | 395 |
fill="none" stroke="#000" |
391 | 396 |
stroke-width="1.1"></path></svg> |
392 | 397 |
</span> |
393 |
Link this {{type.toLowerCase()}} to...
|
|
398 |
Link this <span *ngIf="type != 'orp'">{{title.toLowerCase()}}</span><span *ngIf="type == 'orp'">research product</span> to...
|
|
394 | 399 |
</button> |
395 | 400 |
|
396 | 401 |
<div class=" uk-text-center uk-margin-expand uk-padding-small uk-margin-auto default-dropdown " |
... | ... | |
482 | 487 |
<!-- </li>--> |
483 | 488 |
<li> |
484 | 489 |
<div class=" sideInfoTitle cite-this-button uk-width-1-1" type="button"> |
485 |
Cite this {{type.toLowerCase()}}
|
|
490 |
Cite this <span *ngIf="type != 'orp'">{{title.toLowerCase()}}</span><span *ngIf="type == 'orp'">research product</span>
|
|
486 | 491 |
</div> |
487 | 492 |
<div class=" "> |
488 |
<citeThis [result]="resultLandingInfo" [id]="id" [type]="type.toLowerCase()"></citeThis>
|
|
493 |
<citeThis [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
|
|
489 | 494 |
</div> |
490 | 495 |
</li> |
491 | 496 |
</ul> |
... | ... | |
500 | 505 |
</div> |
501 | 506 |
</div> |
502 | 507 |
|
508 |
<modal-alert #AlertModalDeletedByInference> |
|
509 |
<deletedByInference *ngIf="type == 'publication'" |
|
510 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'publications'"></deletedByInference> |
|
511 |
<deletedByInference *ngIf="type == 'dataset'" |
|
512 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'research data'"></deletedByInference> |
|
513 |
<deletedByInference *ngIf="type == 'software'" |
|
514 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'software'"></deletedByInference> |
|
515 |
<deletedByInference *ngIf="type == 'orp'" |
|
516 |
[id]="id" [ids]="resultLandingInfo.deletedByInferenceIds" [type]="'other research products'"></deletedByInference> |
|
517 |
</modal-alert> |
|
503 | 518 |
|
Also available in: Unified diff
[mergeResultLandingPages | Library]:
resultLanding.component: small bug fixes in names used & 'Other versions' removed from accordion and added as modal which opens with a note under the title.