Project

General

Profile

1
<ng-template #share_research_results_box
2
             let-dynamic_content="dynamic_content">
3
  <ul class="uk-list uk-margin-remove-bottom">
4
    <li class="uk-margin-top">
5
      <a class="clickable"
6
         uk-toggle="target: #dynamic_content_id; animation:uk-animation-fade"><span
7
        class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20"
8
                             xmlns="http://www.w3.org/2000/svg" icon="code" ratio="1"><polyline
9
        fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"></polyline><polyline
10
        fill="none" stroke="#000" stroke-width="1.01"
11
        points="7,4 1,10 7,16"></polyline></svg></span> Include in your site (HTML)</a>
12
      <div hidden id="dynamic_content_id" class="uk-margin-small-top">
13
        <div class="uk-grid">
14
          <a
15
            class="clipboard_btn uk-padding-remove-left uk-margin-small-left uk-text-right uk-width-1-1"
16
            data-clipboard-target="#clipboard" title="Copy to clipboard">
17
            <button class="uk-button uk-button-small uk-button-default uk-icon">
18
              <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1">
19
                <rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect>
20
                <polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline>
21
              </svg>
22
              <span class="uk-margin-small-left">COPY</span>
23
            </button>
24
          </a>
25
        </div>
26

    
27
        <pre class="box-content uk-padding-remove-bottom uk-margin-remove-bottom"><code
28
          id="clipboard">{{dynamic_content}}</code></pre>
29
        <div class="uk-text-small uk-margin-small-top">
30
          For further information contact us at
31
          <u><a [href]="'mailto:'+properties.helpdeskEmail" class="uk-link-text">{{properties.helpdeskEmail}}</a></u>
32
        </div>
33

    
34
      </div>
35
    </li>
36
  </ul>
37
</ng-template>
38
<ng-template #download_research_results_box
39
             let-type="type" let-fileName_type="fileName_type" let-csvParams="csvParams">
40
  <ul class="uk-list uk-margin-remove-bottom">
41
    <li class="uk-margin-top">
42
      <a class="clickable"
43
         (click)="downloadHtmlFile(type, 'funder-'+fileName_type+'-report')">
44
<!--         target="_blank"-->
45
<!--         href="/project-report?projectId={{projectId}}&size={{fetch.searchUtils.totalResults}}&type={{type}}">-->
46
<!--        <span class="uk-icon">-->
47
<!--          <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="code" ratio="1">-->
48
<!--            <polyline fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"></polyline>-->
49
<!--            <polyline fill="none" stroke="#000" stroke-width="1.01" points="7,4 1,10 7,16"></polyline></svg>-->
50
<!--        </span>-->
51
        <span class="uk-icon">
52
          <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="download" ratio="1">
53
            <polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"></polyline>
54
            <rect x="3" y="17" width="13" height="1"></rect>
55
            <line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"></line>
56
          </svg>
57
        </span>
58
        Download {{projectInfo.funding.funderShortName}} report (HTML)
59
      </a>
60
    </li>
61
    <li class="uk-margin-small-top">
62
      <a class="clickable" (click)="downloadCsvFile(downloadURLAPI+csvParams, 'funder-'+fileName_type+'-report')">
63
        <span class="uk-icon">
64
          <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="download" ratio="1">
65
            <polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"></polyline>
66
            <rect x="3" y="17" width="13" height="1"></rect>
67
            <line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"></line>
68
          </svg>
69
        </span>
70
        Download {{projectInfo.funding.funderShortName}} report (CSV)
71
      </a>
72
    </li>
73
  </ul>
74
</ng-template>
75

    
76
<ng-template #search_box let-fetch="fetch" let-type="type" let-typeName="typeName">
77
  <div *ngIf="fetch.searchUtils.totalResults > 0">
78
    <div class="uk-position-relative">
79
      <a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"
80
         [routerLink]="properties.searchLinkToAdvancedResults">
81
        <div class="header target uk-text-bold">{{typeName}}</div>
82
        <div class="icon uk-position-center" uk-icon="icon: search;"></div>
83
        <div class="footer target uk-position-relative">
84
          <span class="uk-text-bold uk-position-center">{{fetch.searchUtils.totalResults | number}}</span>
85
        </div>
86
      </a>
87
    </div>
88
  </div>
89
</ng-template>
90

    
91
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
92
  <div *ngIf="!showFeedback" uk-grid>
93
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
94

    
95
      <div id="project" class="uk-container uk-container-large project">
96
        <div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
97
             role="alert">{{warningMessage}}</div>
98
        <div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger  uk-margin-large-top"
99
             role="alert">{{errorMessage}}</div>
100
        <div [style.display]="showLoading ? 'inline' : 'none'"
101
             class="uk-animation-fade uk-margin-large-top  uk-width-1-1" role="alert"><span
102
          class="loading-gif  uk-align-center"></span></div>
103
        <helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
104
                [texts]="pageContents['top']"></helper>
105
        <div *ngIf="projectInfo != null"  class="uk-grid">
106
          <div class="uk-width-2-3@m uk-width-1-1@s  uk-margin-bottom">
107
            <schema2jsonld *ngIf="projectInfo" [data]=projectInfo
108
                           [URL]="properties.baseLink+properties.searchLinkToProject+projectId"
109
                           type="project"></schema2jsonld>
110
            <landing-header [properties]="properties" [title]="projectName"
111
                            [subTitle]="projectInfo.acronym ? projectInfo.title : ''"
112
                            [entityType]="'project'"
113
                            [startDate]="projectInfo.startDate"
114
                            [endDate]="projectInfo.endDate"
115
                            [status]="projectInfo.status">
116
            </landing-header>
117
            <!-- Labels -->
118
            <div class="uk-margin-top uk-margin-bottom">
119
              <span *ngIf="projectInfo.openAccessMandatePublications != undefined && projectInfo.openAccessMandatePublications && projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets"
120
                    class="uk-label custom-label  label-open" title="Open Access mandate for Publications and Research Data">
121
                <span class="uk-visible@m">Open Access mandate for Publications and Research Data</span>
122
                <span class="uk-hidden@m">Open Access mandate for ...</span>
123
              </span>{{" "}}
124
              <span *ngIf="projectInfo.openAccessMandatePublications != undefined && projectInfo.openAccessMandatePublications && (projectInfo.openAccessMandateDatasets == undefined || !projectInfo.openAccessMandateDatasets)"
125
                    class="uk-label custom-label label-open" title="Open Access mandate for Publications">
126
                Open Access mandate for Publications
127
              </span>{{" "}}
128
              <span *ngIf="projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets && (projectInfo.openAccessMandatePublications == undefined || !projectInfo.openAccessMandatePublications)"
129
                    class="uk-label custom-label label-open" title="Open Access mandate for Research Data">
130
                Open Access mandate for Research Data
131
              </span>{{" "}}
132
              <span *ngIf="projectInfo.funding && projectInfo.funding.funderName" class="uk-label custom-label label-funder" title="Funder">
133
                {{projectInfo.funding.funderName}}
134
              </span>{{" "}}
135
              <span *ngIf="projectInfo.specialClause39"
136
                    class="uk-label custom-label label-sc39" title="Special Clause 39">
137
                Special Clause 39
138
              </span>{{" "}}
139
            </div>
140
            <ul class="uk-list uk-margin-bottom left-border">
141
              <li *ngIf="projectInfo.funding">
142
                <span *ngIf="projectInfo.funding.funderName" class="uk-margin-right">
143
                  <span class="uk-text-muted">Funder: </span>
144
                  {{projectInfo.funding.funderName}}
145
                </span>
146
                <span *ngIf="projectInfo.funding.code" class="uk-display-inline-block">
147
                  <span class="uk-text-muted">Project code: </span>
148
                  {{projectInfo.funding.code}}
149
                </span>
150
              </li>
151
              <li *ngIf="projectInfo.funding">
152
                <span *ngIf="projectInfo.funding.fundingStream" class="uk-margin-right">
153
                  <span class="uk-text-muted">Funded under: </span>
154
                  {{projectInfo.funding.fundingStream}}
155
                </span>
156
                <span *ngIf="projectInfo.funding.budget" class="uk-margin-right uk-display-inline-block">
157
                  <span class="uk-text-muted">Overall Budget: </span>
158
                  {{projectInfo.funding.budget | number}}
159
                  <span *ngIf="projectInfo.funding.currency">{{projectInfo.funding.currency}}</span>
160
                </span>
161
                <span *ngIf="projectInfo.funding.contribution" class="uk-display-inline-block">
162
                  <span class="uk-text-muted">Funder Contribution: </span>
163
                  {{projectInfo.funding.contribution | number}}
164
                  <span *ngIf="projectInfo.funding.currency">{{projectInfo.funding.currency}}</span>
165
                </span>
166
              </li>
167
              <li *ngIf="projectInfo.status" class="uk-margin-right">
168
                <span>
169
                  <span class="uk-text-muted">Status: </span>
170
                  {{projectInfo.status}}
171
                </span>
172
              </li>
173
              <li *ngIf="projectInfo.startDate || projectInfo.endDate" class="uk-width-2-5">
174
                <progress *ngIf="projectInfo.startDate && projectInfo.endDate"
175
                          class="uk-progress green-progress uk-margin-small-top uk-margin-remove-bottom"
176
                          [value]="(projectInfo.currentDate > projectInfo.startDate ? projectInfo.currentDate-projectInfo.startDate : 0)"
177
                          [max]="projectInfo.endDate-projectInfo.startDate">
178
                </progress>
179
                <div class="uk-grid">
180
                  <span *ngIf="projectInfo.startDate" class="uk-width-1-2">
181
                    <div class="uk-text-muted">Start Date</div>
182
                    <div>{{projectInfo.startDate | date: 'dd MMM yyyy'}}</div>
183
                  </span>
184
                  <span *ngIf="projectInfo.endDate" [class]="'uk-width-1-2 ' + (projectInfo.startDate ? 'uk-text-right' : '')">
185
                    <div class="uk-text-muted">End Date</div>
186
                    <div>{{projectInfo.endDate | date: 'dd MMM yyyy'}}</div>
187
                  </span>
188
                </div>
189
              </li>
190
              <li *ngIf="projectInfo.urlInfo ">
191
                <span class="uk-button-text">
192
                    <a target="_blank" href="{{projectInfo.url}}">
193
                        {{projectInfo.urlInfo}}
194
                    </a>
195
                </span>
196
              </li>
197
            </ul>
198
            <ul class="uk-list uk-margin-bottom">
199
              <li *ngIf="projectInfo.openAccessMandatePublications != undefined || projectInfo.openAccessMandateDatasets != undefined">
200
                <span *ngIf="projectInfo.openAccessMandatePublications != undefined" class="uk-margin-right">
201
                  <span class="uk-text-muted">Open Access mandate for Publications: </span>
202
                  <span *ngIf="projectInfo.openAccessMandatePublications">Yes</span>
203
                  <span *ngIf="!projectInfo.openAccessMandatePublications">No</span>
204
                </span>
205
                <span *ngIf="projectInfo.openAccessMandateDatasets != undefined">
206
                  <span class="uk-text-muted">Open Access mandate for Research Data: </span>
207
                  <span *ngIf="projectInfo.openAccessMandateDatasets">Yes</span>
208
                  <span *ngIf="!projectInfo.openAccessMandateDatasets">No</span>
209
                </span>
210
              </li>
211
              <!-- Organizations -->
212
              <li *ngIf="projectInfo.organizations && projectInfo.organizations.length > 0" class="uk-margin-bottom">
213
                <div class="uk-height-max-medium uk-overflow-auto">
214
                  <span class="uk-text-muted">Organizations: </span>
215
                  <span *ngFor="let organization of projectInfo.organizations.slice(0, showNumOrganizations) let i=index"
216
                        [attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
217
                        [title]="organization.name">
218
                    <a *ngIf="organization.id"
219
                       [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
220
                       routerLink="/search/organization">
221
                      <u>{{(organization.acronym) ? organization.acronym : ''}}</u>
222
                      <u>{{(!organization.acronym && organization.name) ? organization.name : ''}}</u>
223
                    </a>
224
                    <span *ngIf="!organization.id">
225
                      <span *ngIf="organization.acronym">{{organization.acronym}}</span>
226
                      <span *ngIf="!organization.acronym && organization.name">{{organization.name}}</span>
227
                      <span *ngIf="(i < projectInfo.organizations.length-1)">,</span>
228
                    </span>
229
                    <span *ngIf="(i < projectInfo.organizations.length-1)">, </span>
230
                  </span>
231
                  <span *ngIf="showNumOrganizations == thresholdOrganizations &&  projectInfo.organizations.length > thresholdOrganizations">	... </span>
232
                </div>
233
                <div *ngIf="showNumOrganizations == thresholdOrganizations && projectInfo.organizations.length > thresholdOrganizations"
234
                     class="uk-width-1-1 uk-text-right">
235
                  <a (click)="showNumOrganizations = projectInfo.organizations.length;">
236
                    View all {{projectInfo.organizations.length | number}} organizations
237
                  </a>
238
                </div>
239
                <div *ngIf="showNumOrganizations > thresholdOrganizations" class="uk-width-1-1 uk-text-right">
240
                  <a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>
241
                </div>
242
              </li>
243
            </ul>
244

    
245
            <!-- Description -->
246
            <div *ngIf="projectInfo.description" class="uk-margin-bottom">
247
              <div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
248
                <span class="uk-text-muted">Description: </span>
249
                <span>{{projectInfo.description.substring(0, showNumDescription)}}</span>
250
                <span *ngIf="showNumDescription == thresholdDescription &&
251
                       projectInfo.description.length > thresholdDescription">...</span>
252
              </div>
253
              <div *ngIf="showNumDescription == thresholdDescription &&
254
                    projectInfo.description.length > thresholdDescription" class="uk-text-right">
255
                <a (click)="showNumDescription = projectInfo.description.length;">
256
                  View more
257
                </a>
258
              </div>
259
              <div *ngIf="projectInfo.description && showNumDescription > thresholdDescription"
260
                   class="uk-text-right">
261
                <a (click)="showNumDescription = thresholdDescription;">
262
                  View less
263
                </a>
264
              </div>
265
            </div>
266

    
267
            <div class="uk-margin-medium-top">
268
              <div class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
269
                <div (click)="openStatistics()" class="clickable uk-margin-right">
270
                  <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
271
                    <path d="M0 0h24v24H0z" fill="none"></path>
272
                    <path id="statistics-bars" d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>
273
                  </svg>
274
                  <span class="uk-text-middle space">View statistics</span>
275
                </div>
276
              </div>
277

    
278
              <div *ngIf="fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
279
                       || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0"
280
                   class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
281
                   uk-height-match="target: .target; row: false"
282
                   uk-grid>
283
                <ng-container *ngTemplateOutlet="search_box;
284
                            context: {  fetch: fetchPublications, type: 'publications', typeName: 'Publications'}">
285
                </ng-container>
286
                <ng-container *ngTemplateOutlet="search_box;
287
                            context: {  fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data'}">
288
                </ng-container>
289
                <ng-container *ngTemplateOutlet="search_box;
290
                            context: {  fetch: fetchSoftware, type: 'software', typeName: 'Software'}">
291
                </ng-container>
292
                <ng-container *ngTemplateOutlet="search_box;
293
                            context: {  fetch: fetchOrps, type: 'other', typeName: 'Other Research Products'}">
294
                </ng-container>
295
              </div>
296
            </div>
297
            <div class="uk-margin-small-top uk-flex uk-flex-bottom">
298
              <img src="assets/common-assets/graph.svg" style="opacity: 0.4">
299
              <span class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
300
            </div>
301

    
302
<!--            <ul class="custom-accordion" uk-accordion>-->
303

    
304
<!--              <li (click)="activeTab='Publications'; searchPublicationsInit()">-->
305
<!--                <a class="uk-accordion-title" href="#">-->
306
<!--                  Publications-->
307
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
308
<!--                  ({{fetchPublications.searchUtils.totalResults | number}})-->
309
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
310
<!--                </a>-->
311
<!--                <div class="uk-accordion-content">-->
312
<!--                  <errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'"-->
313
<!--                                 tab_error_class=true></errorMessages>-->
314

    
315
<!--                  <div *ngIf="fetchPublications.searchUtils.status == errorCodes.DONE">-->
316
<!--                    <div class="uk-text-right" *ngIf="fetchPublications.searchUtils.totalResults > 10">-->
317
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
318
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchPublications"-->
319
<!--                         class="uk-button uk-button-text">-->
320
<!--                        View all {{fetchPublications.searchUtils.totalResults | number}} results-->
321
<!--                      </a>-->
322
<!--                    </div>-->
323
<!--                    <tab-result [(results)]="fetchPublications.results"-->
324
<!--                                [(status)]="fetchPublications.searchUtils.status"-->
325
<!--                                type="publication" urlParam="articleId">-->
326
<!--                    </tab-result>-->
327
<!--                  </div>-->
328
<!--                </div>-->
329
<!--              </li>-->
330

    
331
<!--              <li (click)="activeTab='Research Data'; searchDatasetsInit()">-->
332
<!--                <a class="uk-accordion-title" href="#">-->
333
<!--                  Research Data-->
334
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
335
<!--                  ({{fetchDatasets.searchUtils.totalResults | number}})-->
336
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
337
<!--                </a>-->
338
<!--                <div class="uk-accordion-content">-->
339
<!--                  <errorMessages [status]="[fetchDatasets.searchUtils.status]" [type]="'research data'"-->
340
<!--                                 tab_error_class=true></errorMessages>-->
341

    
342
<!--                  <div *ngIf="fetchDatasets.searchUtils.status == errorCodes.DONE">-->
343

    
344
<!--                    <div class="uk-text-right" *ngIf="fetchDatasets.searchUtils.totalResults > 10">-->
345
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
346
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchDatasets"-->
347
<!--                         class="uk-button uk-button-text">-->
348
<!--                        View all {{fetchDatasets.searchUtils.totalResults | number}} results-->
349
<!--                      </a>-->
350
<!--                    </div>-->
351
<!--                    <tab-result [(results)]="fetchDatasets.results"-->
352
<!--                                [(status)]="fetchDatasets.searchUtils.status"-->
353
<!--                                type="dataset" urlParam="datasetId">-->
354
<!--                    </tab-result>-->
355
<!--                  </div>-->
356
<!--                </div>-->
357
<!--              </li>-->
358

    
359
<!--              <li (click)="activeTab='Software'; searchSoftwareInit()">-->
360
<!--                <a class="uk-accordion-title" href="#">-->
361
<!--                  Software-->
362
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
363
<!--                  ({{fetchSoftware.searchUtils.totalResults | number}})-->
364
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
365
<!--                </a>-->
366
<!--                <div class="uk-accordion-content">-->
367
<!--                  <errorMessages [status]="[fetchSoftware.searchUtils.status]" [type]="'software'"-->
368
<!--                                 tab_error_class=true></errorMessages>-->
369

    
370
<!--                  <div *ngIf="fetchSoftware.searchUtils.status == errorCodes.DONE">-->
371

    
372
<!--                    <div class="uk-text-right" *ngIf="fetchSoftware.searchUtils.totalResults > 10">-->
373
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
374
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchSoftware"-->
375
<!--                         class="uk-button uk-button-text">-->
376
<!--                        View all {{fetchSoftware.searchUtils.totalResults | number}} results-->
377
<!--                      </a>-->
378
<!--                    </div>-->
379
<!--                    <tab-result [(results)]="fetchSoftware.results"-->
380
<!--                                [(status)]="fetchSoftware.searchUtils.status"-->
381
<!--                                type="software" urlParam="softwareId">-->
382
<!--                    </tab-result>-->
383
<!--                  </div>-->
384
<!--                </div>-->
385
<!--              </li>-->
386

    
387
<!--              <li (click)="activeTab='Other Research Products'; searchOrpsInit()">-->
388
<!--                <a class="uk-accordion-title" href="#">-->
389
<!--                  Other Research Products-->
390
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
391
<!--                  ({{fetchOrps.searchUtils.totalResults | number}})-->
392
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
393
<!--                </a>-->
394
<!--                <div class="uk-accordion-content">-->
395
<!--                  <errorMessages [status]="[fetchOrps.searchUtils.status]" [type]="'other research products'"-->
396
<!--                                 tab_error_class=true></errorMessages>-->
397

    
398
<!--                  <div *ngIf="fetchOrps.searchUtils.status == errorCodes.DONE">-->
399

    
400
<!--                    <div class="uk-text-right" *ngIf="fetchOrps.searchUtils.totalResults > 10">-->
401
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
402
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchOrps"-->
403
<!--                         class="uk-button uk-button-text">-->
404
<!--                        View all {{fetchOrps.searchUtils.totalResults | number}} results-->
405
<!--                      </a>-->
406
<!--                    </div>-->
407
<!--                    <tab-result [(results)]="fetchOrps.results"-->
408
<!--                                [(status)]="fetchOrps.searchUtils.status"-->
409
<!--                                type="other" urlParam="orpId">-->
410
<!--                    </tab-result>-->
411
<!--                  </div>-->
412
<!--                </div>-->
413
<!--              </li>-->
414

    
415
<!--              <li (click)="activeTab='Statistics'; statsClicked=true">-->
416
<!--                <a class="uk-accordion-title" href="#">-->
417
<!--                  Statistics-->
418
<!--                </a>-->
419
<!--                <div class="uk-accordion-content">-->
420
<!--                  <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]"-->
421
<!--                                 [type]="'statistics'" tab_error_class=true></errorMessages>-->
422

    
423
<!--                  <div-->
424
<!--                    *ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">-->
425

    
426
<!--                    <div>-->
427
<!--                      <p class="uk-text-bold">Research Results</p>-->
428
<!--                      <i-frame [url]=chartScientificResultsUrl></i-frame>-->
429
<!--                      <p class="uk-text-bold">Access Mode of Research Results</p>-->
430
<!--                      <i-frame [url]=chartAccessModeUrl></i-frame>-->
431
<!--                      <p class="uk-text-bold">By Datasource of Research Results</p>-->
432
<!--                      <i-frame [url]=chartDatasourcesUrl></i-frame>-->
433
<!--                    </div>-->
434
<!--                  </div>-->
435
<!--                </div>-->
436
<!--              </li>-->
437

    
438
<!--              <li (click)="metricsClicked=true; activeTab='Metrics'">-->
439
<!--                <a class="uk-accordion-title" href="#">-->
440
<!--                  Metrics-->
441
<!--                </a>-->
442
<!--                <div class="uk-accordion-content">-->
443
<!--                  <metrics *ngIf="metricsClicked" [pageViews]="pageViews"-->
444
<!--                           [id]="projectId" [entityType]="'projects'" [entity]="'Project'"-->
445
<!--                           (metricsResults)="metricsResults($event)" [properties]=properties>-->
446
<!--                  </metrics>-->
447
<!--                  <i-frame *ngIf="metricsClicked && totalViews > 0"-->
448
<!--                           [url]=viewsFrameUrl >-->
449
<!--                  </i-frame>-->
450
<!--                  <i-frame *ngIf="metricsClicked && totalDownloads > 0"-->
451
<!--                           [url]=downloadsFrameUrl>-->
452
<!--                  </i-frame>-->
453
<!--                </div>-->
454
<!--              </li>-->
455
<!--            </ul>-->
456
          </div>
457

    
458
          <div class="uk-width-1-3@m uk-width-1-1@s">
459
            <div class="uk-card uk-card-default uk-padding-small">
460
<!--              <div *ngIf="isRouteAvailable('participate/direct-claim') " class=" uk-margin-small-bottom">-->
461

    
462
<!--                <button class="   uk-button portal-button uk-margin-small-top uk-width-1-1">-->
463
<!--              <span class="uk-icon">-->
464
<!--                   <svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20"-->
465
<!--                        height="25"><path-->
466
<!--                     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"-->
467
<!--                     fill="none" stroke="#000" stroke-width="1.1"></path><path-->
468
<!--                     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"-->
469
<!--                     fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975"-->
470
<!--                                                                               fill="none" stroke="#000"-->
471
<!--                                                                               stroke-width="1.1"></path></svg>-->
472
<!--                 </span> Link this project to...-->
473
<!--                </button>-->
474

    
475

    
476
<!--                <div class="  uk-text-center uk-margin-expand uk-padding-small    uk-margin-auto  default-dropdown "-->
477
<!--                     uk-dropdown="mode:click">-->
478
<!--                  <div class="uk-grid    uk-child-width-1-3  uk-width-large ">-->
479

    
480
<!--                    <div><a-->
481
<!--                      [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId,'project','result'])"-->
482
<!--                      routerLinkActive="router-link-active" routerLink="/participate/direct-claim">-->
483
<!--                      <button class="uk-icon-button portal-button">-->
484
<!--                      <span class="uk-icon">-->
485
<!--                           <svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"-->
486
<!--                                xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"-->
487
<!--                                                                         width="12" x="3.5" y="2.5"></rect><polyline-->
488
<!--                             fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>-->
489
<!--                      </button>-->
490
<!--                      <div>Research results</div>-->
491
<!--                    </a></div>-->
492

    
493
<!--                  </div>-->
494
<!--                </div>-->
495
<!--              </div>-->
496

    
497
              <div *ngIf="isRouteAvailable('participate/direct-claim')">
498
                <div class="uk-margin-auto uk-width-3-4">
499
                  <button class="uk-button uk-width-1-1 portal-button">
500
                    <span uk-icon="link"></span>
501
                    Link this project to...
502
                  </button>
503
                </div>
504
                <div class="uk-text-center uk-margin-expand uk-padding-small    uk-margin-auto  default-dropdown "
505
                     uk-dropdown="mode:click">
506
                  <div class="uk-grid uk-child-width-1-3 uk-width-large ">
507
                    <div>
508
                      <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId, 'project','project'])"
509
                         routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
510
                        <button class="uk-icon-button portal-button">
511
                          <span class="uk-icon">
512
                            <svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg">
513
                              <rect height="1" width="10" x="5" y="2"></rect>
514
                              <rect height="1" width="14" x="3" y="4"></rect>
515
                              <rect fill="none" height="11" stroke="#000" width="17" x="1.5" y="6.5"></rect>
516
                            </svg>
517
                          </span>
518
                        </button>
519
                        <div>Projects</div>
520
                      </a>
521
                    </div>
522
                  </div>
523
                </div>
524
              </div>
525
              <div *ngIf="isRouteAvailable('participate/deposit/learn-how')"
526
                   class="uk-margin-small-top uk-margin-auto uk-width-3-4">
527
                <a routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how"
528
                   class="uk-button uk-button-primary uk-width-1-1">
529
                      <span class="uk-icon">
530
                        <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1">
531
                          <polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline>
532
                          <rect x="3" y="17" width="13" height="1"></rect>
533
                          <line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line>
534
                        </svg>
535
                      </span>
536
                  Deposit
537
                </a>
538
              </div>
539

    
540
              <div class="uk-margin-top">
541
                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>
542
                <div class="uk-margin-small-left uk-margin-small-right"><addThis></addThis></div>
543
              </div>
544
              <div class="uk-margin-top">
545
                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share project's content</div>
546
                <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
547
<!--                  <select class="select" id="share_content" name="share_content"-->
548
<!--                          [(ngModel)]="share_research_results_type">-->
549
<!--                    <option value="">Select content type</option>-->
550
<!--                    <option value="publications">Publications</option>-->
551
<!--                    <option value="datasets">Research data</option>-->
552
<!--                    <option value="software">Software</option>-->
553
<!--                    <option value="other">Other research products</option>-->
554
<!--                  </select>-->
555

    
556
                  <div class="uk-padding-small uk-padding-remove-vertical">
557
                    <mat-select [(value)]="share_research_results_type"
558
                                [disableOptionCentering]="true"
559
                                panelClass="entitiesSelectionPanel"
560
                                class="matSelection">
561
                      <mat-option value="">Select content type</mat-option>
562
                      <mat-option value="result">All research outcomes</mat-option>
563
                      <mat-option value="publication">Publications</mat-option>
564
                      <mat-option value="dataset">Research data</mat-option>
565
                      <mat-option value="software">Software</mat-option>
566
                      <mat-option value="other">Other research products</mat-option>
567
                    </mat-select>
568
                    <div *ngIf="share_research_results_type" class="uk-animation-slide-top-small">
569
                      <ng-container *ngTemplateOutlet="share_research_results_box;
570
                        context: {  dynamic_content: getDynamicContent(share_research_results_type) }">
571
                      </ng-container>
572
                    </div>
573
                </div>
574
              </div>
575
              <div *ngIf="projectInfo.funding &&
576
                          (fetchPublications.searchUtils.totalResults > 0 ||
577
                          fetchDatasets.searchUtils.totalResults > 0 ||
578
                          fetchSoftware.searchUtils.totalResults > 0 ||
579
                          fetchOrps.searchUtils.totalResults > 0)"
580
                   class="uk-margin-top">
581
                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Download report</div>
582
                <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
583
<!--                  <select class="select" id="download_report" name="download_report"-->
584
<!--                          [(ngModel)]="download_research_results_type">-->
585
<!--                    <option value="">Select content type</option>-->
586
<!--                    <option value="results">All research outcomes</option>-->
587
<!--                    <option value="publications">Publications</option>-->
588
<!--                    <option value="datasets">Research data</option>-->
589
<!--                    <option value="software">Software</option>-->
590
<!--                    <option value="other">Other research products</option>-->
591
<!--                  </select>-->
592
                  <div class="uk-padding-small uk-padding-remove-vertical">
593
                    <mat-select [(value)]="download_research_results_type"
594
                                [disableOptionCentering]="true"
595
                                panelClass="entitiesSelectionPanel"
596
                                class="matSelection">
597
                      <mat-option value="">Select content type</mat-option>
598
                      <mat-option value="results">All research outcomes</mat-option>
599
                      <mat-option value="publications"
600
                                  [disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE">
601
                        Publications
602
                      </mat-option>
603
                      <mat-option value="datasets"
604
                                  [disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE">
605
                        Research data
606
                      </mat-option>
607
                      <mat-option value="software"
608
                                  [disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE">
609
                        Software
610
                      </mat-option>
611
                      <mat-option value="other"
612
                                  [disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE">
613
                        Other research products
614
                      </mat-option>
615
                    </mat-select>
616
                    <div *ngIf="download_research_results_type" class="uk-animation-slide-top-small">
617
                      <ng-container *ngTemplateOutlet="download_research_results_box;
618
                          context: {  type: download_research_results_type,
619
                                      fileName_type: getFileNameType(download_research_results_type),
620
                                      csvParams: getCsvParams(download_research_results_type) }">
621
                      </ng-container>
622
                    </div>
623
                  </div>
624
                </div>
625
              </div>
626
              <!-- Metrics -->
627
<!--              <div *ngIf="hasAltMetrics" class="uk-margin-top">-->
628
<!--                <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>-->
629
<!--                <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">-->
630
<!--                  <div></div>&lt;!&ndash; Open Citations&ndash;&gt;-->
631
<!--                  <div>-->
632
<!--                    <altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">-->
633
<!--                    </altmetrics>-->
634
<!--                  </div>-->
635
<!--                  <div></div>&lt;!&ndash; OpenAIRE Metrics &ndash;&gt;-->
636
<!--                </div>-->
637
<!--              </div>-->
638

    
639
              <!--              <div class="uk-margin-top">-->
640
<!--                <div class="sideInfoTitle uk-margin-small-bottom">Share project's research results</div>-->
641
<!--                <div>-->
642
<!--                  <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
643
<!--                                  + (share_research_results_type == 'publications' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
644
<!--                       (click)="((share_research_results_type == 'publications') ? share_research_results_type='' : share_research_results_type='publications')">-->
645
<!--                    Publications-->
646
<!--                  </div>-->
647
<!--                  <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
648
<!--                                  + (share_research_results_type == 'datasets' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
649
<!--                       (click)="((share_research_results_type == 'datasets') ? share_research_results_type='' : share_research_results_type='datasets')">-->
650
<!--                      Research data-->
651
<!--                  </div>-->
652
<!--                  <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
653
<!--                                                    + (share_research_results_type == 'software' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
654
<!--                       (click)="((share_research_results_type == 'software') ? share_research_results_type='' : share_research_results_type='software')">-->
655
<!--                      Software-->
656
<!--                  </div>-->
657
<!--                  <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
658
<!--                                                    + (share_research_results_type == 'other' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
659
<!--                       (click)="((share_research_results_type == 'other') ? share_research_results_type='' : share_research_results_type='other')">-->
660
<!--                      Other-->
661
<!--                  </div>-->
662
<!--                </div>-->
663
<!--              </div>-->
664
<!--            </div>-->
665
            </div>
666
            <div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
667
              Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
668
            </div>
669
          </div>
670
          <modal-loading></modal-loading>
671
          <modal-alert #AlertModalCsvError></modal-alert>
672

    
673
        </div>
674
      </div>
675
        <helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
676
                [texts]="pageContents['bottom']"></helper>
677
    </div>
678

    
679
    <!-- Statistics -->
680
    <modal-alert *ngIf="projectInfo"
681
                 classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>
682
      <landing-header [properties]="properties" [title]="projectInfo.acronym"
683
                      [subTitle]="projectInfo.title"
684
                      [entityType]="'project'"
685
                      [startDate]="projectInfo.startDate"
686
                      [endDate]="projectInfo.endDate"
687
                      [status]="projectInfo.status">
688
      </landing-header>
689
      <div class="uk-margin-medium-top uk-margin-medium-right">
690
        <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]"
691
                       [type]="'statistics'" tab_error_class=true></errorMessages>
692

    
693
        <div
694
          *ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">
695
          <div class="uk-padding uk-padding-remove-top">
696
            <span class="uk-text-bold uk-text-small">Produced research results per year</span>
697
            <i-frame [url]=chartScientificResultsUrl></i-frame>
698
          </div>
699
          <div class="uk-padding uk-padding-remove-top">
700
            <span class="uk-text-bold uk-text-small">Access mode of research results</span>
701
            <i-frame [url]=chartAccessModeUrl></i-frame>
702
          </div>
703
          <div class="uk-padding uk-padding-remove-top">
704
            <span class="uk-text-bold uk-text-small">Research results per datasource</span>
705
            <i-frame [url]=chartDatasourcesUrl></i-frame>
706
          </div>
707
        </div>
708
      </div>
709
    </modal-alert>
710
  </div>
711
</div>
712
  <feedback *ngIf="projectInfo && properties.environment === 'development'" [projectInfo]="projectInfo"
713
            [properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
714
            [showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
715
</div>
(1-1/5)