586 lines
40 KiB
HTML
586 lines
40 KiB
HTML
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
|
|
<div uk-grid uk-grid>
|
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
|
|
|
<div class="uk-container uk-margin-top publication">
|
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" role="alert">{{warningMessage}}</div>
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" role="alert">{{errorMessage}}</div>
|
|
<div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><img src="./assets/loading.gif" class="uk-align-center" alt="Loading"></div>
|
|
|
|
<div *ngIf="publicationInfo != null" uk-grid class="uk-grid-large">
|
|
<div class="uk-width-3-4@l uk-width-3-4@xl uk-width-3-4@m uk-width-1-1@s">
|
|
<showTitle [title]="publicationInfo.title"></showTitle>
|
|
<span *ngIf="publicationInfo.types.length > 0"class="uk-label custom-label label-blue label-publication" title="Type">{{publicationInfo.types.join(", ")}}</span>
|
|
<span *ngIf="publicationInfo.languages.length > 0" class="uk-label custom-label label-language " title="Language">{{publicationInfo.languages.join(", ")}}</span>
|
|
<span *ngIf="publicationInfo.title && publicationInfo.title.accessMode" [class]="'uk-label custom-label label-'+ publicationInfo.title.accessMode "><!--span [class]="publicationInfo.title.accessMode" -->{{publicationInfo.title.accessMode}}<!--/span--></span>
|
|
|
|
<span *ngIf="publicationInfo.underCurationMessage" class="uk-label custom-label label-underCuration" >
|
|
<span uk-tooltip="pos:right; delay:10"
|
|
title="{{buildCurationTooltip()}}">
|
|
<i>Record in preview</i>
|
|
<i class="uk-icon-info-circle"></i>
|
|
</span></span>
|
|
|
|
|
|
|
|
<div class= " uk-margin-top">
|
|
<showAuthors [authors]="publicationInfo.authors" searchPage="publications"></showAuthors>
|
|
<span *ngIf="publicationInfo.date != ''">({{publicationInfo.date}})</span>
|
|
</div>
|
|
|
|
<ul class="uk-list">
|
|
<li *ngIf="publicationInfo.publisher"><span class="uk-text-bold">Publisher:</span> {{publicationInfo.publisher}}</li>
|
|
<li *ngIf="publicationInfo.journal &&
|
|
(publicationInfo.journal['journal'] || publicationInfo.journal['issn'] || publicationInfo.journal['lissn'])">
|
|
<span class="uk-text-bold">Journal:</span>
|
|
<span *ngIf="publicationInfo.journal['journal']">{{publicationInfo.journal['journal']}}</span>
|
|
<span *ngIf="publicationInfo.journal['issn'] || publicationInfo.journal['lissn']">
|
|
(
|
|
</span>
|
|
<span *ngIf="publicationInfo.journal['issn']">
|
|
issn: {{publicationInfo.journal['issn']}}
|
|
</span>
|
|
<span *ngIf="publicationInfo.journal['lissn']">
|
|
lissn: {{publicationInfo.journal['lissn']}}
|
|
</span>
|
|
<span *ngIf="publicationInfo.journal['issn'] || publicationInfo.journal['lissn']">
|
|
)
|
|
</span>
|
|
</li>
|
|
|
|
<li *ngIf="publicationInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{publicationInfo.embargoEndDate}}</li>
|
|
<li *ngIf="publicationInfo.identifiers && publicationInfo.identifiers.size > 0">
|
|
<showIdentifiers [identifiers]="publicationInfo.identifiers"></showIdentifiers>
|
|
</li>
|
|
<li *ngIf="publicationInfo.subjects || publicationInfo.otherSubjects || publicationInfo.classifiedSubjects">
|
|
<showSubjects [subjects]="publicationInfo.subjects"
|
|
[otherSubjects]="publicationInfo.otherSubjects"
|
|
[classifiedSubjects]="publicationInfo.classifiedSubjects">
|
|
</showSubjects>
|
|
</li>
|
|
</ul>
|
|
|
|
<div *ngIf="publicationInfo.description" class="uk-margin-bottom uk-text-justify descriptionText">
|
|
{{publicationInfo.description}}
|
|
</div>
|
|
|
|
|
|
<!--div class="uk-clearfix"><div class="uk-button-group uk-float-right uk-margin-top">
|
|
<button class="uk-button uk-button-small uk-button-action">
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
Link this publication to
|
|
</button>
|
|
<div class="uk-inline">
|
|
<button class="uk-button uk-button-small uk-button-action" type="button">
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
Link this publication to
|
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="triangle-down" ratio="1"><polygon points="5 7 15 7 10 12"></polygon></svg></span>
|
|
</button>
|
|
<div uk-dropdown="mode: click; boundary: ! .uk-button-group; boundary-align: true;"
|
|
class="uk-dropdown uk-dropdown-boundary uk-dropdown-bottom-left" style="top: 40px; left: -236.5px;">
|
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></li>
|
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></li>
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div></div-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="uk-tab uk-visible@l" uk-tab="connect: #tab-content">
|
|
<li *ngIf="publicationInfo.references" (click)="activeTab='References'"
|
|
[class]="activeTab == 'References'?'uk-active':''">
|
|
<a>
|
|
References
|
|
<span *ngIf="!publicationInfo.references" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.references" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.references.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.relatedResearchResults" (click)="activeTab='Related Research Results'"
|
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
|
<a>
|
|
Related Research Results
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{relatedResearchResultsNum}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.similarResearchResults" (click)="activeTab='Similar Research Results'"
|
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
|
<a>
|
|
Similar Research Results
|
|
<span *ngIf="!publicationInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.similarResearchResults.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.organizations" (click)="activeTab='Related Organizations'"
|
|
[class]="activeTab == 'Related Organizations'?'uk-active':''">
|
|
<a>
|
|
Related Organizations
|
|
<span *ngIf="!publicationInfo.organizations" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.organizations" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.organizations.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.bioentities" (click)="activeTab='Bioentities'"
|
|
[class]="activeTab == 'Bioentities'?'uk-active':''">
|
|
<a>
|
|
Bioentities
|
|
<span class="uk-badge uk-badge-notification">{{bioentitiesNum}}</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.software" (click)="activeTab='Software'"
|
|
[class]="activeTab == 'Software'?'uk-active':''">
|
|
<a>
|
|
Software
|
|
<span class="uk-badge uk-badge-notification">{{publicationInfo.software.length}}</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics
|
|
<!--i class="icon-line-chart"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 36 36" style="fill:currentColor;">
|
|
<path d="M4.415 31.713h31.704v4.529h-36.233v-36.233h4.529zM10.077 29.447c-1.877 0-3.396-1.521-3.396-3.396s1.521-3.396 3.396-3.396c0.101 0 0.199 0.006 0.297 0.014l3.652-6.086c-0.348-0.534-0.551-1.171-0.551-1.855 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 0.685-0.203 1.321-0.551 1.855l3.652 6.086c0.098-0.009 0.196-0.014 0.297-0.014 0.076 0 0.151 0.004 0.225 0.009l6.028-10.549c-0.373-0.546-0.592-1.204-0.592-1.916 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 1.877-1.521 3.396-3.396 3.396-0.076 0-0.151-0.004-0.225-0.009l-6.028 10.549c0.373 0.546 0.592 1.204 0.592 1.916 0 1.877-1.521 3.396-3.396 3.396s-3.396-1.521-3.396-3.396c0-0.684 0.203-1.321 0.551-1.855l-3.652-6.086c-0.098 0.009-0.196 0.014-0.297 0.014s-0.199-0.006-0.297-0.014l-3.652 6.086c0.348 0.534 0.551 1.171 0.551 1.855 0 1.877-1.521 3.396-3.396 3.396z"></path>
|
|
</svg></i-->
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<!--span uk-icon="icon: menu"></span> {{activeTab}}<-->
|
|
<button class="uk-button uk-button-default uk-hidden@l" type="button">
|
|
<span uk-navbar-toggle-icon></span> <span class="uk-margin-small-left">{{activeTab}}</span>
|
|
</button>
|
|
|
|
<ul id="toggle-small-tabs" class="uk-subnav uk-subnav-pill uk-dropdown uk-hidden@l" uk-switcher="connect: #tab-content" uk-dropdown="mode: click" uk-toggle="target: #toggle-small-tabs">
|
|
<li *ngIf="publicationInfo.references" (click)="activeTab='References'"
|
|
[class]="activeTab == 'References'?'uk-active':''">
|
|
<a>
|
|
References
|
|
<span *ngIf="!publicationInfo.references" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.references" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.references.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.relatedResearchResults" (click)="activeTab='Related Research Results'"
|
|
[class]="activeTab == 'Related Research Results'?'uk-active':''">
|
|
<a>
|
|
Related Research Results
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{relatedResearchResultsNum}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.similarResearchResults" (click)="activeTab='Similar Research Results'"
|
|
[class]="activeTab == 'Similar Research Results'?'uk-active':''">
|
|
<a>
|
|
Similar Research Results
|
|
<span *ngIf="!publicationInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.similarResearchResults.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.organizations" (click)="activeTab='Related Organizations'"
|
|
[class]="activeTab == 'Related Organizations'?'uk-active':''">
|
|
<a>
|
|
Related Organizations
|
|
<span *ngIf="!publicationInfo.organizations" class="uk-badge uk-badge-notification">0</span>
|
|
<span *ngIf="publicationInfo.organizations" class="uk-badge uk-badge-notification">
|
|
{{publicationInfo.organizations.length}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.bioentities" (click)="activeTab='Bioentities'"
|
|
[class]="activeTab == 'Bioentities'?'uk-active':''">
|
|
<a>
|
|
Bioentities
|
|
<span class="uk-badge uk-badge-notification">{{bioentitiesNum}}</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="publicationInfo.software" (click)="activeTab='Software'"
|
|
[class]="activeTab == 'Software'?'uk-active':''">
|
|
<a>
|
|
Software
|
|
<span class="uk-badge uk-badge-notification">{{publicationInfo.software.length}}</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics<!--i class="icon-line-chart"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 36 36" style="fill:currentColor;">
|
|
<path d="M4.415 31.713h31.704v4.529h-36.233v-36.233h4.529zM10.077 29.447c-1.877 0-3.396-1.521-3.396-3.396s1.521-3.396 3.396-3.396c0.101 0 0.199 0.006 0.297 0.014l3.652-6.086c-0.348-0.534-0.551-1.171-0.551-1.855 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 0.685-0.203 1.321-0.551 1.855l3.652 6.086c0.098-0.009 0.196-0.014 0.297-0.014 0.076 0 0.151 0.004 0.225 0.009l6.028-10.549c-0.373-0.546-0.592-1.204-0.592-1.916 0-1.877 1.521-3.396 3.396-3.396s3.396 1.521 3.396 3.396c0 1.877-1.521 3.396-3.396 3.396-0.076 0-0.151-0.004-0.225-0.009l-6.028 10.549c0.373 0.546 0.592 1.204 0.592 1.916 0 1.877-1.521 3.396-3.396 3.396s-3.396-1.521-3.396-3.396c0-0.684 0.203-1.321 0.551-1.855l-3.652-6.086c-0.098 0.009-0.196 0.014-0.297 0.014s-0.199-0.006-0.297-0.014l-3.652 6.086c0.348 0.534 0.551 1.171 0.551 1.855 0 1.877-1.521 3.396-3.396 3.396z"></path>
|
|
</svg></i-->
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<!--ul id="tab-content" class="uk-switcher uk-margin custom-tab-content"-->
|
|
<div class="uk-margin custom-tab-content">
|
|
<div *ngIf="activeTab == 'References'" class="uk-animation-fade">
|
|
<div *ngIf="!publicationInfo.references" class = "uk-alert uk-alert-primary" >
|
|
No references available
|
|
</div>
|
|
|
|
<div *ngIf="publicationInfo.references">
|
|
|
|
<!--tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging-->
|
|
<div *ngIf="publicationInfo.references && publicationInfo.references.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-h6">{{publicationInfo.references.length}} references, page {{referencesPage}} of {{totalPages(publicationInfo.references.length)}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="referencesPage" [totalResults]="publicationInfo.references.length" [size]="pageSize" (pageChange)="updateReferencesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<div *ngFor="let item of publicationInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
|
<p *ngIf=" item && item['url']"
|
|
class="custom-external custom-icon">
|
|
<a href="{{item['url']}}" target="_blank">
|
|
{{item['name']}}
|
|
</a>
|
|
</p>
|
|
<p *ngIf="!item['url']" class="pseudo-external custom-icon">
|
|
{{item['name']}}
|
|
</p>
|
|
</div>
|
|
|
|
<!--div *ngIf="showAllReferences">
|
|
<div *ngFor="let item of publicationInfo.references.slice(10)">
|
|
<p *ngIf=" item && item['url']"
|
|
class="custom-external custom-icon">
|
|
<a href="{{item['url']}}" target="_blank">
|
|
{{item['name']}}
|
|
</a>
|
|
</p>
|
|
<p *ngIf="!item['url']">
|
|
{{item['name']}}
|
|
</p>
|
|
</div>
|
|
</div-->
|
|
|
|
<!--tabPaging [showAll]="showAllReferences" [length]="publicationInfo.references.length" (changeShowAll)="showChange($event)"></tabPaging-->
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="activeTab == 'Related Research Results'" class="uk-animation-fade">
|
|
<div *ngIf="!publicationInfo.relatedResearchResults" class = "uk-alert uk-alert-primary">
|
|
No related research results available
|
|
</div>
|
|
<div *ngIf="publicationInfo.relatedResearchResults">
|
|
<div *ngFor="let provenanceaction of getKeys(publicationInfo.relatedResearchResults)">
|
|
<div class="uk-text-large uk-margin-bottom">{{provenanceaction}}</div>
|
|
|
|
<tabTable [info]="publicationInfo.relatedResearchResults.get(provenanceaction)" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div *ngIf="activeTab == 'Similar Research Results'" class="uk-animation-fade">
|
|
<div *ngIf="!publicationInfo.similarResearchResults" class = "uk-alert uk-alert-primary">
|
|
No similar research results available
|
|
</div>
|
|
<div *ngIf="publicationInfo.similarResearchResults">
|
|
|
|
<tabTable [info]="publicationInfo.similarResearchResults" [(properties)]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="activeTab == 'Related Organizations'" class="uk-animation-fade">
|
|
<div *ngIf="!publicationInfo.organizations" class = "uk-alert uk-alert-primary">
|
|
No related organizations available
|
|
</div>
|
|
<div *ngIf="publicationInfo.organizations">
|
|
<div *ngIf="publicationInfo.organizations && publicationInfo.organizations.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-text-bold">{{publicationInfo.organizations.length}} organizations, page {{organizationsPage}} of {{totalPages(publicationInfo.organizations.length)}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="organizationsPage" [totalResults]="publicationInfo.organizations.length" [size]="pageSize" (pageChange)="updateOrganizationsPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<table class="uk-table ">
|
|
<!--thead>
|
|
<tr>
|
|
<th>Organization</th>
|
|
<th>Trust</th>
|
|
</tr>
|
|
</thead-->
|
|
<tbody>
|
|
<tr *ngFor="let organization of publicationInfo.organizations.slice((organizationsPage-1)*pageSize, organizationsPage*pageSize)">
|
|
<td>
|
|
<a *ngIf="(organization['id']) && ((organization['name']) || (organization['shortname']))"
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active" routerLink="/search/organization">
|
|
{{organization['name']}}
|
|
<span *ngIf="organization.name && organization.shortname"> ( </span>
|
|
<span *ngIf="organization.shortname">{{organization.shortname}}</span>
|
|
<span *ngIf="organization.name && organization.shortname"> ) </span>
|
|
</a>
|
|
<p *ngIf="(!organization['id']) && ((organization['name']) || (organization['shortname']))">
|
|
{{organization['name']}}
|
|
<span *ngIf="organization.name && organization.shortname"> ( </span>
|
|
<span *ngIf="organization.shortname">{{organization.shortname}}</span>
|
|
<span *ngIf="organization.name && organization.shortname"> ) </span>
|
|
</p>
|
|
<div *ngIf="organization.country">{{organization.country}}</div>
|
|
<div *ngIf="organization.websiteUrl">Website url:
|
|
<a href="{{organization.websiteUrl}}" target="_blank">{{organization.websiteUrl}}</a>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div *ngIf="organization['trust']" title="{{organization['trust']}}%" >
|
|
<div class="uk-text-center">{{organization['trust']}}%</div>
|
|
<progress class="uk-progress uk-margin-remove" value="{{organization['trust']}}" max="100"></progress>
|
|
</div>
|
|
<div *ngIf="!organization['trust']">
|
|
<p>no trust available</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="activeTab=='Bioentities'" class="uk-animation-fade">
|
|
<div *ngIf="publicationInfo.bioentities && bioentitiesNum > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-text-bold"> {{bioentitiesNum}} bioentities, page {{bioentitiesPage}} of {{totalPages(bioentitiesNum)}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="bioentitiesPage" [totalResults]="bioentitiesNum" [size]="pageSize" (pageChange)="updateBioentitiesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<table id="bioentitiesTable" class="uk-table ">
|
|
<!--thead>
|
|
<tr>
|
|
<th class="uk-text-center">Bio Entity</th>
|
|
<th class="uk-text-center">Site Name</th>
|
|
</tr>
|
|
</thead-->
|
|
<tbody>
|
|
<ng-container *ngFor="let key of getKeys(publicationInfo.bioentities) let i=index">
|
|
<!--ng-container *ngIf="stop(i, bioentitiesPage) - start(i, bioentitiesPage) > 0"-->
|
|
<tr *ngFor="let keyIn of keysToArray(publicationInfo.bioentities.get(key)).slice((bioentitiesPage-1)*pageSize, bioentitiesPage*pageSize)">
|
|
<td class="uk-text-center" *ngIf="keyIn">
|
|
<span class="custom-external custom-icon">
|
|
<a href="{{publicationInfo.bioentities.get(key).get(keyIn)}}"
|
|
target="_blank">
|
|
{{keyIn}}
|
|
</a>
|
|
</span>
|
|
</td>
|
|
<td class="uk-text-center">
|
|
{{key}}
|
|
</td>
|
|
</tr>
|
|
</ng-container>
|
|
<!--/ng-container-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div *ngIf="activeTab == 'Software'" class="uk-animation-fade">
|
|
<div *ngIf="publicationInfo.software && publicationInfo.software.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-text-bold">{{publicationInfo.software.length}} software results, page {{softwarePage}} of {{totalPages(publicationInfo.software.length)}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="softwarePage" [totalResults]="publicationInfo.software.length" [size]="pageSize" (pageChange)="updateSoftwarePage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<table id="softwareTable" class="uk-table ">
|
|
<!--thead>
|
|
<tr>
|
|
<th class="uk-text-center">Site Name</th>
|
|
</tr>
|
|
</thead-->
|
|
<tbody>
|
|
<tr *ngFor="let item of publicationInfo.software.slice((softwarePage-1)*pageSize, softwarePage*pageSize)" class="uk-text-center">
|
|
<td>
|
|
<span class="custom-external custom-icon">
|
|
<a href="{{item.url}}" target="_blank">
|
|
{{item.name}}
|
|
</a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div *ngIf="activeTab == 'Metrics'" class="uk-animation-fade">
|
|
<!-- Page Views: {{pageViews}} -->
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="articleId" [entityType]="'results'" [entity]="'Publication'"
|
|
(metricsResults)="metricsResults($event)" [(properties)] = properties>
|
|
</metrics>
|
|
<!--i-frame *ngIf="metricsClicked" [url]=viewsFrameUrl width="100%" height="250"></i-frame-->
|
|
<i-frame *ngIf="metricsClicked && totalViews>0"
|
|
[url]=viewsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
<i-frame *ngIf="metricsClicked && totalDownloads>0"
|
|
[url]=downloadsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
</div>
|
|
<!--/ul-->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="uk-width-1-4@l uk-width-1-4@xl uk-width-1-4@m uk-width-1-1@s">
|
|
<div class="uk-card uk-card-default uk-padding-small">
|
|
<div >
|
|
Share - Bookmark
|
|
<addThis></addThis>
|
|
</div>
|
|
<altmetrics *ngIf="publicationInfo.identifiers && publicationInfo.identifiers.get('doi')"
|
|
id="{{publicationInfo.identifiers.get('doi')[0]}}" type="doi">
|
|
</altmetrics>
|
|
<ul class="uk-list">
|
|
<!-- <li *ngIf="publicationInfo.downloadFrom && publicationInfo.downloadFrom.size > 0">
|
|
<dl class="uk-description-list-line">
|
|
<dt class="title">Download from</dt>
|
|
<dd class="line"
|
|
*ngFor="let key of getKeys(publicationInfo.downloadFrom) let i=index" >
|
|
<div *ngIf="i<5 || showAllDownloadFrom"
|
|
class="{{publicationInfo.downloadFrom.get(key)['bestAccessMode']}}">
|
|
<span [class]="publicationInfo.downloadFrom.get(key)['url'].length > 0 ? 'custom-external custom-icon' : ''">
|
|
<span *ngIf="publicationInfo.downloadFrom.get(key)['url'].length > 1">
|
|
{{key}}
|
|
<span *ngFor="let url of publicationInfo.downloadFrom.get(key)['url']; let i=index;">
|
|
<a href="{{url}}" target="_blank"
|
|
[attr.uk-tooltip]="publicationInfo.downloadFrom.get(key)['accessMode'][i] ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
[title]="publicationInfo.downloadFrom.get(key)['accessMode'][i]">
|
|
[{{i+1}}]
|
|
</a>
|
|
</span>
|
|
</span>
|
|
<a *ngIf="publicationInfo.downloadFrom.get(key)['url'].length == 1"
|
|
href="{{publicationInfo.downloadFrom.get(key)['url']}}"
|
|
target="_blank"
|
|
[attr.uk-tooltip]="publicationInfo.downloadFrom.get(key)['bestAccessMode'] ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
[title]="publicationInfo.downloadFrom.get(key)['bestAccessMode']">
|
|
{{key}}
|
|
</a>
|
|
<span *ngIf="publicationInfo.downloadFrom.get(key)['url'].length == 0"
|
|
[attr.uk-tooltip]="publicationInfo.downloadFrom.get(key)['bestAccessMode'] ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
[title]="publicationInfo.downloadFrom.get(key)['bestAccessMode']">
|
|
{{key}}
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</dd>
|
|
<dd *ngIf="showAllDownloadFrom" class="uk-text-right">
|
|
<a class="uk-text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
|
|
View less
|
|
</a>
|
|
</dd>
|
|
<dd *ngIf="!showAllDownloadFrom && publicationInfo.downloadFrom.size > 5">...</dd>
|
|
<dd *ngIf="!showAllDownloadFrom && publicationInfo.downloadFrom.size > 5" class="uk-text-right">
|
|
<a class="uk-text-muted" (click)="showAllDownloadFrom = !showAllDownloadFrom;">
|
|
View more
|
|
</a>
|
|
</dd>
|
|
</dl>
|
|
</li> -->
|
|
|
|
<!-- <li *ngIf="publicationInfo.publishedIn && publicationInfo.publishedIn.size > 0">
|
|
<publishedIn [publishedIn]="publicationInfo.publishedIn"></publishedIn>
|
|
</li> -->
|
|
<li *ngIf="publicationInfo.hostedBy_collectedFrom && publicationInfo.hostedBy_collectedFrom.length > 0">
|
|
<availableOn [availableOn]="publicationInfo.hostedBy_collectedFrom"></availableOn>
|
|
</li>
|
|
<li *ngIf="publicationInfo.fundedByProjects != undefined && publicationInfo.fundedByProjects.length > 0">
|
|
<fundedBy [fundedByProjects]="publicationInfo.fundedByProjects"></fundedBy>
|
|
</li>
|
|
|
|
<li *ngIf="publicationInfo.contexts && publicationInfo.contexts.length >0 ">
|
|
<dl class="uk-description-list-line" >
|
|
<dt class="title">Related to</dt>
|
|
<dd class="line" *ngFor="let item of publicationInfo.contexts">
|
|
<span *ngIf = "!item['inline']" >
|
|
<span>{{item['labelContext']}}</span>
|
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
|
</span>
|
|
<mark *ngIf = "item['inline']" >
|
|
<span>{{item['labelContext']}}</span>
|
|
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
|
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
|
</mark>
|
|
</dd>
|
|
</dl>
|
|
|
|
</li>
|
|
<li>
|
|
<ul uk-accordion class="uk-padding-remove">
|
|
<li>
|
|
<div class=" uk-accordion-title cite-this-button uk-width-1-1" type="button">
|
|
Cite this publication
|
|
</div>
|
|
<div class="uk-accordion-content">
|
|
<citeThis [result]="publicationInfo" [id]="articleId" type="publication"></citeThis>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
|
|
</li>
|
|
<li>
|
|
|
|
<ul uk-accordion class="uk-padding-remove">
|
|
<li>
|
|
<button class="uk-button uk-button-primary uk-accordion-title link-to-button uk-width-1-1" type="button">
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
<span class="uk-margin-right">Link this publication to</span>
|
|
</button>
|
|
<div class="uk-accordion-content">
|
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></li>
|
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></li>
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></li>
|
|
</ul>
|
|
</div>
|
|
<!--button class="uk-button uk-button-small uk-button-default">
|
|
<span class="uk-icon" >
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="link" ratio="1"><path fill="none" stroke="#000" stroke-width="1.1" d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M7.925,11.875 L11.925,7.975"></path></svg></span>
|
|
Link this publication to
|
|
</button>
|
|
<div class="uk-inline">
|
|
<button class="uk-button uk-button-small uk-button-default" type="button">
|
|
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="triangle-down" ratio="1"><polygon points="5 7 15 7 10 12"></polygon></svg></span>
|
|
</button>
|
|
<div uk-dropdown="mode: click; boundary: ! .uk-button-group; boundary-align: true;"
|
|
class="uk-dropdown uk-dropdown-boundary uk-dropdown-bottom-left" style="top: 40px; left: -236.5px;">
|
|
<ul class="uk-nav uk-dropdown-nav uk-padding-small" >
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Projects</a></li>
|
|
<li><a class="uk-width-1-1"[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Communities</a></li>
|
|
<li><a class="uk-width-1-1" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[articleId,'publication','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
Other research results</a></li>
|
|
</ul>
|
|
</div>
|
|
</div-->
|
|
</li>
|
|
</ul>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|