Project

General

Profile

1
<div id="tm-main" class=" uk-section  uk-margin-small-top tm-middle"   >
2
  <div uk-grid uk-grid>
3
   <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
4
     <schema2jsonld *ngIf="url"  [URL]="url"     name="Linking" type="other"></schema2jsonld>
5

    
6
<div class="uk-container uk-margin-top">
7
  <div class="uk-article-title custom-article-title">
8
        Link
9
  </div>
10
  <div class="uk-width-1-1">
11
    <helper position="top"></helper>
12
  </div>
13
  <div class="uk-grid  helper-grid">
14
    <helper position="left" styleName=" uk-width-1-5 uk-padding-left"></helper>
15
    <div class="uk-width-expand">
16
      <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>
17
      <div *ngIf="validInput != null && validInput">
18
       <ul uk-accordion *ngIf=" ! (linkTo =='result' && show=='claim') " uk-accordion class="uk-padding-small uk-margin-remove-bottom basket-accordion">
19
         <li>
20
            <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">
21
             <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>
22
             <span  class="uk-badge basket-badge ">{{(projects.length + contexts.length + results.length - ((type =="project")?1:0))  | number}}</span>
23
           </h3>
24
             <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">
25
               <start-over [results]="results" [contexts]="contexts" [projects]="projects" [localStoragePrefix]=localStoragePrefix  [linkTo]="linkTo" [type]="type"></start-over>
26
               <claim-selected-projects *ngIf=" linkTo == 'project' "   title="link Projects" [projects]="projects" [show]="show" [linkType]=linkType
27
                (showChange)="showChange($event)"  [localStoragePrefix]=localStoragePrefix > </claim-selected-projects>
28

    
29
             <claim-selected-contexts *ngIf=" linkTo == 'context' "  title="link Communities" [contexts]="contexts"  [projects]="projects"  [results]="results" [inlineEntity] = "inlineResult" [show]="show" [linkType]=linkType
30
             (showChange)="showChange($event)" [localStoragePrefix]=localStoragePrefix > </claim-selected-contexts>
31
             <claim-selected-results *ngIf=" linkTo == 'result' "   title= "Selected Research Results" [results]="results"  [bulkMode]="bulkMode" showSearch=false
32
             showAccessRights=false [localStoragePrefix]=localStoragePrefix></claim-selected-results>
33
             </div>
34
         </li>
35
     </ul>
36
      <div class="uk-card uk-card-default uk-padding-small">
37
        <div class="">
38
              Link your {{((type=='orp')?'research product':type)}}
39
        </div>
40
          <div class="uk-clearfix">
41
            <!--start-over [results]="results" [contexts]="contexts" [projects]="projects" [linkTo]="linkTo" [type]="type" ></start-over-->
42
          </div>
43
            <!-- inline result -->
44
              <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 " >
45
                     <div>
46
                      <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>
47

    
48
                      <span *ngIf="!displayedResult.url" > {{((displayedResult.title == undefined || displayedResult.title == '')?'[no title available]':displayedResult.title)}}</span>
49
                    </div>
50
                    <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>
51

    
52

    
53
            </div>
54
            <!-- inline project -->
55
            <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="">
56
            {{projects[0].funderName}} | {{projects[0].projectName}} {{(projects[0].projectAcronym)?'('+projects[0].projectAcronym+')':''}}
57

    
58
            </div>
59

    
60
      <!-- search for entity -->
61
      <div class="uk-margin-top  ">
62
            to one or more {{(linkTo =='project')?'projects':''}} {{(linkTo =='context')?'communities':''}} {{(linkTo =='result')?((type !='project'?' other':'')+' research results'):''}}
63
      </div>
64
        <div class = "uk-margin-top uk-margin-left uk-margin-right uk-margin-bottom">
65

    
66
                  <claim-projects-search-form *ngIf=" linkTo =='project'  "    [(selectedProjects)]="projects"   [(properties)] = properties inlineClaim=false [localStoragePrefix]=localStoragePrefix> </claim-projects-search-form>
67

    
68
                  <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>
69

    
70
                  <claim-result-search-form *ngIf=" linkTo =='result' && show!='claim' "  [selectedResults]="results"  [(properties)]=properties [localStoragePrefix]=localStoragePrefix > </claim-result-search-form>
71

    
72
          </div>
73

    
74
        </div>
75
        <div  *ngIf="  show == 'claim'  "  class="uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l ">
76
          <claim-selected-results *ngIf=" linkTo =='result'  "  title= "Selected Research Results" [results]="results"  [bulkMode]=false showSearch = false  showAccessRights = true
77
          [localStoragePrefix]=localStoragePrefix></claim-selected-results>
78
          <div class="uk-width-1-1  uk-margin-small-top">
79
            <claim-insert   class="uk-float-right"  [contexts]="contexts" [results]="results"  [projects]="projects" [inlineEntity] = inlineResult  [show] = "show"
80
            [(properties)]=properties [localStoragePrefix]=localStoragePrefix ></claim-insert>
81

    
82
          </div>
83
        </div>
84

    
85
        <ul *ngIf="linkTo == 'result'" class=" uk-pagination uk-flex-center uk-margin-auto uk-text-center">
86
            <li  *ngIf="show == 'claim'"  (click)="show='result';"><a><span class="uk-margin-small-right" uk-pagination-previous></span>  Previous</a></li>
87
            <li  *ngIf="show != 'claim'"(click)="show='claim';" >
88
              <a>Next <span uk-pagination-next></span></a>
89
            </li>
90

    
91
        </ul>
92
        </div>
93
        </div>
94
        <helper position="right" styleName=" uk-width-1-5"></helper>
95
    </div>
96
    <helper position="bottom"></helper>
97
  </div>
98
</div>
99
</div>
100
</div>
(1-1/3)