Project

General

Profile

1
<schema2jsonld *ngIf="community" [URL]="url"
2
               [logoURL]="community.logoUrl" type="home"
3
               [name]="community.title">
4
</schema2jsonld>
5

    
6
<div class="">
7
<div id="stickhere">
8
</div>
9

    
10
<ng-template #tab_content
11
             let-resultType="resultType" let-results="results" let-totalResults="totalResults" let-type="type" let-typeName="typeName">
12
  <div class="uk-grid uk-margin-remove">
13
    <div class="uk-width-expand uk-padding">
14
      <results-comp [results]=results [total]=totalResults [resultType]=resultType
15
                    [community]=community [params]=params [showLoading]="showLoading"
16
                    [properties]="properties"
17
                    class="">
18
      </results-comp>
19
    </div>
20

    
21
    <div
22
      *ngIf="statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum[type].total>0
23
            &&
24
            (  statistics.statisticsDisplay.entities[type].numbers.map['total']['showInDashboard']
25
            || statistics.statisticsDisplay.entities[type].numbers.map['project']['showInDashboard']
26
            || statistics.statisticsDisplay.entities[type].numbers.map['open']['showInDashboard']
27
            || statistics.statisticsDisplay.entities[type].numbers.map['closed']['showInDashboard']
28
            || statistics.statisticsDisplay.entities[type].numbers.map['embargo']['showInDashboard']
29
            || statistics.statisticsDisplay.entities[type].numbers.map['restricted']['showInDashboard']
30
            || ( statistics.allowedEntitiesMode['showInDashboard'] && statistics.statisticsSum
31
                && statistics.allowedChartsMode['showInDashboard'] && statistics.statisticsSum[type]
32
                && statistics.allowedChartsMode['showInDashboard'][type] && statistics.statisticsSum[type].total > 0
33
                && statistics.allowedChartsMode['showInDashboard'][type].length > 0)
34
            )"
35
      class="uk-width-2-5@m uk-width-1-1@s uk-padding right-column">
36
      <div *ngIf="statistics !=null  && activeTab == resultType">
37
        <ng-container *ngTemplateOutlet="stats; context: { entity: type, entityName: typeName,
38
                            statisticsSum:statistics.statisticsSum,
39
                            statisticsDisplay:statistics.statisticsDisplay,
40
                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],
41
                            allowedCharts:statistics.allowedChartsMode['showInDashboard'],
42
                            showChartTitle:  statistics.chartTitlesMode['showInDashboard'],
43
                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}">
44
        </ng-container>
45
      </div>
46
    </div>
47
  </div>
48
</ng-template>
49

    
50
<ng-template #analytics_tab_content let-type="type" let-typeName="typeName">
51
  <div *ngIf="analyticsActiveTab == type && isEntityEnabled(type)
52
            && statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum[type].total>0
53
            &&
54
            (  statistics.statisticsDisplay.entities[type].numbers.map['total']['showInMonitor']
55
            || statistics.statisticsDisplay.entities[type].numbers.map['project']['showInMonitor']
56
            || statistics.statisticsDisplay.entities[type].numbers.map['open']['showInMonitor']
57
            || statistics.statisticsDisplay.entities[type].numbers.map['closed']['showInMonitor']
58
            || statistics.statisticsDisplay.entities[type].numbers.map['embargo']['showInMonitor']
59
            || statistics.statisticsDisplay.entities[type].numbers.map['restricted']['showInMonitor']
60
            || ( statistics.allowedEntitiesMode['showInMonitor'] && statistics.statisticsSum
61
                && statistics.allowedChartsMode['showInMonitor'] && statistics.statisticsSum[type]
62
                && statistics.allowedChartsMode['showInMonitor'][type] && statistics.statisticsSum[type].total > 0
63
                && statistics.allowedChartsMode['showInMonitor'][type].length > 0)
64
            )">
65
      <div class="tab-header uk-margin-bottom">{{typeName}}</div>
66

    
67
      <ng-container *ngTemplateOutlet="stats; context: {
68
                            entity: type, entityName: typeName,
69
                            statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,
70
                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],
71
                            allowedCharts:statistics.allowedChartsMode['showInMonitor'],
72
                            showChartTitle:  statistics.chartTitlesMode['showInMonitor'],
73
                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}">
74
        </ng-container>
75
  </div>
76
</ng-template>
77

    
78
<ng-template #stats let-entity="entity" let-entityName="entityName" let-statisticsSum="statisticsSum"
79
             let-statisticsDisplay="statisticsDisplay" let-allowedEntities="allowedEntities"
80
             let-allowedCharts="allowedCharts" let-chartsInfoMap="chartsInfoMap"
81
             let-showChartTitle="showChartTitle"
82
             let-showIn="showIn">
83
  <div *ngIf=" showIn == 'showInMonitor' && allowedCharts && allowedCharts[entity] && allowedCharts[entity].length == 0  &&
84
          !statisticsDisplay.entities[entity].numbers.map['total'][showIn] && !statisticsDisplay.entities[entity].numbers.map['project'][showIn] &&
85
           !statisticsDisplay.entities[entity].numbers.map['open'][showIn] && !statisticsDisplay.entities[entity].numbers.map['closed'][showIn] &&
86
          !statisticsDisplay.entities[entity].numbers.map['embargo'][showIn] && !statisticsDisplay.entities[entity].numbers.map['restricted'][showIn]"
87
       class="uk-alert uk-alert-primary">
88
    No graphs available
89
  </div>
90
  <div *ngIf="statisticsSum && statisticsDisplay && statisticsSum[entity].total > 0"
91
       [class]="'uk-grid uk-grid-small uk-grid-match ' + (showIn == 'showInMonitor' ? '  uk-child-width-1-3@s uk-child-width-1-6@m' : ' uk-child-width-1-1@s uk-child-width-1-3@m')" uk-grid>
92
    <div *ngIf="statisticsDisplay.entities[entity].numbers.map['total'][showIn]" class="">
93
      <div class="uk-card uk-card-default uk-padding-small">
94
        <div
95
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].total|number}}</div>
96
<!--        <div>Total {{entityName}}</div>-->
97
        <div>Total</div>
98
      </div>
99
    </div>
100
    <div
101
      *ngIf="statisticsDisplay.entities[entity].numbers.map['project'][showIn] && statisticsSum[entity].projects" class="">
102
      <div class="uk-card uk-card-default uk-padding-small">
103
        <div
104
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].projects|number}} </div>
105
<!--        <div>Total projects linked to {{entityName}}</div>-->
106
        <div>Total linked projects</div>
107
      </div>
108
    </div>
109
    <div
110
      *ngIf="statisticsDisplay.entities[entity].numbers.map['open'][showIn] && statisticsSum[entity].open_access" class="">
111
      <div class="uk-card uk-card-default uk-padding-small">
112
        <div
113
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].open_access|number}} </div>
114
<!--        <div>Open access {{entityName}}</div>-->
115
        <div>Open access</div>
116
      </div>
117
    </div>
118
    <div *ngIf="statisticsDisplay.entities[entity].numbers.map['closed'][showIn] && statisticsSum[entity].closed_access" class="">
119
      <div class="uk-card uk-card-default uk-padding-small">
120
        <div
121
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].closed_access|number}} </div>
122
<!--        <div>Closed access {{entityName}}</div>-->
123
        <div>Closed access</div>
124
      </div>
125
    </div>
126
    <div
127
      *ngIf="statisticsDisplay.entities[entity].numbers.map['embargo'][showIn] && statisticsSum[entity].embargo" class="">
128
      <div class="uk-card uk-card-default uk-padding-small">
129
        <div
130
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].embargo|number}} </div>
131
<!--        <div>Embargoed {{entityName}}</div>-->
132
        <div>Embargoed</div>
133
      </div>
134
    </div>
135
    <div
136
      *ngIf="statisticsDisplay.entities[entity].numbers.map['restricted'][showIn] && statisticsSum[entity].restricted"
137
      class="">
138
      <div class="uk-card uk-card-default uk-padding-small">
139
        <div
140
          class="uk-h4 uk-text-bold">{{statisticsSum[entity].restricted|number}} </div>
141
<!--        <div>Restricted {{entityName}}</div>-->
142
        <div>Restricted</div>
143
      </div>
144
    </div>
145
  </div>
146
  <div *ngIf="  allowedEntities &&
147
            statisticsSum && allowedCharts && statisticsSum[entity] &&
148
            allowedCharts[entity] && statisticsSum[entity].total>0 &&
149
            allowedCharts[entity].length>0">
150
    <div *ngIf="showIn == 'showInDashboard'">
151
      <div>
152
        <div class="uk-position-relative">
153
          <ul class="uk-list">
154
            <li *ngFor="let chart of allowedCharts[entity]">
155

    
156
              <div class=" iframeContainer uk-height-medium uk-margin-medium-top uk-card uk-card-default uk-card-body">
157
                <div *ngIf="showChartTitle[chart]" class="">
158
                  {{chartsInfoMap[chart].title}}
159
                </div>
160
                <iframe [src]=chartsInfoMap[chart].url scrolling="no"></iframe>
161
              </div>
162
            </li>
163
          </ul>
164
        </div>
165
      </div>
166

    
167
      <div *ngIf="  allowedEntities &&
168
                statisticsSum && allowedCharts && statisticsSum[entity] &&
169
                allowedCharts[entity] && statisticsSum[entity].total>0 &&
170
                allowedCharts[entity].length>0">
171
        <div class="uk-margin-top portal-hr"></div>
172
      </div>
173
    </div>
174
    <div *ngIf="showIn == 'showInMonitor'" class="uk-grid uk-child-width-1-2@l uk-child-width-1-1@m  ">
175
      <div *ngFor="let chart of allowedCharts[entity]" class="uk-clearfix uk-margin-bottom">
176

    
177
        <div class=" iframeContainer uk-height-large uk-margin-medium-top uk-card uk-card-default uk-card-body">
178
            <div *ngIf="showChartTitle[chart]" class="">
179
              {{chartsInfoMap[chart].title}}
180
            </div>
181
            <iframe [src]=chartsInfoMap[chart].url scrolling="no" class=""></iframe>
182
        </div>
183

    
184
      </div>
185

    
186
    </div>
187
  </div>
188

    
189
</ng-template>
190

    
191
  <div *ngIf="communityInfo && community" class="generalSearchForm ">
192
    <div class="uk-container uk-container-large">
193
      <div class="uk-margin-large-top">
194
        <h1 *ngIf="community.title" class="title uk-margin-remove">
195
          {{community.title}}
196
        </h1>
197
        <div *ngIf="community.shortTitle && community.title != community.shortTitle"
198
             class="subtitle uk-margin-remove">
199
          {{community.shortTitle}}
200
        </div>
201
      </div>
202
    </div>
203
    <div class="uk-flex uk-flex-middle uk-flex-center">
204

    
205
      <form class=" uk-margin-large uk-margin-large-top ">
206
        <div class="uk-grid uk-margin-small-left">
207
          <div class="uk-margin-small-top uk-padding-remove-left">
208
            <entities-selection [simpleView]="true" currentEntity="result"  selectedEntity="result" [customFilter]="customFilter"
209
                                [properties]="properties" [onChangeNavigate]="false"
210
                                (selectionChange)="entityChanged($event)"
211
            ></entities-selection>
212
          </div>
213
  <!--        [class]="((selectedEntity == 'result')?'quickSelectionsBox':'')+' uk-padding-remove-left uk-margin-small-top'" -->
214
          <div class=" uk-padding-remove-left uk-margin-small-top" >
215
            <div class="uk-inline">
216
              <a *ngIf="keyword.length > 0" class="uk-form-icon uk-form-icon-flip" (click)="keyword = ''"
217
                 uk-icon="icon: close"></a>
218
              <input type="text" class="uk-input   uk-width-xlarge@l uk-width-large@m uk-width-medium"
219
                     [placeholder]="placeholderText"
220
                     [(ngModel)]="keyword"
221
                     name="keyword">
222
            </div>
223
           <!-- <div>
224
              <quick-selections *ngIf="selectedEntity == 'result'" [resultTypes]="resultTypes"
225
                                [quickFilter]="resultsQuickFilter" [QFselected]="(resultsQuickFilter)?resultsQuickFilter.selected:null" [properties]="properties">
226
              </quick-selections>
227
            </div>-->
228
          </div>
229
          <div class="uk-padding-remove-left uk-margin-small-top">
230

    
231
            <button  (click)="goTo(true)" type="submit"
232
                     class="uk-button portal-button uk-text-bold  uk-padding uk-padding-remove-vertical uk-margin-small-left">
233
              Search
234
            </button>
235
            <div class="uk-margin-small-top  uk-margin-left"> <a *ngIf="selectedEntity!= 'all'" (click)="goTo(false)"
236
                                                                 class="portal-link">Advanced Search</a></div>
237
          </div>
238
        </div>
239
      </form>
240
    </div>
241
  </div>
242

    
243
<div *ngIf="communityInfo && community" class="uk-section uk-padding-remove-top uk-padding-remove-bottom">
244
  <div class="uk-padding-small">
245
    <div class="uk-container uk-container-large uk-margin-top"
246
         *ngIf="communityId">
247
      <div>
248
<!--        <div class="uk-margin-large-bottom">-->
249
<!--          <div *ngIf="community.title" class="uk-h2 uk-margin-remove">-->
250
<!--            {{community.title}}-->
251
<!--          </div>-->
252
<!--          <div *ngIf="community.shortTitle && community.title != community.shortTitle"-->
253
<!--               class="subtitle uk-margin-remove">-->
254
<!--            {{community.shortTitle}}-->
255
<!--          </div>-->
256
<!--        </div>-->
257
        <div>
258
          <div class="main-tabs-div">
259
          <ul uk-tab class="uk-tab uk-text-truncate main-tabs uk-margin-remove uk-child-width-expand uk-width-3-4" uk-switcher="connect: .main-tabs-content">
260
            <li class="uk-padding-remove uk-active">
261
              <a class="uk-width-1-1 uk-height-1-1">
262
                <div class="tab-header">Summary</div>
263
              </a>
264
            </li>
265
            <li *ngIf="publicationTotal && publicationTotal > 0 && isEntityEnabled('publication')"
266
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('publication', publicationTotal, publicationResults)">
267
              <a class="uk-width-1-1 uk-height-1-1">
268
                <div class="tab-header">Publications</div><div class="number">{{publicationTotal|number}}</div>
269
              </a>
270
            </li>
271
            <li *ngIf="researchDataTotal && researchDataTotal > 0 && isEntityEnabled('dataset')"
272
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('dataset', researchDataTotal, researchDataResults)">
273
              <a class="uk-width-1-1 uk-height-1-1">
274
                <div class="tab-header">Research Data</div><div class="number">{{researchDataTotal|number}}</div>
275
              </a>
276
            </li>
277
            <li *ngIf="softwareTotal && softwareTotal > 0 && isEntityEnabled('software')"
278
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('software', softwareTotal, softwareResults)">
279
              <a class="uk-width-1-1 uk-height-1-1">
280
                <div class="tab-header">Software</div><div class="number">{{softwareTotal|number}}</div>
281
              </a>
282
            </li>
283
            <li *ngIf="orpTotal && orpTotal > 0 && isEntityEnabled('orp')"
284
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('other', orpTotal, orpResults)">
285
              <a class="uk-width-1-1 uk-height-1-1">
286
                <div class="tab-header">Other Research</div><div class="number">{{orpTotal|number}}</div></a>
287
            </li>
288
<!--            <li *ngIf="statistics && statistics.statisticsDisplay && statistics.statisticsDisplay.isActive"-->
289
            <li *ngIf="showAnalyticsTab()"
290
                class="uk-padding-remove statistics" (click)="show='analysis'; activeTab='analytics';">
291
              <a class="uk-width-1-1 uk-height-1-1">
292
                <div class="tab-header">Analytics</div>
293
                <div class="number">
294
                  <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
295
                    <path d="M0 0h24v24H0z" fill="none"></path>
296
                    <path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>
297
                  </svg>
298
                </div>
299
              </a>
300
            </li>
301
          </ul>
302
          </div>
303
          <ul class="uk-switcher main-tabs-content">
304
            <li class="uk-active">
305
              <div *ngIf="community" class="uk-grid uk-margin-remove">
306
                <div class="uk-width-expand uk-padding uk-inline">
307
                  <div *ngIf="community.description"
308
                        class="uk-margin-bottom ">
309
<!--                        [class]="'uk-margin-bottom '+ ((subscribeComponent && subscribeComponent.subscribers > 0) || community.date ? 'uk-margin-top' : '')">-->
310
                    <div *ngIf="!showAllDescription" class="">
311
                      {{community.description.substring(0, thresholdDescription)}}{{community.description.length > thresholdDescription ? '...' : ''}}</div>
312
                    <div *ngIf="showAllDescription" class="uk-overflow-auto">
313
                      <div class="uk-height-max-medium">{{community.description}}</div>
314
                    </div>
315
<!--                    uk-padding uk-padding-remove-top uk-position-bottom-right-->
316
                    <div *ngIf="!showAllDescription && community.description.length > thresholdDescription "
317
                         class="uk-animation-fade uk-margin-small-top uk-text-right">
318
                      <a (click)="showAllDescription = !showAllDescription;">Read more
319
                      </a>
320
                    </div>
321
<!--                    uk-padding uk-padding-remove-top uk-position-bottom-right-->
322
                    <div *ngIf="showAllDescription"
323
                         class="uk-animation-fade uk-margin-small-top uk-text-right">
324
                      <a (click)="showAllDescription = !showAllDescription;">
325
                        Read less
326
                      </a>
327
                    </div>
328
                  </div>
329

    
330
                  <div *ngIf="isRouteEnabled('/curators')" [class]="community.managers ? 'uk-margin-small-bottom' : ''">
331
                    <curators [longView]="false" [managers]="community.managers" [communityId]="communityId"></curators>
332
                  </div>
333
                  <div [class]="community.date || subscribers ? 'uk-margin-small-bottom' : ''">
334
                    <span *ngIf="community.date" class="uk-margin-right">
335
                      <span class="lowOpacityColor uk-text-muted">Created: </span> {{community.date | date:'dd-MMM-yyyy'}}
336
                    </span>
337
                    <span>
338
                      <subscribe *ngIf="communityId" [communityId]="communityId" showNumbers=true (countSubscribersEvent)="countSubscribersEvent($event)"></subscribe>
339
                    </span>
340
                  </div>
341
                  <div [class]="((projectTotal && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)) ||
342
                                (contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)))
343
                                ? 'uk-margin-small-bottom' : ''">
344
                    <span *ngIf="projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)">
345
                      <span class="uk-text-muted">Projects:</span>
346
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
347
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects">
348
                        {{projectTotal|number}}
349
                      </a>
350
                    </span>
351
                    <span *ngIf="contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)"
352
                          [class]="'uk-display-inline-block '+((projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)) ? 'uk-margin-left' : '')">
353
                      <span class="uk-text-muted">Content Providers: </span>
354
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
355
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders">
356
                        {{contentProviderTotal|number}}
357
                      </a>
358
                    </span>
359
                    <span *ngIf="projectsCalculated && contentProvidersCalculated &&
360
                          ((projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects))
361
                          || (contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)))"
362
                          class="uk-icon uk-text-muted uk-margin-small-left"
363
                          title="{{buildProjectsAndContentProvidesTooltip()}}"
364
                          uk-tooltip="pos:bottom-right; delay:10; cls: community-page-tooltip uk-width-medium">
365
                      <svg width="15" height="15" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question" ratio="1">
366
                        <circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle>
367
                        <circle cx="10.44" cy="14.42" r="1.05"></circle>
368
                        <path fill="none" stroke="#000" stroke-width="1.2" d="M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75"></path>
369
                      </svg>
370
                    </span>
371
                  </div>
372
                  <div *ngIf="(zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0) > 0) && isRouteEnabled(shareInZenodoPage)" class="">
373
                    <span class="lowOpacityColor uk-text-muted">Linked to</span>
374
                    <a class="portal-link uk-margin-small-left uk-margin-small-right" [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">
375
                      <span>{{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>
376
                    </a>
377
                    <span class="lowOpacityColor uk-text-muted">Zenodo Communities</span>
378
                    <span class="uk-icon uk-text-muted uk-margin-small-left"
379
                          title="{{buildZenodoCommunitiesTooltip()}}"
380
                          uk-tooltip="pos:bottom-right; delay:10; cls: community-page-tooltip uk-width-medium">
381
                      <svg width="15" height="15" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question" ratio="1">
382
                        <circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle>
383
                        <circle cx="10.44" cy="14.42" r="1.05"></circle>
384
                        <path fill="none" stroke="#000" stroke-width="1.2" d="M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75"></path>
385
                      </svg>
386
                    </span>
387
                  </div>
388
                </div>
389
                <div *ngIf="isRouteEnabled('/subjects') && community.subjects && community.subjects.length > 0"
390
                     class="uk-width-1-3 uk-padding right-column uk-inline">
391
                  <div class="uk-margin-bottom">
392
                    <div class="uk-text-muted uk-margin-small-bottom">Subjects</div>
393
                    <span *ngFor="let subject of community.subjects.slice(0,20) let i=index">
394
                      <span *ngIf="subject != ''">
395
                        <a class="portal-link"
396
                           [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"
397
                           routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults" >
398
                          <span>{{subject}}</span>
399
                        </a>
400
                        <span *ngIf="i < community.subjects.length-1 && i != 19">, </span>
401
                      </span>
402
                    </span>
403
                    <div class="uk-margin-top uk-animation-fade uk-padding uk-padding-remove-top uk-position-bottom-right">
404
                      <a class="portal-link" routerLinkActive="router-link-active" [routerLink]="'/subjects'">
405
                        View all
406
                      </a>
407
                    </div>
408
                  </div>
409
                </div>
410
              </div>
411
            </li>
412
            <li *ngIf="publicationTotal && publicationTotal > 0 && isEntityEnabled('publication')">
413
              <ng-container *ngTemplateOutlet="tab_content; context: {
414
                resultType: 'publication', results: publicationResults, totalResults: publicationTotal, type: 'publication', typeName: 'publication'}">
415
              </ng-container>
416
            </li>
417
            <li *ngIf="researchDataTotal && researchDataTotal > 0 && isEntityEnabled('dataset')">
418
              <ng-container *ngTemplateOutlet="tab_content; context: {
419
                resultType: 'dataset', results: researchDataResults, totalResults: researchDataTotal, type: 'dataset', typeName: 'research fata'}">
420
              </ng-container>
421
            </li>
422
            <li *ngIf="softwareTotal && softwareTotal > 0 && isEntityEnabled('software')">
423
              <ng-container *ngTemplateOutlet="tab_content; context: {
424
                resultType: 'software', results: softwareResults, totalResults: softwareTotal, type: 'software', typeName: 'software'}">
425
              </ng-container>
426
            </li>
427
            <li *ngIf="orpTotal && orpTotal > 0 && isEntityEnabled('orp')">
428
              <ng-container *ngTemplateOutlet="tab_content; context: {
429
                resultType: 'other', results: orpResults, totalResults: orpTotal, type: 'orp', typeName: 'other products'}">
430
              </ng-container>
431
            </li>
432
            <li *ngIf="statistics && statistics.statisticsDisplay && statistics.statisticsDisplay.isActive"
433
                class="uk-overflow-auto">
434
              <div *ngIf="statistics && activeTab=='analytics'" class="uk-width-expand uk-padding">
435

    
436
                <div class="uk-text-center">
437
                  <button *ngIf="isEntityEnabled('publication')
438
                                && statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum['publication'].total>0
439
                                &&
440
                                (  statistics.statisticsDisplay.entities['publication'].numbers.map['total']['showInMonitor']
441
                                || statistics.statisticsDisplay.entities['publication'].numbers.map['project']['showInMonitor']
442
                                || statistics.statisticsDisplay.entities['publication'].numbers.map['open']['showInMonitor']
443
                                || statistics.statisticsDisplay.entities['publication'].numbers.map['closed']['showInMonitor']
444
                                || statistics.statisticsDisplay.entities['publication'].numbers.map['embargo']['showInMonitor']
445
                                || statistics.statisticsDisplay.entities['publication'].numbers.map['restricted']['showInMonitor']
446
                                || ( statistics.allowedEntitiesMode['showInMonitor'] && statistics.statisticsSum
447
                                    && statistics.allowedChartsMode['showInMonitor'] && statistics.statisticsSum['publication']
448
                                    && statistics.allowedChartsMode['showInMonitor']['publication'] && statistics.statisticsSum['publication'].total > 0
449
                                    && statistics.allowedChartsMode['showInMonitor']['publication'].length > 0))"
450
                          [class]="(analyticsActiveTab == 'publication' ? 'active ' : '')+' publicationAnalytics uk-icon uk-icon-button uk-margin-right'"
451
                          uk-tooltip="title: Publications" (click)="analyticsActiveTab = 'publication'">
452
<!--                    <svg height="20" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><rect style="stroke: var(&#45;&#45;portal-main-color);" fill="none" height="16" stroke="#000" width="12" x="3.5" y="2.5"></rect><polyline style="stroke: var(&#45;&#45;portal-main-color);" fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg>-->
453
                    <img src="assets/connect-assets/home/entities/publication.svg">
454
                  </button>
455
                  <button *ngIf="isEntityEnabled('dataset')
456
                              && statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum['dataset'].total>0
457
                              &&
458
                              (  statistics.statisticsDisplay.entities['dataset'].numbers.map['total']['showInMonitor']
459
                              || statistics.statisticsDisplay.entities['dataset'].numbers.map['project']['showInMonitor']
460
                              || statistics.statisticsDisplay.entities['dataset'].numbers.map['open']['showInMonitor']
461
                              || statistics.statisticsDisplay.entities['dataset'].numbers.map['closed']['showInMonitor']
462
                              || statistics.statisticsDisplay.entities['dataset'].numbers.map['embargo']['showInMonitor']
463
                              || statistics.statisticsDisplay.entities['dataset'].numbers.map['restricted']['showInMonitor']
464
                              || ( statistics.allowedEntitiesMode['showInMonitor'] && statistics.statisticsSum
465
                              && statistics.allowedChartsMode['showInMonitor'] && statistics.statisticsSum['dataset']
466
                              && statistics.allowedChartsMode['showInMonitor']['dataset'] && statistics.statisticsSum['dataset'].total > 0
467
                              && statistics.allowedChartsMode['showInMonitor']['dataset'].length > 0))"
468
                          [class]="(analyticsActiveTab == 'dataset' ? 'active ' : '')+' datasetAnalytics uk-icon uk-icon-button uk-margin-right'"
469
                          uk-tooltip="title: Research Data" (click)="analyticsActiveTab = 'dataset'">
470
<!--                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="database"><ellipse style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" cx="10" cy="4.64" rx="7.5" ry="3.14"></ellipse><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M17.5,8.11 C17.5,9.85 14.14,11.25 10,11.25 C5.86,11.25 2.5,9.84 2.5,8.11"></path><path style="stroke: var(&#45;&#45;portal-main-color);"fill="none" stroke="#000" d="M17.5,11.25 C17.5,12.99 14.14,14.39 10,14.39 C5.86,14.39 2.5,12.98 2.5,11.25"></path><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M17.49,4.64 L17.5,14.36 C17.5,16.1 14.14,17.5 10,17.5 C5.86,17.5 2.5,16.09 2.5,14.36 L2.5,4.64"></path></svg>-->
471
                    <img src="assets/connect-assets/home/entities/dataset.svg">
472
                  </button>
473
                  <button *ngIf="isEntityEnabled('software')
474
                              && statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum['software'].total>0
475
                              &&
476
                              (  statistics.statisticsDisplay.entities['software'].numbers.map['total']['showInMonitor']
477
                              || statistics.statisticsDisplay.entities['software'].numbers.map['project']['showInMonitor']
478
                              || statistics.statisticsDisplay.entities['software'].numbers.map['open']['showInMonitor']
479
                              || statistics.statisticsDisplay.entities['software'].numbers.map['closed']['showInMonitor']
480
                              || statistics.statisticsDisplay.entities['software'].numbers.map['embargo']['showInMonitor']
481
                              || statistics.statisticsDisplay.entities['software'].numbers.map['restricted']['showInMonitor']
482
                              || ( statistics.allowedEntitiesMode['showInMonitor'] && statistics.statisticsSum
483
                              && statistics.allowedChartsMode['showInMonitor'] && statistics.statisticsSum['software']
484
                              && statistics.allowedChartsMode['showInMonitor']['software'] && statistics.statisticsSum['software'].total > 0
485
                              && statistics.allowedChartsMode['showInMonitor']['software'].length > 0))"
486
                          [class]="(analyticsActiveTab == 'software' ? 'active ' : '')+' softwareAnalytics uk-icon uk-icon-button uk-margin-right'"
487
                          uk-tooltip="title: Software" (click)="analyticsActiveTab = 'software'">
488
<!--                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="cog"><circle style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" cx="9.997" cy="10" r="3.31"></circle><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M18.488,12.285 L16.205,16.237 C15.322,15.496 14.185,15.281 13.303,15.791 C12.428,16.289 12.047,17.373 12.246,18.5 L7.735,18.5 C7.938,17.374 7.553,16.299 6.684,15.791 C5.801,15.27 4.655,15.492 3.773,16.237 L1.5,12.285 C2.573,11.871 3.317,10.999 3.317,9.991 C3.305,8.98 2.573,8.121 1.5,7.716 L3.765,3.784 C4.645,4.516 5.794,4.738 6.687,4.232 C7.555,3.722 7.939,2.637 7.735,1.5 L12.263,1.5 C12.072,2.637 12.441,3.71 13.314,4.22 C14.206,4.73 15.343,4.516 16.225,3.794 L18.487,7.714 C17.404,8.117 16.661,8.988 16.67,10.009 C16.672,11.018 17.415,11.88 18.488,12.285 L18.488,12.285 Z"></path></svg>-->
489
                    <img src="assets/connect-assets/home/entities/software.svg">
490
                  </button>
491
                  <button *ngIf="isEntityEnabled('orp')
492
                              && statistics.statisticsSum && statistics.statisticsDisplay && statistics.statisticsSum['orp'].total>0
493
                              &&
494
                              (  statistics.statisticsDisplay.entities['orp'].numbers.map['total']['showInMonitor']
495
                              || statistics.statisticsDisplay.entities['orp'].numbers.map['project']['showInMonitor']
496
                              || statistics.statisticsDisplay.entities['orp'].numbers.map['open']['showInMonitor']
497
                              || statistics.statisticsDisplay.entities['orp'].numbers.map['closed']['showInMonitor']
498
                              || statistics.statisticsDisplay.entities['orp'].numbers.map['embargo']['showInMonitor']
499
                              || statistics.statisticsDisplay.entities['orp'].numbers.map['restricted']['showInMonitor']
500
                              || ( statistics.allowedEntitiesMode['showInMonitor'] && statistics.statisticsSum
501
                              && statistics.allowedChartsMode['showInMonitor'] && statistics.statisticsSum['orp']
502
                              && statistics.allowedChartsMode['showInMonitor']['orp'] && statistics.statisticsSum['orp'].total > 0
503
                              && statistics.allowedChartsMode['showInMonitor']['orp'].length > 0))"
504
                          [class]="(analyticsActiveTab == 'orp' ? 'active ' : '')+' otherAnalytics uk-icon uk-icon-button'"
505
                          uk-tooltip="title: Other Research Products" (click)="analyticsActiveTab = 'orp'">
506
<!--                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="world"><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M1,10.5 L19,10.5"></path><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M2.35,15.5 L17.65,15.5"></path><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M2.35,5.5 L17.523,5.5"></path><path style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" d="M10,19.46 L9.98,19.46 C7.31,17.33 5.61,14.141 5.61,10.58 C5.61,7.02 7.33,3.83 10,1.7 C10.01,1.7 9.99,1.7 10,1.7 L10,1.7 C12.67,3.83 14.4,7.02 14.4,10.58 C14.4,14.141 12.67,17.33 10,19.46 L10,19.46 L10,19.46 L10,19.46 Z"></path><circle style="stroke: var(&#45;&#45;portal-main-color);" fill="none" stroke="#000" cx="10" cy="10.5" r="9"></circle></svg>-->
507
                    <img src="assets/connect-assets/home/entities/other.svg">
508
                  </button>
509
                </div>
510
                <hr>
511

    
512
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
513
                  type: 'publication', typeName: 'publications'}">
514
                </ng-container>
515
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
516
                  type: 'dataset', typeName: 'research data'}">
517
                </ng-container>
518
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
519
                  type: 'software', typeName: 'software'}">
520
                </ng-container>
521
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
522
                  type: 'orp', typeName: 'other products'}">
523
                </ng-container>
524
              </div>
525
            </li>
526
          </ul>
527
        </div>
528
        <div class="uk-width-3-5@m uk-width-1-1@s">
529
          <div>
530
<!--            <div class="uk-margin-bottom uk-text-right">-->
531
<!--              <subscribe *ngIf="communityId != null && communityId != ''" [communityId]="communityId"-->
532
<!--                         class=""></subscribe>-->
533
<!--              {{" "}}-->
534
<!--              <invite *ngIf="showInvite()" [longView]=false [buttonSizeSmall]=false></invite>-->
535
<!--            </div>-->
536

    
537
<!--            <div *ngIf="communityId != null && communityId != ''"-->
538
<!--                 class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-grid uk-margin-remove"-->
539
<!--                 uk-scrollspy="cls: uk-animation-fade; target: > div > .uk-card; delay: 450; repeat: false">-->
540

    
541
<!--              <div-->
542
<!--                *ngIf="publicationTotal != null && publicationTotal > 0 && isEntityEnabled('publication')"-->
543
<!--                class="uk-padding-remove-left">-->
544
<!--                <div-->
545
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
546
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
547
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'publications', qf:false}"-->
548
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
549
<!--                      class="uk-text-bold uk-h5">{{publicationTotal|number}}</span>-->
550
<!--                      <p class="uk-text-small uk-margin-remove">publications</p></a>-->
551
<!--                  </div>-->
552
<!--                </div>-->
553
<!--              </div>-->
554

    
555
<!--              <div-->
556
<!--                *ngIf="researchDataTotal != null && researchDataTotal > 0 && isEntityEnabled('dataset') "-->
557
<!--                class="uk-padding-remove-left">-->
558
<!--                <div-->
559
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom">-->
560
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
561
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'datasets', qf:false}"-->
562
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
563
<!--                      class="uk-text-bold uk-h5">{{researchDataTotal|number}}</span>-->
564
<!--                      <p class="uk-text-small uk-margin-remove">research data</p></a>-->
565
<!--                  </div>-->
566
<!--                </div>-->
567
<!--              </div>-->
568
<!--              <div-->
569
<!--                *ngIf="softwareTotal != null && softwareTotal > 0 && isEntityEnabled('software') "-->
570
<!--                class="uk-padding-remove-left">-->
571
<!--                <div-->
572
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
573
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
574
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'software', qf:false}"-->
575
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
576
<!--                      class="uk-text-bold uk-h5">{{softwareTotal|number}}</span>-->
577
<!--                      <p class="uk-text-small uk-margin-remove">software</p></a>-->
578
<!--                  </div>-->
579
<!--                </div>-->
580
<!--              </div>-->
581

    
582
<!--              <div-->
583
<!--                *ngIf="orpTotal != null  && orpTotal > 0 && isEntityEnabled('orp')"-->
584
<!--                class="uk-padding-remove-left">-->
585
<!--                <div-->
586
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
587
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
588
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto"-->
589
<!--                       [queryParams]="{type:'other', qf:false}"-->
590
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
591
<!--                      class="uk-text-bold uk-h5">{{orpTotal|number}}</span>-->
592
<!--                      <p class="uk-text-small uk-margin-remove">other products</p></a>-->
593
<!--                  </div>-->
594
<!--                </div>-->
595
<!--              </div>-->
596

    
597

    
598
<!--              <div-->
599
<!--                *ngIf="projectTotal != null  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)"-->
600
<!--                class="uk-padding-remove-left">-->
601
<!--                <div-->
602
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
603
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
604
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params-->
605
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects"><span-->
606
<!--                      class="uk-text-bold uk-h5">{{projectTotal|number}}</span>-->
607
<!--                      <p class="uk-text-small uk-margin-remove">projects</p></a>-->
608
<!--                  </div>-->
609
<!--                </div>-->
610
<!--              </div>-->
611

    
612
<!--              <div-->
613
<!--                *ngIf="contentProviderTotal != null  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)"-->
614
<!--                class="uk-padding-remove-left">-->
615
<!--                <div-->
616
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
617
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
618
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params-->
619
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders"><span-->
620
<!--                      class="uk-text-bold uk-h5">{{contentProviderTotal|number}}</span>-->
621
<!--                      <p class="uk-text-small uk-margin-remove">content providers</p></a>-->
622
<!--                  </div>-->
623
<!--                </div>-->
624
<!--              </div>-->
625

    
626
<!--            </div>-->
627
<!--            <div *ngIf="community.subjects != null && community.subjects.length > 0"-->
628
<!--                 class="uk-margin-small-bottom uk-margin-top uk-text-bold uk-h5">Subjects-->
629
<!--            </div>-->
630
<!--            <div *ngIf="community.subjects != null" class=" ">-->
631
<!--                <span *ngFor="let subject of community.subjects.slice(0,4) let i=index">-->
632
<!--                    <span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">-->
633
<!--                      <a [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"-->
634
<!--                         routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults" >-->
635
<!--                        {{subject}}-->
636
<!--                        </a>-->
637
<!--                    </span>{{" "}}-->
638
<!--                </span>-->
639
<!--              <span *ngIf="showAllSubjects">-->
640
<!--                    <span *ngFor="let subject of community.subjects.slice(4) let i=index">-->
641
<!--                        <span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">-->
642
<!--                          <a [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"-->
643
<!--                             routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults">-->
644
<!--                            {{subject}}-->
645
<!--                            </a>-->
646
<!--                        </span> {{" "}}-->
647
<!--                    </span>-->
648
<!--                </span>-->
649
<!--              <br>-->
650
<!--              <div *ngIf="!showAllSubjects && community.subjects.length > 4 "-->
651
<!--                    class="uk-animation-fade uk-text-center uk-text-bold">-->
652
<!--                    <a (click)="showAllSubjects = !showAllSubjects;">-->
653
<!--                      View more-->
654
<!--                    </a>-->
655
<!--              </div>-->
656
<!--              <div *ngIf="showAllSubjects"-->
657
<!--                    class="uk-text-center uk-text-bold">-->
658
<!--                    <a (click)="showAllSubjects = !showAllSubjects;">-->
659
<!--                      View less-->
660
<!--                    </a>-->
661
<!--              </div>-->
662
<!--            </div>-->
663
          </div>
664
        </div>
665
      </div>
666

    
667
    </div>
668
  </div>
669
</div>
670

    
671
<!--<div class="uk-section tm-middle uk-container uk-margin-small-top uk-padding-remove-top" id="tm-main">-->
672
<!--  <div class="uk-container  uk-margin-bottom uk-grid">-->
673
<!--    <div class="uk-width-expand uk-padding-remove">-->
674
<!--      <article *ngIf="communityInfo" class="uk-article ">-->
675
<!--        <div *ngIf="communityId != null && communityId != '' && community != null">-->
676

    
677

    
678
          <!--      <div *ngIf="isRouteEnabled('/search/find')" class="uk-margin-top">
679
                  <div class="uk-text-bold uk-h5">Search research results</div>
680
                  <search-form [setFormCentered]=false [placeholderText]="getSearchPlaceHolder()" link="/search/find"></search-form>
681
                </div>-->
682

    
683
<!--          <div class="uk-text-center" *ngIf="statistics.statisticsDisplay && statistics.statisticsDisplay.isActive">-->
684
            <!-- <button [class]="'uk-button  '+((show == 'overview')?'uk-disabled ':' uk-button-default  ')"
685
                     (click)="show='overview'">Overview
686
             </button>
687
             {{" "}}
688
             <button [class]="'uk-button '+((show != 'overview')?'uk-disabled ':' uk-button-default ')"
689
                     (click)="show='analysis';">Graph Analysis
690
             </button>-->
691
<!--            <mat-form-field>-->
692
<!--              <div class="uk-margin-small-bottom">Select view</div>-->
693
<!--&lt;!&ndash;              <mat-label>Select view</mat-label>&ndash;&gt;-->
694
<!--              <mat-select [(value)]="show">-->
695
<!--                <mat-option value="overview">Overview</mat-option>-->
696
<!--                <mat-option value="analysis">Graph Analysis</mat-option>-->
697
<!--              </mat-select>-->
698
<!--            </mat-form-field>-->
699
            <!--<select [(ngModel)]="show" class="uk-select uk-text-bold uk-width-small">
700
              <option value="overview">Overview</option>
701
              <option value="analysis">Graph Analysis</option>
702
            </select>-->
703
            <!--            <select   [(ngModel)]="sortBy"      class="uk-select  uk-margin-small-bottom uk-width-1-2 uk-padding-remove"  name="select_order"   >-->
704
            <!--              <option  value="num"  >Sort by results number</option>-->
705
            <!--              <option  value="name"  >Sort by name</option>-->
706
            <!--            </select>-->
707
<!--          </div>-->
708

    
709
<!--          <div class="uk-margin-top  customTabs">-->
710

    
711

    
712
<!--            <ul class="uk-margin-remove uk-flex-center"-->
713
<!--                data-uk-tab="{connect: '#resultTabs'">-->
714
<!--              <li *ngIf="isEntityEnabled('publication')" (click)="searchResearchResults('publication', publicationTotal, publicationResults)" class="uk-active"><a-->
715
<!--                href="#">publications</a></li>-->
716
<!--              <li *ngIf="isEntityEnabled('dataset')" (click)="searchResearchResults('dataset', researchDataTotal, researchDataResults)"><a href="#">research data</a></li>-->
717
<!--              <li *ngIf="isEntityEnabled('software')" (click)="searchResearchResults('software', softwareTotal, softwareResults)"><a href="#">software</a></li>-->
718
<!--              <li *ngIf="isEntityEnabled('orp')" (click)="searchResearchResults('other', orpTotal, orpResults)"><a href="#">other research products</a></li>-->
719
<!--            </ul>-->
720

    
721
<!--            <ul id="resultTabs" class=" communityBorder customTabsContent uk-switcher " style="min-height:450px;">-->
722
<!--              <li *ngIf="isEntityEnabled('publication')" class="uk-padding">-->
723
<!--                <div *ngIf="show=='overview'">-->
724
<!--                  <div *ngIf="statistics !=null  && activeTab == 'publication'">-->
725
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:-->
726
<!--                            'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
727
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
728
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
729

    
730
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
731
<!--                  </div>-->
732
<!--                  <results-comp [results]=publicationResults [total]=publicationTotal resultType="publication"-->
733
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
734
<!--                                [properties]="properties"-->
735
<!--                                class=""></results-comp>-->
736
<!--                </div>-->
737
<!--                <div *ngIf="show!='overview' && activeTab == 'publication'">-->
738
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:-->
739
<!--                            'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
740
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
741
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
742
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
743

    
744
<!--                </div>-->
745

    
746

    
747
<!--              </li>-->
748
<!--              <li *ngIf="isEntityEnabled('dataset')" class="uk-padding">-->
749
<!--                <div *ngIf="show=='overview'">-->
750
<!--                  <div *ngIf="statistics !=null  && activeTab == 'dataset'">-->
751
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:-->
752
<!--                            'research data' , statisticsSum:statistics.statisticsSum,-->
753
<!--                            statisticsDisplay:statistics.statisticsDisplay,-->
754
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
755
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
756

    
757
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
758
<!--                  </div>-->
759
<!--                  <results-comp [results]=researchDataResults [total]=researchDataTotal resultType="dataset"-->
760
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
761
<!--                                [properties]="properties"-->
762
<!--                                class=""></results-comp>-->
763
<!--                </div>-->
764
<!--                <div *ngIf="show!='overview' && activeTab == 'dataset'">-->
765
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:-->
766
<!--                            'research data' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
767
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
768
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
769
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
770

    
771
<!--                </div>-->
772

    
773

    
774
<!--              </li>-->
775
<!--              <li *ngIf="isEntityEnabled('software')" class="uk-padding">-->
776
<!--                <div *ngIf="show=='overview'">-->
777
<!--                  <div *ngIf="statistics !=null  && activeTab == 'software'">-->
778
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:-->
779
<!--                            'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
780
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
781
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
782

    
783
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
784
<!--                  </div>-->
785
<!--                  <results-comp [results]=softwareResults [total]=softwareTotal resultType="software"-->
786
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
787
<!--                                [properties]="properties"-->
788
<!--                                class=""></results-comp>-->
789
<!--                </div>-->
790
<!--                <div *ngIf="show!='overview' && activeTab == 'software'">-->
791
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:-->
792
<!--                            'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
793
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
794
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
795
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
796

    
797
<!--                </div>-->
798

    
799

    
800
<!--              </li>-->
801
<!--              <li *ngIf="isEntityEnabled('orp')" class="uk-padding">-->
802
<!--                <div *ngIf="show=='overview'">-->
803
<!--                  <div *ngIf="statistics !=null  && activeTab == 'orp'">-->
804
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'orp', entityName:-->
805
<!--                            'other products' , statisticsSum:statistics.statisticsSum,-->
806
<!--                            statisticsDisplay:statistics.statisticsDisplay,-->
807
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
808
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
809

    
810
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
811
<!--                  </div>-->
812
<!--                  <results-comp [results]=orpResults [total]=orpTotal resultType="other"-->
813
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
814
<!--                                [properties]="properties"-->
815
<!--                                class=""></results-comp>-->
816
<!--                </div>-->
817
<!--                <div *ngIf="show!='overview' && activeTab == 'orp'">-->
818
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'orp', entityName:-->
819
<!--                            'other products' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
820
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
821
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
822
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
823

    
824
<!--                </div>-->
825

    
826

    
827
<!--              </li>-->
828
<!--            </ul>-->
829
<!--          </div>-->
830
          <!--            <hr>-->
831
          <!--<div *ngIf="statistics && statistics.allowedEntities &&  countOtherGraphs()>0">
832
            <div class="uk-text-bold uk-h5">
833
              Other Graphs
834
            </div>
835
            <div *ngIf="statistics && statistics.allowedEntities" class="uk-margin-top uk-grid">
836
              <ng-container *ngFor="let entity of statistics.allowedEntities">
837
                <ng-container *ngIf="statistics.statisticsSum[entity].total>0 && statistics.allowedCharts[entity].length>0 && activeTab!=entity">
838

    
839
                  <ng-container *ngIf="statistics.allowedCharts[entity] " >
840
                    <div *ngFor="let chart of statistics.allowedCharts[entity]" class="uk-width-1-2@m uk-first-column">
841
                      <div class="iframeContainer">
842
                        <iframe [src]=statistics.chartsUrlMap[chart]  scrolling="no"></iframe>
843
                      </div>
844
                    </div>
845
                  </ng-container>
846
                </ng-container>
847
              </ng-container>
848
            </div>
849
          </div>-->
850

    
851

    
852
<!--        </div>-->
853
<!--      </article>-->
854
<!--    </div>-->
855

    
856
<!--  </div>-->
857

    
858
<!--</div>-->
859
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>
860

    
861

    
862
<!--<div class="communityPanelBackground uk-margin-top uk-padding-small">-->
863
<!--  <div class="uk-container uk-margin-top uk-margin-bottom "-->
864
<!--       *ngIf="communityId != null && communityId != '' && community != null && communityInfo!=null">-->
865
<!--    <div class="uk-grid">-->
866
<!--      <div class="uk-width-2-5@m uk-width-1-1@s uk-first-column uk-margin-top">-->
867
<!--        <div *ngIf="community.date != null"><span-->
868
<!--          class="lowOpacityColor">Created</span> {{community.date | date:'dd-MM-yyyy'}}</div>-->
869
<!--        <subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class=""></subscribe>-->
870
<!--        <div *ngIf=" isRouteEnabled(shareInZenodoPage)" class="">-->
871
<!--          <span class="lowOpacityColor">Related Zenodo communities </span>-->
872
<!--          <a [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">-->
873
<!--             <span>-->
874
<!--                    {{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>-->
875

    
876
<!--          </a>-->
877
<!--          {{" "}}-->
878
<!--          <span class="uk-icon"-->
879
<!--                uk-tooltip="title:<div class='uk-margin'>Zenodo is a catch-all repository for OpenAIRE<hr>A zenodo community is created and curated by Zenodo users</div>">-->
880
<!--                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question"-->
881
<!--                         ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle><circle-->
882
<!--                      cx="10.44" cy="14.42" r="1.05"></circle><path fill="none" stroke="#000" stroke-width="1.2"-->
883
<!--                                                                    d="M8.17,7.79 C8.17,4.75 12.72,4.73 12.72,7.72 C12.72,8.67 11.81,9.15 11.23,9.75 C10.75,10.24 10.51,10.73 10.45,11.4 C10.44,11.53 10.43,11.64 10.43,11.75"></path></svg>-->
884
<!--                  </span>-->
885
<!--        </div>-->
886
<!--      </div>-->
887

    
888
<!--    </div>-->
889
<!--  </div>-->
890
<!--</div>-->
891
<div class="uk-section tm-middle uk-container uk-margin-top uk-padding-remove-top" id="" *ngIf="communityId && communityInfo">
892
  <ng-container *ngIf=" isRouteEnabled('/organizations')">
893
    <div class="uk-container  uk-margin-bottom uk-grid">
894
      <div class="uk-width-expand uk-padding-remove">
895
        <affiliations [longView]="false" [getAffiliationsFromAPI]="true" [communityFirstPage]="true"></affiliations>
896
      </div>
897
    </div>
898
  </ng-container>
899
</div>
900

    
901
<div *ngIf="(communityId == null || communityId == '' ) && !communityInfo"
902
     class="uk-section tm-middle uk-container uk-margin-large-top  ">
903
  <div class="uk-container  uk-margin-bottom uk-grid">
904
    <div class="uk-width-expand uk-padding-remove">
905
      <article class="uk-article ">
906
        <div
907
          class="uk-child-width-1-6@l uk-child-width-1-6@m uk-child-width-1-3@s uk-text-center uk-alert uk-alert-primary">
908
          No community chosen
909
        </div>
910
        <div *ngIf="communityId">
911

    
912
        </div>
913
      </article>
914
    </div>
915

    
916
  </div>
917

    
918
</div>
919
</div>
(2-2/4)