2017-12-19 13:53:46 +01:00
< 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 " >
2018-11-14 11:38:53 +01:00
< schema2jsonld * ngIf = "url" [ URL ] = " url " name = "Linking" type = "other" > < / schema2jsonld >
2017-12-19 13:53:46 +01:00
< div class = "uk-container uk-margin-top" >
< div class = "uk-article-title custom-article-title" >
Link
< / div >
< div class = "uk-width-1-1" >
< helper position = "top" > < / helper >
< / div >
< div class = "uk-grid helper-grid" >
< helper position = "left" styleName = " uk-width-1-5 uk-padding-left" > < / helper >
< div class = "uk-width-expand" >
< div * ngIf = "validInput != null && !validInput" class = "uk-alert uk-alert-warning" role = "alert" > No valid arguments provided in order to start linking openAIRE entities. < / div >
< div * ngIf = "validInput != null && validInput" >
2018-07-25 15:56:02 +02:00
< ul uk-accordion * ngIf = " ! (linkTo =='result' && show=='claim') " uk-accordion class = "uk-padding-small uk-margin-remove-bottom basket-accordion" >
2017-12-19 13:53:46 +01:00
< li >
2018-10-03 16:12:42 +02:00
< h3 class = " uk-text-right uk-margin-remove-vertical uk-width-small uk-margin-auto-left uk-accordion-title basket-title portal-color" uk-tooltip = "title:Click to see your selections" >
2017-12-19 13:53:46 +01:00
< span class = "uk-icon" > < svg xml:space = "preserve" xmlns:xlink = "http://www.w3.org/1999/xlink" height = "28px" id = "my-box" style = "enable-background:new 0 0 512 512;" version = "1.1" viewBox = "0 0 512 512" width = "28px" x = "0px" xmlns = "http://www.w3.org/2000/svg" y = "0px" > < g > < path d = "M480,320v128H32V320h78.859l64.016,96h162.25l64-96H480 M384,32H128L0,288v192h512V288L384,32L384,32z M35.781,288l112-224 h216.438l112,224H384l-64,96H192l-64.016-96H35.781L35.781,288z" fill = "#b5b5b5" > < / path > < / g > < / svg > < / span >
2018-07-30 16:22:19 +02:00
< span class = "uk-badge basket-badge " > {{(projects.length + contexts.length + results.length - ((type =="project")?1:0)) | number}}< / span >
2017-12-19 13:53:46 +01:00
< / h3 >
2018-07-25 15:56:02 +02:00
< div class = "uk-accordion-content uk-margin-left uk-margin-right uk-background-muted uk-margin-remove-top dropbasket uk-padding-small uk-margin uk-grid-match uk-child-width-1-1 uk-child-width-1-1@m uk-grid uk-grid-stack" >
2018-07-30 16:22:19 +02:00
< start-over [ results ] = " results " [ contexts ] = " contexts " [ projects ] = " projects " [ localStoragePrefix ] = localStoragePrefix [ linkTo ] = " linkTo " [ type ] = " type " > < / start-over >
2017-12-19 13:53:46 +01:00
< claim-selected-projects * ngIf = " linkTo == 'project' " title = "link Projects" [ projects ] = " projects " [ show ] = " show " [ linkType ] = linkType
2018-07-25 15:56:02 +02:00
(showChange)="showChange($event)" [localStoragePrefix]=localStoragePrefix > < / claim-selected-projects >
2017-12-19 13:53:46 +01:00
< claim-selected-contexts * ngIf = " linkTo == 'context' " title = "link Communities" [ contexts ] = " contexts " [ projects ] = " projects " [ results ] = " results " [ inlineEntity ] = " inlineResult " [ show ] = " show " [ linkType ] = linkType
2018-07-25 15:56:02 +02:00
(showChange)="showChange($event)" [localStoragePrefix]=localStoragePrefix > < / claim-selected-contexts >
< claim-selected-results * ngIf = " linkTo == 'result' " title = "Selected Research Results" [ results ] = " results " [ bulkMode ] = " bulkMode " showSearch = false
showAccessRights=false [localStoragePrefix]=localStoragePrefix>< / claim-selected-results >
2017-12-19 13:53:46 +01:00
< / div >
< / li >
< / ul >
2018-07-25 15:56:02 +02:00
< div class = "uk-card uk-card-default uk-padding-small" >
< div class = "" >
2018-07-30 16:22:19 +02:00
Link your {{((type=='orp')?'research product':type)}}
2017-12-19 13:53:46 +01:00
< / div >
< div class = "uk-clearfix" >
<!-- start - over [results]="results" [contexts]="contexts" [projects]="projects" [linkTo]="linkTo" [type]="type" ></start - over -->
< / div >
<!-- inline result -->
2018-07-30 16:22:19 +02:00
< div * ngIf = "displayedResult != null && (type =='publication' || type =='dataset' || type=='software' || type=='orp' )" class = "uk-margin-top uk-margin-left uk-margin-right uk-background-muted uk-first-column uk-padding-small " >
2018-07-25 15:56:02 +02:00
< div >
2018-07-30 16:22:19 +02:00
< a * ngIf = "displayedResult.url" target = "_blank" href = "{{displayedResult.url}}" > < span class = "custom-external" > < / span > {{((displayedResult.title == undefined || displayedResult.title == '')?'[no title available]':displayedResult.title)}}< / a >
< span * ngIf = "!displayedResult.url" > {{((displayedResult.title == undefined || displayedResult.title == '')?'[no title available]':displayedResult.title)}}< / span >
2017-12-19 13:53:46 +01:00
< / div >
< div * ngIf = "displayedResult.result.authors && displayedResult.result.authors.length >0 " class = "uk-article-meta" > Authors: < span * ngFor = "let author of displayedResult.result.authors.slice(0,10) let i = index" > {{author}}{{(i < (displayedResult.result.authors.slice(0,10).length-1))?"; ":""}}{{(i == displayedResult.result.authors.slice(0,10).length-1 & & displayedResult.result.authors.length > 10)?"...":""}}< / span > < / div >
< / div >
<!-- inline project -->
2018-07-25 15:56:02 +02:00
< div * ngIf = " type == 'project' && projects.length > 0 " class = "uk-margin-top uk-margin-left uk-margin-right uk-background-muted uk-first-column uk-padding-small" uk-grid = "" >
2017-12-19 13:53:46 +01:00
{{projects[0].funderName}} | {{projects[0].projectName}} {{(projects[0].projectAcronym)?'('+projects[0].projectAcronym+')':''}}
< / div >
<!-- search for entity -->
2018-07-25 15:56:02 +02:00
< div class = "uk-margin-top " >
to one or more {{(linkTo =='project')?'projects':''}} {{(linkTo =='context')?'communities':''}} {{(linkTo =='result')?((type !='project'?' other':'')+' research results'):''}}
< / div >
< div class = "uk-margin-top uk-margin-left uk-margin-right uk-margin-bottom" >
2017-12-19 13:53:46 +01:00
2018-07-25 15:56:02 +02:00
< claim-projects-search-form * ngIf = " linkTo =='project' " [ ( selectedProjects ) ] = " projects " [ ( properties ) ] = properties inlineClaim = false [ localStoragePrefix ] = localStoragePrefix > < / claim-projects-search-form >
2017-12-19 13:53:46 +01:00
2018-07-25 15:56:02 +02:00
< claim-contexts-search-form * ngIf = " linkTo =='context' " [ communityId ] = communityId [ ( selectedList ) ] = " contexts " [ projects ] = " projects " [ results ] = " results " [ inlineEntity ] = " inlineResult " [ ( properties ) ] = properties inlineClaim = false [ localStoragePrefix ] = localStoragePrefix > < / claim-contexts-search-form >
2017-12-19 13:53:46 +01:00
2018-07-25 15:56:02 +02:00
< claim-result-search-form * ngIf = " linkTo =='result' && show!='claim' " [ selectedResults ] = " results " [ ( properties ) ] = properties [ localStoragePrefix ] = localStoragePrefix > < / claim-result-search-form >
2017-12-19 13:53:46 +01:00
< / div >
2018-03-13 17:02:22 +01:00
2018-07-25 15:56:02 +02:00
< / div >
< div * ngIf = " show == 'claim' " class = "uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l " >
< claim-selected-results * ngIf = " linkTo =='result' " title = "Selected Research Results" [ results ] = " results " [ bulkMode ] = false showSearch = false showAccessRights = true
[localStoragePrefix]=localStoragePrefix>< / claim-selected-results >
< div class = "uk-width-1-1 uk-margin-small-top" >
< claim-insert class = "uk-float-right" [ contexts ] = " contexts " [ results ] = " results " [ projects ] = " projects " [ inlineEntity ] = inlineResult [ show ] = " show "
[(properties)]=properties [localStoragePrefix]=localStoragePrefix >< / claim-insert >
2017-12-19 13:53:46 +01:00
< / div >
2018-07-25 15:56:02 +02:00
< / div >
2017-12-19 13:53:46 +01:00
2018-07-25 15:56:02 +02:00
< ul * ngIf = "linkTo == 'result'" class = " uk-pagination uk-flex-center uk-margin-auto uk-text-center" >
< li * ngIf = "show == 'claim'" ( click ) = " show = 'result' ; " > < a > < span class = "uk-margin-small-right" uk-pagination-previous > < / span > Previous< / a > < / li >
< li * ngIf = "show != 'claim'" ( click ) = " show = 'claim' ; " >
< a > Next < span uk-pagination-next > < / span > < / a >
< / li >
2017-12-19 13:53:46 +01:00
2018-07-25 15:56:02 +02:00
< / ul >
2017-12-19 13:53:46 +01:00
< / div >
< / div >
< helper position = "right" styleName = " uk-width-1-5" > < / helper >
< / div >
< helper position = "bottom" > < / helper >
< / div >
< / div >
< / div >
< / div >