281 lines
16 KiB
HTML
281 lines
16 KiB
HTML
<div id="tm-main" class=" uk-section uk-padding-remove-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 orp">
|
|
<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"><span
|
|
class="loading-gif uk-align-center"></span></div>
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
[texts]="pageContents['top']" class="uk-width-1-1"></helper>
|
|
<div *ngIf="orpInfo != null" uk-grid class="uk-grid-large">
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
[texts]="pageContents['top']" styleName="uk-width-1-1"></helper>
|
|
<div class="uk-width-expand@m uk-width-1-1@s">
|
|
<schema2jsonld *ngIf="orpInfo.record" [data]=orpInfo.record
|
|
[URL]="properties.baseLink+'/search/orp?orpId='+orpId"></schema2jsonld>
|
|
<showTitle [titleName]="orpInfo.title"></showTitle>
|
|
<span *ngIf="orpInfo.types && orpInfo.types.length > 0" class="uk-label custom-label label-orp "
|
|
title="Type">{{orpInfo.types.join(", ")}}</span>{{" "}}
|
|
<span *ngIf="orpInfo.languages && orpInfo.languages.length > 0"
|
|
class="uk-label custom-label label-language "
|
|
title="Language">{{orpInfo.languages.join(", ")}}</span>{{" "}}
|
|
<span *ngIf="orpInfo.countries && orpInfo.countries.length > 0"
|
|
class="uk-label custom-label label-country "
|
|
title="Country">{{orpInfo.countries.join(", ")}}</span>{{" "}}
|
|
<span *ngIf="orpInfo.accessMode" [class]="'uk-label custom-label label-'+ orpInfo.accessMode "
|
|
title="Access Mode">{{orpInfo.accessMode}}</span>{{" "}}
|
|
<span *ngIf="orpInfo.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]="orpInfo.authors"></showAuthors>
|
|
<span *ngIf="orpInfo.date != ''">({{orpInfo.date}})</span>
|
|
</div>
|
|
|
|
<ul class="uk-list">
|
|
<showPublisher [publisher]="orpInfo.publisher"
|
|
[journal]="orpInfo.journal" [properties]="properties"></showPublisher>
|
|
<li *ngIf="orpInfo.embargoEndDate"><span
|
|
class="uk-text-bold">Embargo end date:</span> {{orpInfo.embargoEndDate}}</li>
|
|
<li *ngIf="orpInfo.identifiers && orpInfo.identifiers.size > 0">
|
|
<showIdentifiers [identifiers]="orpInfo.identifiers"></showIdentifiers>
|
|
</li>
|
|
<li *ngIf="orpInfo.subjects ||orpInfo.otherSubjects || orpInfo.classifiedSubjects">
|
|
<showSubjects [subjects]="orpInfo.subjects"
|
|
[otherSubjects]="orpInfo.otherSubjects"
|
|
[classifiedSubjects]="orpInfo.classifiedSubjects">
|
|
</showSubjects>
|
|
</li>
|
|
</ul>
|
|
<hr *ngIf="orpInfo.description">
|
|
<div *ngIf="orpInfo.description"
|
|
class="uk-text-justify descriptionText uk-height-max-medium uk-overflow-auto">
|
|
<span>{{orpInfo.description.substring(0, showNumDescription)}}</span
|
|
><span
|
|
*ngIf="showNumDescription == thresholdDescription && orpInfo.description.length > thresholdDescription">...</span
|
|
><span
|
|
*ngIf="showNumDescription == thresholdDescription && orpInfo.description.length > thresholdDescription"
|
|
class="uk-text-right">
|
|
<a (click)="showNumDescription = orpInfo.description.length;">
|
|
View more
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div *ngIf="orpInfo.description && showNumDescription > thresholdDescription"
|
|
class="uk-width-1-1 uk-text-right">
|
|
<a (click)="showNumDescription = thresholdDescription;">
|
|
View less
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="custom-accordion" uk-accordion>
|
|
<li *ngIf="orpInfo.references" (click)="activeTab='References'">
|
|
<a class="uk-accordion-title" href="#">
|
|
References ({{orpInfo.references.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngIf="orpInfo.references.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-h6">{{orpInfo.references.length | number}}
|
|
references, page {{referencesPage | number}}
|
|
of {{totalPages(orpInfo.references.length) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="referencesPage"
|
|
[totalResults]="orpInfo.references.length" [size]="pageSize"
|
|
(pageChange)="updateReferencesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<div
|
|
*ngFor="let item of orpInfo.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>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="orpInfo.relatedResearchResults" (click)="activeTab='Related Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Related Research Results
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{relatedResearchResultsNum | number}})
|
|
<!-- </span> -->
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngFor="let provenanceaction of getKeys(orpInfo.relatedResearchResults)">
|
|
<div class="uk-text-large">{{provenanceaction}}</div>
|
|
<tabTable percentageName="trust" [info]="orpInfo.relatedResearchResults.get(provenanceaction)"
|
|
[properties]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="orpInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Similar Research Results
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{orpInfo.similarResearchResults.length | number}})
|
|
<!-- </span> -->
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<tabTable percentageName="similarity" [info]="orpInfo.similarResearchResults"
|
|
[properties]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Metrics
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="orpId" [entityType]="'results'" [entity]="'Other Research Product'"
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
|
</metrics>
|
|
<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>
|
|
</li>
|
|
<li (click)="activeTab='Other Versions'"
|
|
*ngIf="properties.environment == 'development' && orpInfo.deletedByInferenceIds">
|
|
<a class="uk-accordion-title" href="#">
|
|
Other Versions
|
|
({{orpInfo.deletedByInferenceIds.length | number}})
|
|
</a>
|
|
<div *ngIf="activeTab=='Other Versions'" class="uk-accordion-content">
|
|
<deletedByInference [id]="orpId" [ids]="orpInfo.deletedByInferenceIds"
|
|
[type]="'other research products'"></deletedByInference>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="uk-width-large@m uk-width-1-1@s">
|
|
<div class=" uk-padding-small">
|
|
<button *ngIf="isRouteAvailable('participate/direct-claim') " class=" uk-button portal-button uk-width-1-1 ">
|
|
<span class="uk-icon">
|
|
<svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20" height="25"><path 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" fill="none" stroke="#000" stroke-width="1.1"></path><path 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" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975" fill="none" stroke="#000" stroke-width="1.1"></path></svg>
|
|
</span> Link this product to...
|
|
</button>
|
|
<div *ngIf="isRouteAvailable('participate/direct-claim') " class=" uk-text-center uk-margin-expand uk-padding-small uk-margin-auto default-dropdown "
|
|
uk-dropdown="mode:click" >
|
|
<div class="uk-grid uk-child-width-1-3 uk-width-large ">
|
|
<div><a
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim"
|
|
>
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
|
|
height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
|
|
width="17" x="1.5" y="6.5"></rect></svg></span>
|
|
</button>
|
|
<div>Projects</div>
|
|
</a></div>
|
|
<div><a
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
|
|
width="12" x="3.5" y="2.5"></rect><polyline
|
|
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>
|
|
</button>
|
|
<div>Research results</div>
|
|
</a></div>
|
|
<div> <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
|
|
stroke="#000" stroke-width="1.1"></circle><path
|
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3" fill="none"
|
|
stroke="#000" stroke-width="1.1"></path><path
|
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"
|
|
fill="none" stroke="#000" stroke-width="1.1"></path></svg></span>
|
|
</button>
|
|
<div>Communities</div>
|
|
</a></div>
|
|
</div>
|
|
|
|
</div>
|
|
<div>
|
|
<div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
|
|
<addThis></addThis>
|
|
</div>
|
|
<altmetrics *ngIf="orpInfo.identifiers && orpInfo.identifiers.get('doi')"
|
|
id="{{orpInfo.identifiers.get('doi')[0]}}" type="doi">
|
|
</altmetrics>
|
|
<ul class="uk-list">
|
|
<li *ngIf="orpInfo.hostedBy_collectedFrom && orpInfo.hostedBy_collectedFrom.length > 0">
|
|
<availableOn [availableOn]="orpInfo.hostedBy_collectedFrom"></availableOn>
|
|
</li>
|
|
<li *ngIf="orpInfo.fundedByProjects != undefined && orpInfo.fundedByProjects.length > 0">
|
|
<fundedBy [fundedByProjects]="orpInfo.fundedByProjects"></fundedBy>
|
|
</li>
|
|
<li *ngIf="orpInfo.contexts && orpInfo.contexts.length >0 ">
|
|
<dl class="uk-description-list-line">
|
|
<dt class="sideInfoTitle">Related to</dt>
|
|
<dd class="line" *ngFor="let item of orpInfo.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>
|
|
|
|
<div class="sideInfoTitle cite-this-button uk-width-1-1" type="button">
|
|
Cite this research product
|
|
</div>
|
|
<div class="">
|
|
<citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
|
|
</div>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div-->
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
[texts]="pageContents['bottom']" class="uk-width-1-1"></helper>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|