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
      <div class="uk-container uk-margin-top orp">
5
        <div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning  uk-margin-large-top" role="alert">{{warningMessage}}</div>
6
        <div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger  uk-margin-large-top" role="alert">{{errorMessage}}</div>
7
        <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>
8

    
9
        <div *ngIf="orpInfo != null" uk-grid class="uk-grid-large">
10
          <div class="uk-width-expand@m uk-width-1-1@s">
11
            <schema2jsonld *ngIf="orpInfo.record" [data]=orpInfo.record [URL]="properties.baseLink+'/search/orp?orpId='+orpId"></schema2jsonld>
12
            <showTitle   [titleName]="orpInfo.title"></showTitle>
13
            <span *ngIf="orpInfo.types && orpInfo.types.length > 0"class="uk-label custom-label label-orp " title="Type">{{orpInfo.types.join(", ")}}</span>
14
            <span *ngIf="orpInfo.languages && orpInfo.languages.length > 0" class="uk-label custom-label  label-language " title="Language">{{orpInfo.languages.join(", ")}}</span>
15
            <span *ngIf="orpInfo.countries && orpInfo.countries.length > 0" class="uk-label custom-label  label-country " title="Country">{{orpInfo.countries.join(", ")}}</span>
16
            <span *ngIf="orpInfo.accessMode" [class]="'uk-label custom-label   label-'+ orpInfo.accessMode " title="Access Mode">{{orpInfo.accessMode}}</span>
17
            <span *ngIf="orpInfo.underCurationMessage" class="uk-label custom-label label-underCuration">
18
              <span uk-tooltip="pos:right; delay:10"
19
                    title="{{buildCurationTooltip()}}">
20
                  <i>Record in preview</i>
21
                  <i class="uk-icon-info-circle"></i>
22
              </span>
23
            </span>
24

    
25
            <div class= " uk-margin-top">
26
              <showAuthors [authors]="orpInfo.authors" searchPage="orps"></showAuthors>
27
              <span *ngIf="orpInfo.date != ''">({{orpInfo.date}})</span>
28
            </div>
29

    
30
            <ul class="uk-list">
31
              <li *ngIf="orpInfo.publisher"><span class="uk-text-bold">Publisher:</span> {{orpInfo.publisher}}</li>
32
              <li *ngIf="orpInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{orpInfo.embargoEndDate}}</li>
33
              <li *ngIf="orpInfo.identifiers && orpInfo.identifiers.size > 0">
34
                <showIdentifiers [identifiers]="orpInfo.identifiers"></showIdentifiers>
35
              </li>
36
              <li *ngIf="orpInfo.subjects ||orpInfo.otherSubjects ||  orpInfo.classifiedSubjects">
37
                <showSubjects [subjects]="orpInfo.subjects"
38
                              [otherSubjects]="orpInfo.otherSubjects"
39
                              [classifiedSubjects]="orpInfo.classifiedSubjects">
40
                </showSubjects>
41
              </li>
42
            </ul>
43
            <hr *ngIf="orpInfo.description">
44
            <div *ngIf="orpInfo.description" class="uk-margin-bottom uk-text-justify descriptionText">
45
              {{orpInfo.description}}
46
            </div>
47

    
48
            <ul class="custom-accordion" uk-accordion>
49
              <li *ngIf="orpInfo.references" (click)="activeTab='References'">
50
                  <a class="uk-accordion-title" href="#">
51
                      References ({{orpInfo.references.length | number}})
52
                  </a>
53
                  <div class="uk-accordion-content">
54
                    <div>
55
                        <div *ngIf="orpInfo.references.length > pageSize" class="uk-margin-bottom">
56
                          <span class="uk-h6">{{orpInfo.references.length | number}} references, page {{referencesPage | number}} of {{totalPages(orpInfo.references.length) | number}}</span>
57
                          <paging-no-load class="uk-float-right" [currentPage]="referencesPage" [totalResults]="orpInfo.references.length" [size]="pageSize" (pageChange)="updateReferencesPage($event)"></paging-no-load>
58
                        </div>
59

    
60
                        <div *ngFor="let item of orpInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
61
                            <p *ngIf=" item && item['url']"
62
                                class="custom-external custom-icon">
63
                                <a href="{{item['url']}}" target="_blank">
64
                                    {{item['name']}}
65
                                </a>
66
                            </p>
67
                            <p  *ngIf="!item['url']" class="pseudo-external custom-icon">
68
                                {{item['name']}}
69
                            </p>
70
                        </div>
71
                    </div>
72
                  </div>
73
               </li>
74

    
75
              <li *ngIf="orpInfo.relatedResearchResults" (click)="activeTab='Related Research Results'">
76
                <a class="uk-accordion-title" href="#">
77
                  Related Research Results
78
                  <!-- <span class="uk-badge uk-badge-notification"> -->
79
                   ({{relatedResearchResultsNum | number}})
80
                  <!-- </span> -->
81
                </a>
82
                <div class="uk-accordion-content">
83
                  <div>
84
                    <div *ngFor="let provenanceaction of getKeys(orpInfo.relatedResearchResults)">
85
                      <div class="uk-text-large">{{provenanceaction}}</div>
86
                      <tabTable [percentageName]="trust" [info]="orpInfo.relatedResearchResults.get(provenanceaction)" [(properties)]=properties></tabTable>
87
                    </div>
88
                  </div>
89
                </div>
90
              </li>
91

    
92
              <li *ngIf="orpInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
93
                <a class="uk-accordion-title" href="#">
94
                  Similar Research Results
95
                  <!-- <span class="uk-badge uk-badge-notification"> -->
96
                    ({{orpInfo.similarResearchResults.length | number}})
97
                  <!-- </span> -->
98
                </a>
99
                <div class="uk-accordion-content">
100
                  <div>
101
                    <tabTable [percentageName]="similarity" [info]="orpInfo.similarResearchResults" [(properties)]=properties></tabTable>
102
                  </div>
103
                </div>
104
              </li>
105

    
106
              <li (click)="metricsClicked=true; activeTab='Metrics'">
107
                <a class="uk-accordion-title" href="#">
108
                  Metrics
109
                </a>
110
                <div class="uk-accordion-content">
111
                  <metrics  [pageViews]="pageViews"
112
                            [id]="orpId" [entityType]="'results'" [entity]="'Other Research Product'"
113
                            (metricsResults)="metricsResults($event)" [(properties)] = properties>
114
                  </metrics>
115
                  <i-frame *ngIf="metricsClicked && totalViews > 0"
116
                            [url]=viewsFrameUrl width="100%" height="250">
117
                  </i-frame>
118
                  <i-frame *ngIf="metricsClicked && totalDownloads > 0"
119
                           [url]=downloadsFrameUrl width="100%" height="250">
120
                  </i-frame>
121
                </div>
122
              </li>
123
            </ul>
124
          </div>
125

    
126
          <div class="uk-width-large@m uk-width-1-1@s">
127
            <div class="  uk-padding-small">
128
              <div>
129
                <div  class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
130
                <addThis></addThis>
131
              </div>
132
              <altmetrics *ngIf="orpInfo.identifiers && orpInfo.identifiers.get('doi')"
133
                          id="{{orpInfo.identifiers.get('doi')[0]}}" type="doi">
134
              </altmetrics>
135
              <ul class="uk-list">
136
                <li *ngIf="orpInfo.hostedBy_collectedFrom && orpInfo.hostedBy_collectedFrom.length > 0">
137
                  <availableOn [availableOn]="orpInfo.hostedBy_collectedFrom"></availableOn>
138
                </li>
139
                <li *ngIf="orpInfo.fundedByProjects != undefined && orpInfo.fundedByProjects.length > 0">
140
                  <fundedBy [fundedByProjects]="orpInfo.fundedByProjects"></fundedBy>
141
                </li>
142
                <li  *ngIf="orpInfo.contexts && orpInfo.contexts.length >0 ">
143
                  <dl class="uk-description-list-line" >
144
                    <dt class="sideInfoTitle">Related to </dt>
145
                      <dd class="line" *ngFor="let item of orpInfo.contexts">
146
                        <span *ngIf = "!item['inline']" >
147
                          <span>{{item['labelContext']}}</span>
148
                          <span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
149
                          <span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
150
                        </span>
151
                        <mark *ngIf = "item['inline']" >
152
                          <span>{{item['labelContext']}}</span>
153
                          <span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
154
                          <span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
155
                        </mark>
156
                      </dd>
157
                  </dl>
158
              </li>
159
              <li>
160

    
161
                <div class="sideInfoTitle  cite-this-button uk-width-1-1" type="button">
162
                  Cite this research product
163
                </div>
164
                <div class="">
165
                  <citeThis [result]="orpInfo" [id]="orpId" type="other research product"></citeThis>
166
                </div>
167

    
168
              </li>
169
            </ul>
170
            <button   class="   uk-button portal-button uk-width-1-1  ">
171
              <span class="uk-icon">
172
                <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>
173
              </span> Link this product to...
174
            </button>
175

    
176
            <div   uk-dropdown="pos: bottom-left; mode:click" style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;">
177
              <ul class="uk-iconnav uk-iconnav-vertical">
178
                <li  uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size   '>Projects</div>">
179
                  <a   class="   uk-icon-button portal-button shadowBox"  style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','project'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
180
                    <span class="uk-icon" >
181
                      <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" height="1"></rect><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span>
182
                  </a>
183
                </li>
184
                <li  uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size   '>Communities</div>">
185
                  <a   class="   uk-icon-button portal-button shadowBox"  style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','context'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
186
                    <span class="uk-icon"  >
187
                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" 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"></path></svg></span>
188
                  </a>
189
                </li>
190
                <li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size   uk-margin-small'>Other research results</div>">
191
                  <a   class="   uk-icon-button portal-button shadowBox"  style="padding: 6px;"  [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','result'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
192
                    <span class="uk-icon" >
193
                      <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span>
194
                  </a>
195
                </li>
196
              </ul>
197
            </div>
198
          </div>
199
        </div>
200
      </div>
201
      <!-- Claiming FAB -->
202
      <!--div class="uk-inline">
203
        <div   class="   uk-float-right  " style="z-index: 200; bottom: 55px; position: fixed; right: 45%;">
204
          <button   class="   uk-button uk-button-danger  ">
205
            <span class="uk-icon">
206
              <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>
207
            </span> Link this product to
208
          </button>
209

    
210
          <div   uk-dropdown="pos: top-right; mode:click" style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;">
211
            <ul class="uk-iconnav uk-iconnav-vertical">
212
              <li  uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light  '>Projects</div>">
213
                <a   class="   uk-icon-button uk-button-primary  shadowBox"  style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','project'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
214
                  <span class="uk-icon" >
215
                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" height="1"></rect><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span>
216
                </a>
217
              </li>
218
              <li  uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light '>Communities</div>">
219
                <a   class="   uk-icon-button uk-button-primary  shadowBox"  style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','context'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
220
                  <span class="uk-icon"  >
221
                  <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" stroke-width="1.1" 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"></path><path fill="none" stroke="#000" stroke-width="1.1" 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"></path></svg></span>
222
                </a>
223
              </li>
224
              <li uk-tooltip="pos:left;" title="<div class='tooltip-custom-font-size uk-light uk-margin-small'>Other research results</div>">
225
                <a   class="   uk-icon-button uk-button-primary  shadowBox"  style="padding: 6px;"  [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[orpId,'orp','result'])"   routerLinkActive="router-link-active" routerLink="/participate/direct-claim" >
226
                  <span class="uk-icon" >
227
                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span>
228
                </a>
229
              </li>
230
            </ul>
231
          </div>
232

    
233
         </div>
234
       </div-->
235
     </div>
236
   </div>
237
 </div>
238
</div>
(1-1/4)