[Explore|Trunk]

Home: 
	add checks for dataset + software interlinked number 
	if no interlinked number show total number


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@57588 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-11-12 12:58:44 +00:00
parent 8bbcaec9bd
commit 83833eaebf
1 changed files with 16 additions and 6 deletions

View File

@ -26,7 +26,7 @@
</div> </div>
</div> </div>
<div class="uk-margin-medium"> <div class="uk-margin-medium">
<div class="uk-container uk-container-large explore-numbers"> <div class="uk-container uk-container-large explore-numbers uk-margin-medium-bottom">
<div class="search_box_bg uk-grid uk-grid-stack" uk-grid=""> <div class="search_box_bg uk-grid uk-grid-stack" uk-grid="">
<div class="uk-width-1-1@m uk-first-column"> <div class="uk-width-1-1@m uk-first-column">
@ -87,12 +87,22 @@
<span class="uk-text-bold">{{publicationsSize.number|number}}{{publicationsSize.size}} <span class="uk-text-bold">{{publicationsSize.number|number}}{{publicationsSize.size}}
publications</span><span> deduplicated</span> publications</span><span> deduplicated</span>
</span> </span>
<span *ngIf="type=='dataset' && showDatasets && datasetsLinkedSize"> <span *ngIf="type=='dataset' && showDatasets && (datasetsLinkedSize ||datasetsSize)">
<span class="uk-text-bold">{{datasetsLinkedSize.number|number}}{{datasetsLinkedSize.size}} <span *ngIf="datasetsLinkedSize" >
datasets</span><span> interlinked with publications</span> <span class="uk-text-bold">{{datasetsLinkedSize.number|number}}{{datasetsLinkedSize.size}}
datasets</span> interlinked with publications</span>
<span *ngIf="datasetsSize"
class="uk-text-bold">{{datasetsSize.number|number}}{{datasetsSize.size}}
research data</span>
</span> </span>
<span *ngIf="type=='software' && showSoftware && softwareSize"> <span *ngIf="type=='software' && showSoftware && (softwareSize ||softwareLinkedSize)">
<span class="uk-text-bold">{{softwareLinkedSize.number|number}}{{softwareLinkedSize.size}} research software</span><span> interlinked with publications</span> <span *ngIf="datasetsLinkedSize">
<span class="uk-text-bold
">{{softwareLinkedSize.number|number}}{{softwareLinkedSize.size}} research
software</span> interlinked with publications</span>
<span *ngIf="softwareSize"
class="uk-text-bold">{{softwareSize.number|number}}{{softwareSize.size}}
research software</span>
</span> </span>
<!-- <span *ngIf="type=='other' && showOrp && otherSize">--> <!-- <span *ngIf="type=='other' && showOrp && otherSize">-->
<!-- <span class="uk-h2">{{otherSize.number|number}}{{otherSize.size}}</span>--> <!-- <span class="uk-h2">{{otherSize.number|number}}{{otherSize.size}}</span>-->