Project

General

Profile

« Previous | Next » 

Revision 58814

[Trunk | Library]: dataProvider.component.html & organization.component.html & project.component.html: Remove old commented code from previous designs of landing pages.

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/dataProvider/dataProvider.component.html
1
<!--<ng-template #search_box let-fetch="fetch" let-type="type" let-typeName="typeName"-->
2
<!--             let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">-->
3
<!--&lt;!&ndash;  *ngIf="fetch.searchUtils.totalResults > 0"&ndash;&gt;-->
4
<!--  <div *ngIf="fetch.searchUtils.totalResults > 0">-->
5
<!--    <div class="uk-position-relative">-->
6
<!--      <a [queryParams]="params" target="_blank"-->
7
<!--         [routerLink]="searchLinkToAdvancedPage">-->
8
<!--        <span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>-->
9
<!--        <div class="header target uk-text-bold">{{typeName}}</div>-->
10
<!--        <div class="icon uk-position-center" uk-icon="icon: search;"></div>-->
11
<!--        <div class="footer target uk-position-relative">-->
12
<!--          <span class="uk-text-bold uk-position-center">{{fetch.searchUtils.totalResults | number}}</span>-->
13
<!--        </div>-->
14
<!--      </a>-->
15
<!--    </div>-->
16
<!--  </div>-->
17
<!--</ng-template>-->
18

  
19
<!--<ng-template #search_tab let-fetch="fetch" let-type="type" let-urlParam="urlParam"-->
20
<!--             let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">-->
21
<!--  <errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(type, true, true)"-->
22
<!--                 tab_error_class=true></errorMessages>-->
23

  
24
<!--  <div *ngIf="fetch.searchUtils.status == errorCodes.DONE">-->
25
<!--    <div class="tab-header">-->
26
<!--      <span *ngIf="type != 'organization' && type != 'dataprovider' && type != 'project'">Recent</span>-->
27
<!--      {{getEntityName(type, true, true)}}-->
28
<!--    </div>-->
29
<!--    <div class="uk-text-right">-->
30
<!--      <a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">-->
31
<!--        View all {{getEntityName(type, true, true)}}-->
32
<!--        <span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>-->
33
<!--      </a>-->
34
<!--    </div>-->
35

  
36
<!--    <search-result [properties]="properties"-->
37
<!--                   [results]="fetch.results"-->
38
<!--                   [status]="fetch.searchUtils.status"-->
39
<!--                   [type]="type" urlParam="articleId">-->
40
<!--    </search-result>-->
41

  
42
<!--    <div class="uk-text-right">-->
43
<!--      <a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">-->
44
<!--        View all {{getEntityName(type, true, true)}}-->
45
<!--        <span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>-->
46
<!--      </a>-->
47
<!--    </div>-->
48
<!--  </div>-->
49
<!--</ng-template>-->
50

  
51 1
<div id="tm-main" class="landing uk-section uk-padding-remove-top tm-middle">
52 2
  <div *ngIf="!showFeedback" uk-grid>
53 3
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
......
64 14
                [texts]="pageContents['top']"></helper>
65 15
        <div *ngIf="dataProviderInfo != null" class="uk-grid uk-margin-remove-left uk-margin-large-bottom">
66 16
          <div class="uk-width-2-3@m uk-width-1-1@s  uk-margin-bottom uk-padding uk-padding-remove-left uk-padding-remove-vertical">
67
          <!--h3 *ngIf="dataProviderInfo.title != null">
68
                <a *ngIf="dataProviderInfo.title['url'] != undefined && dataProviderInfo.title['url'] != null"
69
                    href="{{dataProviderInfo.title['url']}}" target="_blank" class="custom-external">
70
                    {{dataProviderInfo.title['name']}}
71
                </a>
72
                <p *ngIf="dataProviderInfo.title['url'] == undefined || dataProviderInfo.title['url'] == null">
73
                    {{dataProviderInfo.title['name']}}
74
                </p>
75
            </h3-->
76 17
            <schema2jsonld *ngIf="dataProviderInfo" [data]=dataProviderInfo
77 18
                           [URL]="properties.baseLink+'/search/dataprovider?datasourceId='+datasourceId"
78 19
                           type="datasource"
79 20
                           [otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:nul)"></schema2jsonld>
80 21

  
81
<!--            <showTitle [title]="dataProviderInfo.title"></showTitle>-->
82 22
            <landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
83 23
                            [subTitle]="(dataProviderInfo.officialName
84 24
                            && dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
......
128 68
                </span>
129 69
              </div>
130 70
            </div>
131

  
132

  
133

  
134
<!--            <span *ngIf="dataProviderInfo.type" class="uk-label custom-label label-type label-dataprovider "-->
135
<!--                  title="Type">{{dataProviderInfo.type}}</span>{{" "}}-->
136
<!--            <span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility "-->
137
<!--                  title="Compatibility">-->
138
<!--              <a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
139
<!--                 [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
140
<!--                 routerLink="/search/dataprovider">-->
141
<!--                {{dataProviderInfo.compatibility.info}}-->
142
<!--              </a>-->
143
<!--              <span *ngIf="dataProviderInfo.compatibility.name || !dataProviderInfo.compatibility.id">-->
144
<!--                {{dataProviderInfo.compatibility.info}}-->
145
<!--              </span>-->
146
<!--              <a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
147
<!--                 [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
148
<!--                 routerLink="/search/dataprovider">-->
149
<!--                {{dataProviderInfo.compatibility.name}}-->
150
<!--              </a>-->
151
<!--              <span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">-->
152
<!--                {{dataProviderInfo.compatibility.name}}-->
153
<!--              </span>-->
154
<!--            </span>{{" "}}-->
155
<!--            <span *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"-->
156
<!--                  class="uk-label custom-label label-type label-dataprovider ">OpenAIRE Text Mining</span>{{" "}}-->
157

  
158
<!--            <ul class="uk-list">-->
159
<!--              <showPublisher [properties]="properties"-->
160
<!--                             [journal]="dataProviderInfo.journal"></showPublisher>-->
161
<!--              <li-->
162
<!--                *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1">-->
163
<!--                <span class="uk-text-bold">Results with funding information: </span>-->
164
<!--                {{dataProviderInfo.aggregationStatus.fundedContent | number}}-->
165
<!--              </li>-->
166
<!--              <li-->
167
<!--                *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1">-->
168
<!--                <span class="uk-text-bold">Collected full-texts: </span>-->
169
<!--                {{dataProviderInfo.aggregationStatus.fulltexts | number}}-->
170
<!--              </li>-->
171
<!--              <li-->
172
<!--                *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.lastUpdateDate && dataProviderInfo.aggregationStatus.lastUpdateDate != null">-->
173
<!--                <span class="uk-text-bold">Last update of records in OpenAIRE: </span>-->
174
<!--                {{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}-->
175
<!--              </li>-->
176
<!--              <li *ngIf="dataProviderInfo.oaiPmhURL"><span class="uk-text-bold">OAI-PMH: </span>-->
177
<!--                <span class="uk-button-text">-->
178
<!--                            <a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}">-->
179
<!--                                {{dataProviderInfo.oaiPmhURL}}-->
180
<!--                            </a>-->
181
<!--                        </span>-->
182

  
183
<!--              </li>-->
184
<!--              <li *ngIf="dataProviderInfo.openDoarId">-->
185
<!--                        <span class="uk-button-text">-->
186
<!--                            <a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">-->
187
<!--                                Detailed content provider information (OpenDOAR)-->
188
<!--                            </a>-->
189
<!--                        </span>-->
190

  
191
<!--              </li>-->
192
<!--              <li *ngIf="dataProviderInfo.r3DataId">-->
193
<!--                        <span class="uk-button-text">-->
194
<!--                            <a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">-->
195
<!--                                Detailed content provider information (Re3data)-->
196
<!--                            </a>-->
197
<!--                        </span>-->
198

  
199
<!--              </li>-->
200

  
201
<!--              <li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"><span-->
202
<!--                class="uk-text-bold">Countries: </span>{{dataProviderInfo.countries.join(", ")}}</li>-->
203
<!--            </ul>-->
204

  
205
<!--            && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.length > 0-->
206
<!--            <div *ngIf="showTabs"-->
207
<!--                 class="uk-margin-medium-top">-->
208
<!--&lt;!&ndash;              *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1 || dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"&ndash;&gt;-->
209
<!--              <div-->
210
<!--                   class="uk-margin-top simple-buttons uk-flex uk-flex-middle">-->
211
<!--&lt;!&ndash;                *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"&ndash;&gt;-->
212
<!--                <div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
213
<!--                            || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
214
<!--                     (click)="openRelatedDatasources()" class="clickable uk-margin-right">-->
215
<!--                  <span class="uk-text-middle">Related Content Providers</span>-->
216
<!--                </div>-->
217
<!--&lt;!&ndash;                *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"&ndash;&gt;-->
218
<!--                <div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
219
<!--                            || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
220
<!--                    (click)="openStatistics()" class="clickable uk-margin-right">-->
221
<!--                  <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">-->
222
<!--                    <path d="M0 0h24v24H0z" fill="none"></path>-->
223
<!--                    <path id="statistics-bars" d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>-->
224
<!--                  </svg>-->
225
<!--                  <span class="uk-text-middle space">View statistics</span>-->
226
<!--                </div>-->
227
<!--              </div>-->
228

  
229
<!--&lt;!&ndash;              ||&ndash;&gt;-->
230
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1&ndash;&gt;-->
231

  
232
<!--&lt;!&ndash;              *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1 ||&ndash;&gt;-->
233
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Research Data') != -1 ||&ndash;&gt;-->
234
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Software') != -1 ||&ndash;&gt;-->
235
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Other Research Products') != -1 ||&ndash;&gt;-->
236
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Projects') != -1 ||&ndash;&gt;-->
237
<!--&lt;!&ndash;              dataProviderInfo.tabs2.indexOf('Content Providers') != -1 "&ndash;&gt;-->
238
<!--              <div-->
239
<!--                   class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"-->
240
<!--                   uk-height-match="target: .target; row: false"-->
241
<!--                   uk-grid>-->
242
<!--&lt;!&ndash;                && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0&ndash;&gt;-->
243
<!--&lt;!&ndash;                <div *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1&ndash;&gt;-->
244
<!--&lt;!&ndash;                            ">&ndash;&gt;-->
245
<!--&lt;!&ndash;                  <div class="clickable" (click)="openRelatedDatasources()">&ndash;&gt;-->
246
<!--&lt;!&ndash;                    <div class="header target uk-text-bold">Related Content Providers</div>&ndash;&gt;-->
247
<!--&lt;!&ndash;                    <div class="footer target uk-position-relative">&ndash;&gt;-->
248
<!--&lt;!&ndash;&lt;!&ndash;                      <span class="uk-text-bold uk-position-center">&ndash;&gt;&ndash;&gt;-->
249
<!--&lt;!&ndash;&lt;!&ndash;                        {{dataProviderInfo.relatedDatasources?.size | number}}&ndash;&gt;&ndash;&gt;-->
250
<!--&lt;!&ndash;&lt;!&ndash;                      </span>&ndash;&gt;&ndash;&gt;-->
251
<!--&lt;!&ndash;                    </div>&ndash;&gt;-->
252
<!--&lt;!&ndash;                  </div>&ndash;&gt;-->
253
<!--&lt;!&ndash;                </div>&ndash;&gt;-->
254

  
255
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1">&ndash;&gt;-->
256
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
257
<!--                              context: {  fetch: fetchPublications, type: 'publications', typeName: 'Publications',-->
258
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('publications')}">-->
259
<!--                  </ng-container>-->
260
<!--&lt;!&ndash;                  <a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"&ndash;&gt;-->
261
<!--&lt;!&ndash;                     [routerLink]="properties.searchLinkToAdvancedResults">&ndash;&gt;-->
262
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
263
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1">&ndash;&gt;-->
264
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
265
<!--                              context: {  fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data',-->
266
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('datasets')}">-->
267
<!--                  </ng-container>-->
268
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
269
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1">&ndash;&gt;-->
270
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
271
<!--                              context: {  fetch: fetchSoftware, type: 'software', typeName: 'Software',-->
272
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('software')}">-->
273
<!--                  </ng-container>-->
274
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
275
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1">&ndash;&gt;-->
276
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
277
<!--                              context: {  fetch: fetchOrps, type: 'other', typeName: 'Other Research Products',-->
278
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('other')}">-->
279
<!--                  </ng-container>-->
280
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
281
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1">&ndash;&gt;-->
282
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
283
<!--                              context: {  fetch: fetchProjects, type: 'project', typeName: 'Projects',-->
284
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedProjects, params: getParamsForSearchLink()}">-->
285
<!--                  </ng-container>-->
286
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
287
<!--&lt;!&ndash;                <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1">&ndash;&gt;-->
288
<!--                  <ng-container *ngTemplateOutlet="search_box;-->
289
<!--                              context: {  fetch: fetchDataproviders, type: 'other', typeName: 'Content Providers',-->
290
<!--                              searchLinkToAdvancedPage: properties.searchLinkToAdvancedDataProviders, params: getParamsForSearchLink()}">-->
291
<!--                  </ng-container>-->
292
<!--&lt;!&ndash;                </ng-container>&ndash;&gt;-->
293
<!--              </div>-->
294
<!--            </div>-->
295 71
          </div>
296 72

  
297
<!--            <div *ngIf="showTabs">-->
298
<!--              <ul class="custom-accordion" uk-accordion *ngIf="dataProviderInfo.tabs2 != undefined">-->
299

  
300
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1"-->
301
<!--                    (click)="search('publicationsTab', 1, 10); activeTab='Publications'">-->
302
<!--                  <a class="uk-accordion-title" href="#">Publications-->
303
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
304
<!--                    ({{fetchPublications.searchUtils.totalResults | number}})-->
305
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
306
<!--                  </a>-->
307
<!--                  <div class="uk-accordion-content">-->
308
<!--                    <publicationsTab *ngIf="activeTab=='Publications'"-->
309
<!--                                     [paramsForSearchLink]="paramsForSearchLink"-->
310
<!--                                     [fetchPublications]="fetchPublications" [(properties)]=properties>-->
311
<!--                    </publicationsTab>-->
312
<!--                  </div>-->
313
<!--                </li>-->
314
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1"-->
315
<!--                    (click)="search('datasetsTab', 1, 10); activeTab='Research Data'">-->
316
<!--                  <a class="uk-accordion-title" href="#">Research Data-->
317
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
318
<!--                    ({{fetchDatasets.searchUtils.totalResults | number}})-->
319
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
320
<!--                  </a>-->
321
<!--                  <div class="uk-accordion-content">-->
322
<!--                    <p>-->
323
<!--                      <datasetsTab *ngIf="activeTab=='Research Data'"-->
324
<!--                                   [paramsForSearchLink]="paramsForSearchLink"-->
325
<!--                                   [fetchDatasets]="fetchDatasets" [(properties)]=properties>-->
326
<!--                      </datasetsTab>-->
327
<!--                    </p>-->
328
<!--                  </div>-->
329
<!--                </li>-->
330

  
331
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1"-->
332
<!--                    (click)="search('softwareTab', 1, 10); activeTab='Software'">-->
333
<!--                  <a class="uk-accordion-title" href="#">Software-->
334
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
335
<!--                    ({{fetchSoftware.searchUtils.totalResults | number}})-->
336
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
337
<!--                  </a>-->
338
<!--                  <div class="uk-accordion-content">-->
339
<!--                    <softwareTab *ngIf="activeTab=='Software'"-->
340
<!--                                 [paramsForSearchLink]="paramsForSearchLink"-->
341
<!--                                 [fetchSoftware]="fetchSoftware" [(properties)]=properties>-->
342
<!--                    </softwareTab>-->
343
<!--                  </div>-->
344
<!--                </li>-->
345

  
346
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1"-->
347
<!--                    (click)="search('orpsTab', 1, 10); activeTab='Other Research Products'">-->
348
<!--                  <a class="uk-accordion-title" href="#">Other Research Products-->
349
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
350
<!--                    ({{fetchOrps.searchUtils.totalResults | number}})-->
351
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
352
<!--                  </a>-->
353
<!--                  <div class="uk-accordion-content">-->
354
<!--                    <orpsTab *ngIf="activeTab=='Other Research Products'"-->
355
<!--                             [paramsForSearchLink]="paramsForSearchLink"-->
356
<!--                             [fetchOrps]="fetchOrps" [(properties)]=properties>-->
357
<!--                    </orpsTab>-->
358
<!--                  </div>-->
359
<!--                </li>-->
360

  
361
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1"-->
362
<!--                    (click)="search('projectsTab', 1, 10); activeTab='Projects'">-->
363
<!--                  <a class="uk-accordion-title" href="#">Projects-->
364
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
365
<!--                    ({{fetchProjects.searchUtils.totalResults | number}})-->
366
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
367
<!--                  </a>-->
368
<!--                  <div class="uk-accordion-content">-->
369
<!--                    <projectsTab *ngIf="activeTab=='Projects'"-->
370
<!--                                 [paramsForSearchLink]="paramsForSearchLink"-->
371
<!--                                 [fetchProjects]="fetchProjects" [(properties)]=properties>-->
372
<!--                    </projectsTab>-->
373
<!--                  </div>-->
374
<!--                </li>-->
375
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1"-->
376
<!--                    (click)="search('datasourcesTab', 1, 10); activeTab='Content Providers'">-->
377
<!--                  <a class="uk-accordion-title" href="#">Content Providers-->
378
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
379
<!--                    ({{fetchDataproviders.searchUtils.totalResults | number}})-->
380
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
381
<!--                  </a>-->
382
<!--                  <div class="uk-accordion-content">-->
383
<!--                    <datasourcesTab *ngIf="activeTab=='Content Providers'"-->
384
<!--                                    [paramsForSearchLink]="paramsForSearchLink"-->
385
<!--                                    [fetchDataproviders]="fetchDataproviders" [(properties)]=properties>-->
386
<!--                    </datasourcesTab>-->
387
<!--                  </div>-->
388
<!--                </li>-->
389
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Organizations') != -1"-->
390
<!--                    (click)="search('organizationsTab', 1, 10); activeTab='Organizations'">-->
391
<!--                  <a class="uk-accordion-title" href="#">Organizations-->
392
<!--                    &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
393
<!--                    ({{dataProviderInfo.organizations.length | number}})-->
394
<!--                    &lt;!&ndash; </span> &ndash;&gt;-->
395
<!--                  </a>-->
396
<!--                  <div class="uk-accordion-content">-->
397
<!--                    <organizationsTab *ngIf="activeTab=='Organizations'"-->
398
<!--                                      [organizations]="dataProviderInfo.organizations">-->
399
<!--                    </organizationsTab>-->
400
<!--                  </div>-->
401
<!--                </li>-->
402
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
403
<!--                    (click)="search('relatedDatasourcesTab', 1, 10); activeTab='Related Content Providers'">-->
404
<!--                  <a class="uk-accordion-title" href="#">Related Content Providers</a>-->
405
<!--                  <div class="uk-accordion-content">-->
406
<!--                    <relatedDatasourcesTab *ngIf="activeTab=='Related Content Providers'"-->
407
<!--                                           [dataproviderId]="datasourceId"-->
408
<!--                                           [results]="dataProviderInfo.relatedDatasources"-->
409
<!--                                           [loading]="loadingRelatedDatasources"-->
410
<!--                                           [fetchPublications]="fetchAggregatorsPublications"-->
411
<!--                                           [fetchDatasets]="fetchAggregatorsDatasets"-->
412
<!--                                           [fetchSoftware]="fetchAggregatorsSoftware"-->
413
<!--                                           [fetchOrps]="fetchAggregatorsOrps"-->
414
<!--                                           [(properties)]=properties>-->
415
<!--                    </relatedDatasourcesTab>-->
416
<!--                  </div>-->
417
<!--                </li>-->
418
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"-->
419
<!--                    (click)="search('statisticsTab', 1, 10); activeTab='Statistics'">-->
420
<!--                  <a class="uk-accordion-title" href="#">Statistics</a>-->
421
<!--                  <div class="uk-accordion-content">-->
422
<!--                    <div *ngIf="activeTab=='Statistics' && statsClicked">-->
423
<!--                      <statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"-->
424
<!--                                     [datasourceId]="datasourceId"></statisticsTab>-->
425
<!--                    </div>-->
426
<!--                  </div>-->
427
<!--                </li>-->
428

  
429

  
430
<!--                <li *ngIf="dataProviderInfo.tabs2.indexOf('Metrics') != -1"-->
431
<!--                    (click)="search('metricsTab', 1, 10); activeTab='Metrics'">-->
432
<!--                  <a class="uk-accordion-title" href="#">Metrics</a>-->
433
<!--                  <div class="uk-accordion-content">-->
434
<!--                    <metrics *ngIf="activeTab=='Metrics'" [pageViews]="pageViews"-->
435
<!--                             [id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"-->
436
<!--                             (metricsResults)="metricsResults($event)" [(properties)]=properties>-->
437
<!--                    </metrics>-->
438
<!--                    <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalViews > 0"-->
439
<!--                             [url]=viewsFrameUrl width="100%" height="250">-->
440
<!--                    </i-frame>-->
441
<!--                    <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalDownloads > 0"-->
442
<!--                             [url]=downloadsFrameUrl width="100%" height="250">-->
443
<!--                    </i-frame>-->
444
<!--                  </div>-->
445
<!--                </li>-->
446

  
447
<!--              </ul>-->
448
<!--            </div>-->
449

  
450 73
          <div class="uk-width-1-3@m uk-width-1-1@s uk-padding-remove">
451 74
            <ul class="user-actions uk-list uk-card uk-card-default uk-padding">
452 75
              <li><addThis></addThis></li>
......
879 502
  <feedback *ngIf="dataProviderInfo" [dataProviderInfo]="dataProviderInfo"
880 503
            [properties]="properties" [entityType]="'content provider'" [fields]="feedbackFields"
881 504
            [showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
882
  <!-- Statistics -->
883
<!--   && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Statistics') != -1-->
884
<!--  <modal-alert *ngIf="dataProviderInfo &&-->
885
<!--                      (fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
886
<!--                      || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
887
<!--               classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>-->
888
<!--    <landing-header [properties]="properties" [title]="dataProviderInfo.title.name"-->
889
<!--                    [subTitle]="(dataProviderInfo.officialName-->
890
<!--                            && dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"-->
891
<!--                    [entityType]="'content provider'"-->
892
<!--                    [types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">-->
893
<!--    </landing-header>-->
894
<!--    <div *ngIf="statsClicked" class="uk-margin-medium-top uk-margin-medium-right">-->
895
<!--      <statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"-->
896
<!--                     [fetchSoftware]="fetchSoftware" [fetchOther]="fetchOrps"-->
897
<!--                     [datasourceId]="datasourceId"></statisticsTab>-->
898
<!--    </div>-->
899
<!--  </modal-alert>-->
900

  
901
  <!-- Related Content Providers -->
902
<!--  && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0-->
903

  
904
<!--  && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
905
<!--  <modal-alert *ngIf="dataProviderInfo &&-->
906
<!--                    (fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
907
<!--                    || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
908
<!--               classBody="uk-width-xxlarge uk-padding-remove-right" #relatedDatasourcesModal>-->
909
<!--    <landing-header [properties]="properties" [title]="dataProviderInfo.title.name"-->
910
<!--                    [subTitle]="(dataProviderInfo.officialName-->
911
<!--                            && dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"-->
912
<!--                    [entityType]="'content provider'"-->
913
<!--                    [types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">-->
914
<!--    </landing-header>-->
915
<!--    <div class="uk-margin-medium-top uk-margin-medium-right">-->
916
<!--&lt;!&ndash;      [fetchPublications]="fetchAggregatorsPublications"&ndash;&gt;-->
917
<!--&lt;!&ndash;      [fetchDatasets]="fetchAggregatorsDatasets"&ndash;&gt;-->
918
<!--&lt;!&ndash;      [fetchSoftware]="fetchAggregatorsSoftware"&ndash;&gt;-->
919
<!--&lt;!&ndash;      [fetchOrps]="fetchAggregatorsOrps"&ndash;&gt;-->
920
<!--      <relatedDatasourcesTab-->
921
<!--                             [dataproviderId]="datasourceId"-->
922
<!--                             [results]="dataProviderInfo.relatedDatasources"-->
923
<!--                             [loading]="loadingRelatedDatasources"-->
924
<!--                             [fetchResults]="fetchAggregatorsResults"-->
925
<!--                             [collectedFromName]="dataProviderInfo.title.name"-->
926
<!--                             [properties]=properties-->
927
<!--                             [modal]="relatedDatasourcesModal">-->
928
<!--      </relatedDatasourcesTab>-->
929
<!--    </div>-->
930
<!--  </modal-alert>-->
931 505
</div>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/organization/organization.component.html
1
<!--<ng-template #search_tab let-fetch="fetch" let-type="type">-->
2
<!--  <errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(type, true, true)"-->
3
<!--                 tab_error_class=true></errorMessages>-->
4
<!--  <div *ngIf="fetch.searchUtils.status == errorCodes.DONE">-->
5
<!--    <div *ngIf="fetch.searchUtils.totalResults > searchNumber" class="uk-inline uk-flex uk-flex-right">-->
6
<!--      <span class="uk-text-uppercase uk-position-left uk-text-middle uk-flex-middle uk-flex">-->
7
<!--        <span>Top {{searchNumber}}</span><span class="space uk-text-muted">{{getEntityName(type, true, true)}}</span>-->
8
<!--      </span>-->
9
<!--      <a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, getEntityName(type, true, false), 'false'])"-->
10
<!--         [routerLink]="properties.searchLinkToAdvancedResults">-->
11
<!--        <button class="uk-button uk-button-small portal-button">-->
12
<!--          <span uk-icon="search"></span>-->
13
<!--          View all-->
14
<!--        </button>-->
15
<!--      </a>-->
16
<!--    </div>-->
17
<!--    <search-result [results]="fetch.results" [status]="fetch.searchUtils.status"-->
18
<!--                   [type]="getEntityName(type, false, true)" [showLoading]="true" [properties]="properties">-->
19

  
20
<!--    </search-result>-->
21
<!--  </div>-->
22
<!--</ng-template>-->
23 1
<div id="tm-main" class="landing uk-section uk-padding-remove-top tm-middle">
24 2
  <div *ngIf="!showFeedback" class="uk-grid">
25 3
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/project/project.component.html
75 75
  </ul>
76 76
</ng-template>
77 77

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

  
94
<!--<ng-template #search_tab let-fetch="fetch" let-type="type" let-urlParam="urlParam"-->
95
<!--             let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">-->
96
<!--  <errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(type, true, true)"-->
97
<!--                 tab_error_class=true></errorMessages>-->
98

  
99
<!--  <div *ngIf="fetch.searchUtils.status == errorCodes.DONE">-->
100
<!--    <div class="tab-header">-->
101
<!--      <span *ngIf="type != 'organization' && type != 'dataprovider' && type != 'project'">Recent</span>-->
102
<!--      {{getEntityName(type, true, true)}}-->
103
<!--    </div>-->
104
<!--    <div class="uk-text-right">-->
105
<!--      <a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">-->
106
<!--        View all {{getEntityName(type, true, true)}}-->
107
<!--        <span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>-->
108
<!--      </a>-->
109
<!--    </div>-->
110

  
111
<!--    <search-result [properties]="properties"-->
112
<!--                   [results]="fetch.results"-->
113
<!--                   [status]="fetch.searchUtils.status"-->
114
<!--                   [type]="type" urlParam="articleId">-->
115
<!--    </search-result>-->
116

  
117
<!--    <div class="uk-text-right">-->
118
<!--      <a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">-->
119
<!--        View all {{getEntityName(type, true, true)}}-->
120
<!--        <span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>-->
121
<!--      </a>-->
122
<!--    </div>-->
123
<!--  </div>-->
124
<!--</ng-template>-->
125

  
126 78
<div id="tm-main" class="landing uk-section uk-padding-remove-top tm-middle">
127 79
  <div *ngIf="!showFeedback" uk-grid>
128 80
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
......
254 206
              </li>
255 207
            </ul>
256 208

  
257
<!--            <div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
258
<!--                       || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
259
<!--              class="uk-margin-medium-top">-->
260
<!--              <div class="uk-margin-top simple-buttons uk-flex uk-flex-middle">-->
261
<!--                <div (click)="openStatistics()" class="clickable uk-margin-right">-->
262
<!--                  <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">-->
263
<!--                    <path d="M0 0h24v24H0z" fill="none"></path>-->
264
<!--                    <path id="statistics-bars" d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>-->
265
<!--                  </svg>-->
266
<!--                  <span class="uk-text-middle space">View statistics</span>-->
267
<!--                </div>-->
268
<!--              </div>-->
269

  
270
<!--              <div class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"-->
271
<!--                   uk-height-match="target: .target; row: false"-->
272
<!--                   uk-grid>-->
273
<!--                <ng-container *ngTemplateOutlet="search_box;-->
274
<!--                            context: {  fetch: fetchPublications, type: 'publications', typeName: 'Publications'}">-->
275
<!--                </ng-container>-->
276
<!--                <ng-container *ngTemplateOutlet="search_box;-->
277
<!--                            context: {  fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data'}">-->
278
<!--                </ng-container>-->
279
<!--                <ng-container *ngTemplateOutlet="search_box;-->
280
<!--                            context: {  fetch: fetchSoftware, type: 'software', typeName: 'Software'}">-->
281
<!--                </ng-container>-->
282
<!--                <ng-container *ngTemplateOutlet="search_box;-->
283
<!--                            context: {  fetch: fetchOrps, type: 'other', typeName: 'Other Research Products'}">-->
284
<!--                </ng-container>-->
285
<!--              </div>-->
286
<!--            </div>-->
287
<!--            <div class="uk-margin-small-top uk-flex uk-flex-bottom">-->
288
<!--              <img src="assets/common-assets/graph.svg" style="opacity: 0.4">-->
289
<!--              <span class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>-->
290
<!--            </div>-->
291

  
292
<!--            <ul class="custom-accordion" uk-accordion>-->
293

  
294
<!--              <li (click)="activeTab='Publications'; searchPublicationsInit()">-->
295
<!--                <a class="uk-accordion-title" href="#">-->
296
<!--                  Publications-->
297
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
298
<!--                  ({{fetchPublications.searchUtils.totalResults | number}})-->
299
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
300
<!--                </a>-->
301
<!--                <div class="uk-accordion-content">-->
302
<!--                  <errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'"-->
303
<!--                                 tab_error_class=true></errorMessages>-->
304

  
305
<!--                  <div *ngIf="fetchPublications.searchUtils.status == errorCodes.DONE">-->
306
<!--                    <div class="uk-text-right" *ngIf="fetchPublications.searchUtils.totalResults > 10">-->
307
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
308
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchPublications"-->
309
<!--                         class="uk-button uk-button-text">-->
310
<!--                        View all {{fetchPublications.searchUtils.totalResults | number}} results-->
311
<!--                      </a>-->
312
<!--                    </div>-->
313
<!--                    <tab-result [(results)]="fetchPublications.results"-->
314
<!--                                [(status)]="fetchPublications.searchUtils.status"-->
315
<!--                                type="publication" urlParam="articleId">-->
316
<!--                    </tab-result>-->
317
<!--                  </div>-->
318
<!--                </div>-->
319
<!--              </li>-->
320

  
321
<!--              <li (click)="activeTab='Research Data'; searchDatasetsInit()">-->
322
<!--                <a class="uk-accordion-title" href="#">-->
323
<!--                  Research Data-->
324
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
325
<!--                  ({{fetchDatasets.searchUtils.totalResults | number}})-->
326
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
327
<!--                </a>-->
328
<!--                <div class="uk-accordion-content">-->
329
<!--                  <errorMessages [status]="[fetchDatasets.searchUtils.status]" [type]="'research data'"-->
330
<!--                                 tab_error_class=true></errorMessages>-->
331

  
332
<!--                  <div *ngIf="fetchDatasets.searchUtils.status == errorCodes.DONE">-->
333

  
334
<!--                    <div class="uk-text-right" *ngIf="fetchDatasets.searchUtils.totalResults > 10">-->
335
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
336
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchDatasets"-->
337
<!--                         class="uk-button uk-button-text">-->
338
<!--                        View all {{fetchDatasets.searchUtils.totalResults | number}} results-->
339
<!--                      </a>-->
340
<!--                    </div>-->
341
<!--                    <tab-result [(results)]="fetchDatasets.results"-->
342
<!--                                [(status)]="fetchDatasets.searchUtils.status"-->
343
<!--                                type="dataset" urlParam="datasetId">-->
344
<!--                    </tab-result>-->
345
<!--                  </div>-->
346
<!--                </div>-->
347
<!--              </li>-->
348

  
349
<!--              <li (click)="activeTab='Software'; searchSoftwareInit()">-->
350
<!--                <a class="uk-accordion-title" href="#">-->
351
<!--                  Software-->
352
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
353
<!--                  ({{fetchSoftware.searchUtils.totalResults | number}})-->
354
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
355
<!--                </a>-->
356
<!--                <div class="uk-accordion-content">-->
357
<!--                  <errorMessages [status]="[fetchSoftware.searchUtils.status]" [type]="'software'"-->
358
<!--                                 tab_error_class=true></errorMessages>-->
359

  
360
<!--                  <div *ngIf="fetchSoftware.searchUtils.status == errorCodes.DONE">-->
361

  
362
<!--                    <div class="uk-text-right" *ngIf="fetchSoftware.searchUtils.totalResults > 10">-->
363
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
364
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchSoftware"-->
365
<!--                         class="uk-button uk-button-text">-->
366
<!--                        View all {{fetchSoftware.searchUtils.totalResults | number}} results-->
367
<!--                      </a>-->
368
<!--                    </div>-->
369
<!--                    <tab-result [(results)]="fetchSoftware.results"-->
370
<!--                                [(status)]="fetchSoftware.searchUtils.status"-->
371
<!--                                type="software" urlParam="softwareId">-->
372
<!--                    </tab-result>-->
373
<!--                  </div>-->
374
<!--                </div>-->
375
<!--              </li>-->
376

  
377
<!--              <li (click)="activeTab='Other Research Products'; searchOrpsInit()">-->
378
<!--                <a class="uk-accordion-title" href="#">-->
379
<!--                  Other Research Products-->
380
<!--                  &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
381
<!--                  ({{fetchOrps.searchUtils.totalResults | number}})-->
382
<!--                  &lt;!&ndash; </span> &ndash;&gt;-->
383
<!--                </a>-->
384
<!--                <div class="uk-accordion-content">-->
385
<!--                  <errorMessages [status]="[fetchOrps.searchUtils.status]" [type]="'other research products'"-->
386
<!--                                 tab_error_class=true></errorMessages>-->
387

  
388
<!--                  <div *ngIf="fetchOrps.searchUtils.status == errorCodes.DONE">-->
389

  
390
<!--                    <div class="uk-text-right" *ngIf="fetchOrps.searchUtils.totalResults > 10">-->
391
<!--                      <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
392
<!--                         routerLinkActive="router-link-active" [routerLink]="linkToSearchOrps"-->
393
<!--                         class="uk-button uk-button-text">-->
394
<!--                        View all {{fetchOrps.searchUtils.totalResults | number}} results-->
395
<!--                      </a>-->
396
<!--                    </div>-->
397
<!--                    <tab-result [(results)]="fetchOrps.results"-->
398
<!--                                [(status)]="fetchOrps.searchUtils.status"-->
399
<!--                                type="other" urlParam="orpId">-->
400
<!--                    </tab-result>-->
401
<!--                  </div>-->
402
<!--                </div>-->
403
<!--              </li>-->
404

  
405
<!--              <li (click)="activeTab='Statistics'; statsClicked=true">-->
406
<!--                <a class="uk-accordion-title" href="#">-->
407
<!--                  Statistics-->
408
<!--                </a>-->
409
<!--                <div class="uk-accordion-content">-->
410
<!--                  <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]"-->
411
<!--                                 [type]="'statistics'" tab_error_class=true></errorMessages>-->
412

  
413
<!--                  <div-->
414
<!--                    *ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">-->
415

  
416
<!--                    <div>-->
417
<!--                      <p class="uk-text-bold">Research Results</p>-->
418
<!--                      <i-frame [url]=chartScientificResultsUrl></i-frame>-->
419
<!--                      <p class="uk-text-bold">Access Mode of Research Results</p>-->
420
<!--                      <i-frame [url]=chartAccessModeUrl></i-frame>-->
421
<!--                      <p class="uk-text-bold">By Datasource of Research Results</p>-->
422
<!--                      <i-frame [url]=chartDatasourcesUrl></i-frame>-->
423
<!--                    </div>-->
424
<!--                  </div>-->
425
<!--                </div>-->
426
<!--              </li>-->
427

  
428
<!--              <li (click)="metricsClicked=true; activeTab='Metrics'">-->
429
<!--                <a class="uk-accordion-title" href="#">-->
430
<!--                  Metrics-->
431
<!--                </a>-->
432
<!--                <div class="uk-accordion-content">-->
433
<!--                  <metrics *ngIf="metricsClicked" [pageViews]="pageViews"-->
434
<!--                           [id]="projectId" [entityType]="'projects'" [entity]="'Project'"-->
435
<!--                           (metricsResults)="metricsResults($event)" [properties]=properties>-->
436
<!--                  </metrics>-->
437
<!--                  <i-frame *ngIf="metricsClicked && totalViews > 0"-->
438
<!--                           [url]=viewsFrameUrl >-->
439
<!--                  </i-frame>-->
440
<!--                  <i-frame *ngIf="metricsClicked && totalDownloads > 0"-->
441
<!--                           [url]=downloadsFrameUrl>-->
442
<!--                  </i-frame>-->
443
<!--                </div>-->
444
<!--              </li>-->
445
<!--            </ul>-->
446
          </div>
447

  
448
          <div class="uk-width-1-3@m uk-width-1-1@s uk-padding-remove">
449
            <ul class="user-actions uk-list uk-card uk-card-default uk-padding">
450
<!--              <div *ngIf="isRouteAvailable('participate/direct-claim')">-->
451
<!--                <div class="uk-margin-auto uk-width-3-4">-->
452
<!--                  <button class="uk-button uk-width-1-1 portal-button">-->
453
<!--                    <span uk-icon="link"></span>-->
454
<!--                    Link this project to...-->
455
<!--                  </button>-->
456
<!--                </div>-->
457
<!--                <div class="uk-text-center uk-margin-expand uk-padding-small    uk-margin-auto  default-dropdown "-->
458
<!--                     uk-dropdown="mode:click">-->
459
<!--                  <div class="uk-grid uk-child-width-1-3 uk-width-large ">-->
460
<!--                    <div>-->
461
<!--                      <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId,-->
462
<!--                      'project','result'])"-->
463
<!--                         routerLinkActive="router-link-active" routerLink="/participate/direct-claim">-->
464
<!--                        <button class="uk-icon-button portal-button">-->
465
<!--                        <span class="uk-icon">-->
466
<!--                           <svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"-->
467
<!--                                xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"-->
468
<!--                                                                         width="12" x="3.5" y="2.5"></rect><polyline-->
469
<!--                             fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>-->
470
<!--                        </button>-->
471
<!--                        <div>Research results</div>-->
472
<!--                      </a>-->
473
<!--                    </div>-->
474
<!--                  </div>-->
475
<!--                </div>-->
476
<!--              </div>-->
477
<!--              <div *ngIf="isRouteAvailable('participate/deposit/learn-how')"-->
478
<!--                   class="uk-margin-small-top uk-margin-auto uk-width-3-4">-->
479
<!--                <a routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how"-->
480
<!--                   class="uk-button uk-button-primary uk-width-1-1">-->
481
<!--                      <span class="uk-icon">-->
482
<!--                        <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1">-->
483
<!--                          <polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline>-->
484
<!--                          <rect x="3" y="17" width="13" height="1"></rect>-->
485
<!--                          <line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line>-->
486
<!--                        </svg>-->
487
<!--                      </span>-->
488
<!--                  Deposit-->
489
<!--                </a>-->
490
<!--              </div>-->
491

  
492
<!--              <div class="uk-margin-top">-->
493
<!--                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>-->
494
<!--                <div class="uk-margin-small-left uk-margin-small-right"><addThis></addThis></div>-->
495
<!--              </div>-->
496
              <!-- Metrics -->
497
<!--              <div *ngIf="hasMetrics" class="uk-margin-top">-->
498
<!--                <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>-->
499
<!--                <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">-->
500
<!--                  <div></div>&lt;!&ndash; Open Citations&ndash;&gt;-->
501
<!--                  <div>-->
502
<!--                    <metrics [pageViews]="pageViews"-->
503
<!--                             [id]="projectId" [entityType]="'projects'" [entity]="'project'"-->
504
<!--                             [viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"-->
505
<!--                             (metricsResults)="metricsResults($event)" [properties]=properties>-->
506
<!--                    </metrics>-->
507
<!--                  </div>-->
508
<!--                </div>-->
509
<!--              </div>-->
510
<!--              <div class="uk-margin-top">-->
511
<!--                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share project's content</div>-->
512
<!--                <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">-->
513
<!--                  <div class="uk-padding-small uk-padding-remove-vertical">-->
514
<!--                    <mat-select [(value)]="share_research_results_type"-->
515
<!--                                [disableOptionCentering]="true"-->
516
<!--                                panelClass="entitiesSelectionPanel"-->
517
<!--                                class="matSelection">-->
518
<!--                      <mat-option value="">Select content type</mat-option>-->
519
<!--                      <mat-option value="result">All research outcomes</mat-option>-->
520
<!--                      <mat-option value="publication">Publications</mat-option>-->
521
<!--                      <mat-option value="dataset">Research data</mat-option>-->
522
<!--                      <mat-option value="software">Software</mat-option>-->
523
<!--                      <mat-option value="other">Other research products</mat-option>-->
524
<!--                    </mat-select>-->
525
<!--                    <div *ngIf="share_research_results_type" class="uk-animation-slide-top-small">-->
526
<!--                      <ng-container *ngTemplateOutlet="share_research_results_box;-->
527
<!--                        context: {  dynamic_content: getDynamicContent(share_research_results_type) }">-->
528
<!--                      </ng-container>-->
529
<!--                    </div>-->
530
<!--                </div>-->
531
<!--              </div>-->
532
<!--                <div class="uk-margin-top">-->
533
<!--                <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Download report</div>-->
534
<!--                <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">-->
535
<!--&lt;!&ndash;                  <select class="select" id="download_report" name="download_report"&ndash;&gt;-->
536
<!--&lt;!&ndash;                          [(ngModel)]="download_research_results_type">&ndash;&gt;-->
537
<!--&lt;!&ndash;                    <option value="">Select content type</option>&ndash;&gt;-->
538
<!--&lt;!&ndash;                    <option value="results">All research outcomes</option>&ndash;&gt;-->
539
<!--&lt;!&ndash;                    <option value="publications">Publications</option>&ndash;&gt;-->
540
<!--&lt;!&ndash;                    <option value="datasets">Research data</option>&ndash;&gt;-->
541
<!--&lt;!&ndash;                    <option value="software">Software</option>&ndash;&gt;-->
542
<!--&lt;!&ndash;                    <option value="other">Other research products</option>&ndash;&gt;-->
543
<!--&lt;!&ndash;                  </select>&ndash;&gt;-->
544
<!--                  <div class="uk-padding-small uk-padding-remove-vertical">-->
545
<!--                    <mat-select *ngIf="projectInfo.funding &&-->
546
<!--                                      (fetchPublications.searchUtils.totalResults > 0 ||-->
547
<!--                                      fetchDatasets.searchUtils.totalResults > 0 ||-->
548
<!--                                      fetchSoftware.searchUtils.totalResults > 0 ||-->
549
<!--                                      fetchOrps.searchUtils.totalResults > 0)"-->
550
<!--                                [(value)]="download_research_results_type"-->
551
<!--                                [disableOptionCentering]="true"-->
552
<!--                                panelClass="entitiesSelectionPanel"-->
553
<!--                                class="matSelection">-->
554
<!--                      <mat-option value="">Select content type</mat-option>-->
555
<!--                      <mat-option value="results">All research outcomes</mat-option>-->
556
<!--                      <mat-option value="publications"-->
557
<!--                                  [disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE"-->
558
<!--                                  [attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
559
<!--                                  title="No report available">-->
560
<!--                        Publications-->
561
<!--                      </mat-option>-->
562
<!--                      <mat-option value="datasets"-->
563
<!--                                  [disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE"-->
564
<!--                                  [attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
565
<!--                                  title="No report available">-->
566
<!--                        Research data-->
567
<!--                      </mat-option>-->
568
<!--                      <mat-option value="software"-->
569
<!--                                  [disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE"-->
570
<!--                                  [attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
571
<!--                                  title="No report available">-->
572
<!--                        Software-->
573
<!--                      </mat-option>-->
574
<!--                      <mat-option value="other"-->
575
<!--                                  [disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE"-->
576
<!--                                  [attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
577
<!--                                  title="No report available">-->
578
<!--                        Other research products-->
579
<!--                      </mat-option>-->
580
<!--                    </mat-select>-->
581
<!--                    <div *ngIf="download_research_results_type" class="uk-animation-slide-top-small">-->
582
<!--                      <ng-container *ngTemplateOutlet="download_research_results_box;-->
583
<!--                          context: {  type: download_research_results_type,-->
584
<!--                                      fileName_type: getFileNameType(download_research_results_type),-->
585
<!--                                      csvParams: getCsvParams(download_research_results_type) }">-->
586
<!--                      </ng-container>-->
587
<!--                    </div>-->
588

  
589
<!--                    <div *ngIf="!projectInfo.funding ||-->
590
<!--                          (fetchPublications.searchUtils.totalResults == 0 &&-->
591
<!--                          fetchDatasets.searchUtils.totalResults == 0 &&-->
592
<!--                          fetchSoftware.searchUtils.totalResults == 0 &&-->
593
<!--                          fetchOrps.searchUtils.totalResults == 0)"-->
594
<!--                          class="uk-text-muted">-->
595
<!--                      No reports available-->
596
<!--                    </div>-->
597
<!--                  </div>-->
598
<!--                </div>-->
599
<!--              </div>-->
600
<!--              </div>-->
601

  
602

  
603 209
<!--              NEW-->
604 210
              <li><addThis></addThis></li>
605 211
              <li *ngIf="isRouteAvailable('participate/direct-claim')">

Also available in: Unified diff