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

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

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

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

    
175
        <div class=" iframeContainer uk-height-large uk-margin-medium-top">
176
          <div *ngIf="showChartTitle[chart]" class="  uk-h5 ">
177
            {{chartsInfoMap[chart].title}}</div>
178
          <iframe [src]=chartsInfoMap[chart].url scrolling="no" class=""></iframe>
179
        </div>
180

    
181
      </div>
182

    
183
    </div>
184
  </div>
185

    
186
</ng-template>
187

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

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

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

    
240
<div *ngIf="communityInfo && community" class="uk-section uk-padding-remove-top uk-padding-remove-bottom">
241
  <div class="uk-padding-small">
242
    <div class="uk-container uk-container-large uk-margin-top"
243
         *ngIf="communityId">
244
      <div>
245
<!--        <div class="uk-margin-large-bottom">-->
246
<!--          <div *ngIf="community.title" class="uk-h2 uk-margin-remove">-->
247
<!--            {{community.title}}-->
248
<!--          </div>-->
249
<!--          <div *ngIf="community.shortTitle && community.title != community.shortTitle"-->
250
<!--               class="subtitle uk-margin-remove">-->
251
<!--            {{community.shortTitle}}-->
252
<!--          </div>-->
253
<!--        </div>-->
254
        <div>
255
          <div class="main-tabs-div">
256
          <ul uk-tab class="uk-text-truncate main-tabs uk-margin-remove uk-child-width-expand uk-width-3-4" uk-switcher="connect: .main-tabs-content">
257
            <li class="uk-padding-remove">
258
              <a class="uk-width-1-1 uk-height-1-1">
259
                <div class="tab-header">Summary</div>
260
              </a>
261
            </li>
262
            <li *ngIf="publicationTotal && publicationTotal > 0 && isEntityEnabled('publication')"
263
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('publication', publicationTotal, publicationResults)">
264
              <a class="uk-width-1-1 uk-height-1-1">
265
                <div class="tab-header">Publications</div><div class="number">{{publicationTotal|number}}</div>
266
              </a>
267
            </li>
268
            <li *ngIf="researchDataTotal && researchDataTotal > 0 && isEntityEnabled('dataset')"
269
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('dataset', researchDataTotal, researchDataResults)">
270
              <a class="uk-width-1-1 uk-height-1-1">
271
                <div class="tab-header">Research Data</div><div class="number">{{researchDataTotal|number}}</div>
272
              </a>
273
            </li>
274
            <li *ngIf="softwareTotal && softwareTotal > 0 && isEntityEnabled('software')"
275
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('software', softwareTotal, softwareResults)">
276
              <a class="uk-width-1-1 uk-height-1-1">
277
                <div class="tab-header">Software</div><div class="number">{{softwareTotal|number}}</div>
278
              </a>
279
            </li>
280
            <li *ngIf="orpTotal && orpTotal > 0 && isEntityEnabled('orp')"
281
                class="uk-padding-remove" (click)="show='overview'; searchResearchResults('other', orpTotal, orpResults)">
282
              <a class="uk-width-1-1 uk-height-1-1">
283
                <div class="tab-header">Other Research</div><div class="number">{{orpTotal|number}}</div></a>
284
            </li>
285
            <li *ngIf="statistics && statistics.statisticsDisplay && statistics.statisticsDisplay.isActive"
286
                class="uk-padding-remove statistics" (click)="show='analysis'; activeTab='analytics'">
287
              <a class="uk-width-1-1 uk-height-1-1">
288
                <div class="tab-header">Analytics</div>
289
                <div class="number">
290
                  <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
291
                    <path d="M0 0h24v24H0z" fill="none"></path>
292
                    <path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>
293
                  </svg>
294
                </div>
295
              </a>
296
            </li>
297
          </ul>
298
          </div>
299
          <ul class="uk-switcher main-tabs-content">
300
            <li>
301
              <div *ngIf="community" class="uk-grid uk-margin-remove">
302
                <div class="uk-width-expand uk-padding uk-inline">
303
                  <div *ngIf="isRouteEnabled('/curators')" [class]="community.managers ? 'uk-margin-small-bottom' : ''">
304
                    <curators [longView]="false" [managers]="community.managers" [communityId]="communityId"></curators>
305
                  </div>
306
                  <div [class]="community.date || subscribers ? 'uk-margin-small-bottom' : ''">
307
                    <span *ngIf="community.date" class="uk-margin-right">
308
                      <span class="lowOpacityColor uk-text-muted">Created: </span> {{community.date | date:'dd-MMM-yyyy'}}
309
                    </span>
310
                    <span>
311
                      <subscribe *ngIf="communityId" [communityId]="communityId" showNumbers=true (countSubscribersEvent)="countSubscribersEvent($event)"></subscribe>
312
                    </span>
313
                  </div>
314
                  <div [class]="((projectTotal && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)) ||
315
                                (contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)))
316
                                ? 'uk-margin-small-bottom' : ''">
317
                    <span *ngIf="projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)">
318
                      <span class="uk-text-muted">Projects:</span>
319
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
320
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects">
321
                        {{projectTotal|number}}
322
                      </a>
323
                    </span>
324
                    <span *ngIf="contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)"
325
                          [class]="'uk-display-inline-block '+((projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)) ? 'uk-margin-left' : '')">
326
                      <span class="uk-text-muted">Content Providers: </span>
327
                      <a class="uk-margin-auto-vertical uk-margin-auto portal-link" [queryParams]=params
328
                         routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders">
329
                        {{contentProviderTotal|number}}
330
                      </a>
331
                    </span>
332
                    <span *ngIf="projectsCalculated && contentProvidersCalculated &&
333
                          ((projectTotal  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects))
334
                          || (contentProviderTotal  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)))"
335
                          class="uk-icon uk-text-muted uk-margin-small-left"
336
                          title="{{buildProjectsAndContentProvidesTooltip()}}"
337
                          uk-tooltip="pos:bottom-right; delay:10; cls: community-page-tooltip uk-width-medium">
338
                      <svg width="15" height="15" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question" ratio="1">
339
                        <circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle>
340
                        <circle cx="10.44" cy="14.42" r="1.05"></circle>
341
                        <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>
342
                      </svg>
343
                    </span>
344
                  </div>
345
                  <div *ngIf="(zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0) > 0) && isRouteEnabled(shareInZenodoPage)" class="">
346
                    <span class="lowOpacityColor uk-text-muted">Linked to</span>
347
                    <a class="portal-link uk-margin-small-left uk-margin-small-right" [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">
348
                      <span>{{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>
349
                    </a>
350
                    <span class="lowOpacityColor uk-text-muted">Zenodo Communities</span>
351
                    <span class="uk-icon uk-text-muted uk-margin-small-left"
352
                          title="{{buildZenodoCommunitiesTooltip()}}"
353
                          uk-tooltip="pos:bottom-right; delay:10; cls: community-page-tooltip uk-width-medium">
354
                      <svg width="15" height="15" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question" ratio="1">
355
                        <circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle>
356
                        <circle cx="10.44" cy="14.42" r="1.05"></circle>
357
                        <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>
358
                      </svg>
359
                    </span>
360
                  </div>
361

    
362
                  <div *ngIf="community.description"
363
                       [class]="'uk-margin-bottom '+ ((subscribeComponent && subscribeComponent.subscribers > 0) || community.date ? 'uk-margin-top' : '')">
364
                    <div class="uk-text-muted">Description</div>
365
                    <div *ngIf="!showAllDescription" class="">
366
                      {{community.description.substring(0, thresholdDescription)}}{{community.description.length > thresholdDescription ? '...' : ''}}</div>
367
                    <div *ngIf="showAllDescription" class="uk-overflow-auto">
368
                      <div class="uk-height-max-medium">{{community.description}}</div>
369
                    </div>
370
                    <div *ngIf="!showAllDescription && community.description.length > thresholdDescription "
371
                         class="uk-animation-fade uk-margin-small-top uk-padding uk-padding-remove-top uk-position-bottom-right">
372
                      <a (click)="showAllDescription = !showAllDescription;">Read more
373
                      </a>
374
                    </div>
375
                    <div *ngIf="showAllDescription"
376
                         class="uk-animation-fade uk-margin-small-top uk-padding uk-padding-remove-top uk-position-bottom-right">
377
                      <a (click)="showAllDescription = !showAllDescription;">
378
                        Read less
379
                      </a>
380
                    </div>
381
                  </div>
382
                </div>
383
                <div *ngIf="isRouteEnabled('/subjects') && community.subjects && community.subjects.length > 0"
384
                     class="uk-width-1-3 uk-padding right-column uk-inline">
385
                  <div class="uk-margin-bottom">
386
                    <div class="uk-text-muted uk-margin-small-bottom">Subjects</div>
387
                    <span *ngFor="let subject of community.subjects.slice(0,20) let i=index">
388
                      <span *ngIf="subject != ''">
389
                        <a class="portal-link"
390
                           [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"
391
                           routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults" >
392
                          <span>{{subject}}</span>
393
                        </a>
394
                        <span *ngIf="i < community.subjects.length-1 && i != 19">, </span>
395
                      </span>
396
                    </span>
397
                    <div class="uk-margin-top uk-animation-fade uk-padding uk-padding-remove-top uk-position-bottom-right">
398
                      <a class="portal-link" routerLinkActive="router-link-active" [routerLink]="'/subjects'">
399
                        View all
400
                      </a>
401
                    </div>
402
                  </div>
403
                </div>
404
              </div>
405
            </li>
406
            <li *ngIf="publicationTotal && publicationTotal > 0 && isEntityEnabled('publication')">
407
              <ng-container *ngTemplateOutlet="tab_content; context: {
408
                resultType: 'publication', results: publicationResults, totalResults: publicationTotal, type: 'publication', typeName: 'publication'}">
409
              </ng-container>
410
            </li>
411
            <li *ngIf="researchDataTotal && researchDataTotal > 0 && isEntityEnabled('dataset')">
412
              <ng-container *ngTemplateOutlet="tab_content; context: {
413
                resultType: 'dataset', results: researchDataResults, totalResults: researchDataTotal, type: 'dataset', typeName: 'research fata'}">
414
              </ng-container>
415
            </li>
416
            <li *ngIf="softwareTotal && softwareTotal > 0 && isEntityEnabled('software')">
417
              <ng-container *ngTemplateOutlet="tab_content; context: {
418
                resultType: 'software', results: softwareResults, totalResults: softwareTotal, type: 'software', typeName: 'software'}">
419
              </ng-container>
420
            </li>
421
            <li *ngIf="orpTotal && orpTotal > 0 && isEntityEnabled('orp')">
422
              <ng-container *ngTemplateOutlet="tab_content; context: {
423
                resultType: 'other', results: orpResults, totalResults: orpTotal, type: 'orp', typeName: 'other products'}">
424
              </ng-container>
425
            </li>
426
            <li *ngIf="statistics && statistics.statisticsDisplay && statistics.statisticsDisplay.isActive"
427
                class="uk-overflow-auto">
428
              <div *ngIf="statistics && activeTab=='analytics'" class="uk-width-expand uk-padding">
429
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
430
                  type: 'publication', typeName: 'publications'}">
431
                </ng-container>
432
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
433
                  type: 'dataset', typeName: 'research data'}">
434
                </ng-container>
435
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
436
                  type: 'software', typeName: 'software'}">
437
                </ng-container>
438
                <ng-container *ngTemplateOutlet="analytics_tab_content; context: {
439
                  type: 'orp', typeName: 'other products'}">
440
                </ng-container>
441
              </div>
442
            </li>
443
          </ul>
444
        </div>
445
        <div class="uk-width-3-5@m uk-width-1-1@s">
446
          <div>
447
<!--            <div class="uk-margin-bottom uk-text-right">-->
448
<!--              <subscribe *ngIf="communityId != null && communityId != ''" [communityId]="communityId"-->
449
<!--                         class=""></subscribe>-->
450
<!--              {{" "}}-->
451
<!--              <invite *ngIf="showInvite()" [longView]=false [buttonSizeSmall]=false></invite>-->
452
<!--            </div>-->
453

    
454
<!--            <div *ngIf="communityId != null && communityId != ''"-->
455
<!--                 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"-->
456
<!--                 uk-scrollspy="cls: uk-animation-fade; target: > div > .uk-card; delay: 450; repeat: false">-->
457

    
458
<!--              <div-->
459
<!--                *ngIf="publicationTotal != null && publicationTotal > 0 && isEntityEnabled('publication')"-->
460
<!--                class="uk-padding-remove-left">-->
461
<!--                <div-->
462
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
463
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
464
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'publications', qf:false}"-->
465
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
466
<!--                      class="uk-text-bold uk-h5">{{publicationTotal|number}}</span>-->
467
<!--                      <p class="uk-text-small uk-margin-remove">publications</p></a>-->
468
<!--                  </div>-->
469
<!--                </div>-->
470
<!--              </div>-->
471

    
472
<!--              <div-->
473
<!--                *ngIf="researchDataTotal != null && researchDataTotal > 0 && isEntityEnabled('dataset') "-->
474
<!--                class="uk-padding-remove-left">-->
475
<!--                <div-->
476
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom">-->
477
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
478
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'datasets', qf:false}"-->
479
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
480
<!--                      class="uk-text-bold uk-h5">{{researchDataTotal|number}}</span>-->
481
<!--                      <p class="uk-text-small uk-margin-remove">research data</p></a>-->
482
<!--                  </div>-->
483
<!--                </div>-->
484
<!--              </div>-->
485
<!--              <div-->
486
<!--                *ngIf="softwareTotal != null && softwareTotal > 0 && isEntityEnabled('software') "-->
487
<!--                class="uk-padding-remove-left">-->
488
<!--                <div-->
489
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
490
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
491
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]="{type:'software', qf:false}"-->
492
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
493
<!--                      class="uk-text-bold uk-h5">{{softwareTotal|number}}</span>-->
494
<!--                      <p class="uk-text-small uk-margin-remove">software</p></a>-->
495
<!--                  </div>-->
496
<!--                </div>-->
497
<!--              </div>-->
498

    
499
<!--              <div-->
500
<!--                *ngIf="orpTotal != null  && orpTotal > 0 && isEntityEnabled('orp')"-->
501
<!--                class="uk-padding-remove-left">-->
502
<!--                <div-->
503
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
504
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
505
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto"-->
506
<!--                       [queryParams]="{type:'other', qf:false}"-->
507
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToResults"><span-->
508
<!--                      class="uk-text-bold uk-h5">{{orpTotal|number}}</span>-->
509
<!--                      <p class="uk-text-small uk-margin-remove">other products</p></a>-->
510
<!--                  </div>-->
511
<!--                </div>-->
512
<!--              </div>-->
513

    
514

    
515
<!--              <div-->
516
<!--                *ngIf="projectTotal != null  && projectTotal > 0 && isEntityEnabled('project') && isRouteEnabled(searchLinkToProjects)"-->
517
<!--                class="uk-padding-remove-left">-->
518
<!--                <div-->
519
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
520
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
521
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params-->
522
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToProjects"><span-->
523
<!--                      class="uk-text-bold uk-h5">{{projectTotal|number}}</span>-->
524
<!--                      <p class="uk-text-small uk-margin-remove">projects</p></a>-->
525
<!--                  </div>-->
526
<!--                </div>-->
527
<!--              </div>-->
528

    
529
<!--              <div-->
530
<!--                *ngIf="contentProviderTotal != null  && contentProviderTotal > 0 && isEntityEnabled('datasource') && isRouteEnabled(searchLinkToDataProviders)"-->
531
<!--                class="uk-padding-remove-left">-->
532
<!--                <div-->
533
<!--                  class="uk-card uk-card-default uk-card-body uk-padding-remove uk-margin-small-right uk-height-1-1 uk-margin-bottom  ">-->
534
<!--                  <div class="uk-margin-top uk-margin-bottom">-->
535
<!--                    <a class="uk-margin-auto-vertical uk-margin-auto" [queryParams]=params-->
536
<!--                       routerLinkActive="router-link-active" [routerLink]="searchLinkToDataProviders"><span-->
537
<!--                      class="uk-text-bold uk-h5">{{contentProviderTotal|number}}</span>-->
538
<!--                      <p class="uk-text-small uk-margin-remove">content providers</p></a>-->
539
<!--                  </div>-->
540
<!--                </div>-->
541
<!--              </div>-->
542

    
543
<!--            </div>-->
544
<!--            <div *ngIf="community.subjects != null && community.subjects.length > 0"-->
545
<!--                 class="uk-margin-small-bottom uk-margin-top uk-text-bold uk-h5">Subjects-->
546
<!--            </div>-->
547
<!--            <div *ngIf="community.subjects != null" class=" ">-->
548
<!--                <span *ngFor="let subject of community.subjects.slice(0,4) let i=index">-->
549
<!--                    <span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">-->
550
<!--                      <a [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"-->
551
<!--                         routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults" >-->
552
<!--                        {{subject}}-->
553
<!--                        </a>-->
554
<!--                    </span>{{" "}}-->
555
<!--                </span>-->
556
<!--              <span *ngIf="showAllSubjects">-->
557
<!--                    <span *ngFor="let subject of community.subjects.slice(4) let i=index">-->
558
<!--                        <span *ngIf="subject != ''" class="uk-label uk-margin-small-bottom">-->
559
<!--                          <a [queryParams]="{f0:'resultsubject',fv0:createParams(subject)}"-->
560
<!--                             routerLinkActive="router-link-active" [routerLink]="searchLinkToAdvancedResults">-->
561
<!--                            {{subject}}-->
562
<!--                            </a>-->
563
<!--                        </span> {{" "}}-->
564
<!--                    </span>-->
565
<!--                </span>-->
566
<!--              <br>-->
567
<!--              <div *ngIf="!showAllSubjects && community.subjects.length > 4 "-->
568
<!--                    class="uk-animation-fade uk-text-center uk-text-bold">-->
569
<!--                    <a (click)="showAllSubjects = !showAllSubjects;">-->
570
<!--                      View more-->
571
<!--                    </a>-->
572
<!--              </div>-->
573
<!--              <div *ngIf="showAllSubjects"-->
574
<!--                    class="uk-text-center uk-text-bold">-->
575
<!--                    <a (click)="showAllSubjects = !showAllSubjects;">-->
576
<!--                      View less-->
577
<!--                    </a>-->
578
<!--              </div>-->
579
<!--            </div>-->
580
          </div>
581
        </div>
582
      </div>
583

    
584
    </div>
585
  </div>
586
</div>
587

    
588
<!--<div class="uk-section tm-middle uk-container uk-margin-small-top uk-padding-remove-top" id="tm-main">-->
589
<!--  <div class="uk-container  uk-margin-bottom uk-grid">-->
590
<!--    <div class="uk-width-expand uk-padding-remove">-->
591
<!--      <article *ngIf="communityInfo" class="uk-article ">-->
592
<!--        <div *ngIf="communityId != null && communityId != '' && community != null">-->
593

    
594

    
595
          <!--      <div *ngIf="isRouteEnabled('/search/find')" class="uk-margin-top">
596
                  <div class="uk-text-bold uk-h5">Search research results</div>
597
                  <search-form [setFormCentered]=false [placeholderText]="getSearchPlaceHolder()" link="/search/find"></search-form>
598
                </div>-->
599

    
600
<!--          <div class="uk-text-center" *ngIf="statistics.statisticsDisplay && statistics.statisticsDisplay.isActive">-->
601
            <!-- <button [class]="'uk-button  '+((show == 'overview')?'uk-disabled ':' uk-button-default  ')"
602
                     (click)="show='overview'">Overview
603
             </button>
604
             {{" "}}
605
             <button [class]="'uk-button '+((show != 'overview')?'uk-disabled ':' uk-button-default ')"
606
                     (click)="show='analysis';">Graph Analysis
607
             </button>-->
608
<!--            <mat-form-field>-->
609
<!--              <div class="uk-margin-small-bottom">Select view</div>-->
610
<!--&lt;!&ndash;              <mat-label>Select view</mat-label>&ndash;&gt;-->
611
<!--              <mat-select [(value)]="show">-->
612
<!--                <mat-option value="overview">Overview</mat-option>-->
613
<!--                <mat-option value="analysis">Graph Analysis</mat-option>-->
614
<!--              </mat-select>-->
615
<!--            </mat-form-field>-->
616
            <!--<select [(ngModel)]="show" class="uk-select uk-text-bold uk-width-small">
617
              <option value="overview">Overview</option>
618
              <option value="analysis">Graph Analysis</option>
619
            </select>-->
620
            <!--            <select   [(ngModel)]="sortBy"      class="uk-select  uk-margin-small-bottom uk-width-1-2 uk-padding-remove"  name="select_order"   >-->
621
            <!--              <option  value="num"  >Sort by results number</option>-->
622
            <!--              <option  value="name"  >Sort by name</option>-->
623
            <!--            </select>-->
624
<!--          </div>-->
625

    
626
<!--          <div class="uk-margin-top  customTabs">-->
627

    
628

    
629
<!--            <ul class="uk-margin-remove uk-flex-center"-->
630
<!--                data-uk-tab="{connect: '#resultTabs'">-->
631
<!--              <li *ngIf="isEntityEnabled('publication')" (click)="searchResearchResults('publication', publicationTotal, publicationResults)" class="uk-active"><a-->
632
<!--                href="#">publications</a></li>-->
633
<!--              <li *ngIf="isEntityEnabled('dataset')" (click)="searchResearchResults('dataset', researchDataTotal, researchDataResults)"><a href="#">research data</a></li>-->
634
<!--              <li *ngIf="isEntityEnabled('software')" (click)="searchResearchResults('software', softwareTotal, softwareResults)"><a href="#">software</a></li>-->
635
<!--              <li *ngIf="isEntityEnabled('orp')" (click)="searchResearchResults('other', orpTotal, orpResults)"><a href="#">other research products</a></li>-->
636
<!--            </ul>-->
637

    
638
<!--            <ul id="resultTabs" class=" communityBorder customTabsContent uk-switcher " style="min-height:450px;">-->
639
<!--              <li *ngIf="isEntityEnabled('publication')" class="uk-padding">-->
640
<!--                <div *ngIf="show=='overview'">-->
641
<!--                  <div *ngIf="statistics !=null  && activeTab == 'publication'">-->
642
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:-->
643
<!--                            'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
644
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
645
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
646

    
647
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
648
<!--                  </div>-->
649
<!--                  <results-comp [results]=publicationResults [total]=publicationTotal resultType="publication"-->
650
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
651
<!--                                [properties]="properties"-->
652
<!--                                class=""></results-comp>-->
653
<!--                </div>-->
654
<!--                <div *ngIf="show!='overview' && activeTab == 'publication'">-->
655
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'publication', entityName:-->
656
<!--                            'publications' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
657
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
658
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
659
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
660

    
661
<!--                </div>-->
662

    
663

    
664
<!--              </li>-->
665
<!--              <li *ngIf="isEntityEnabled('dataset')" class="uk-padding">-->
666
<!--                <div *ngIf="show=='overview'">-->
667
<!--                  <div *ngIf="statistics !=null  && activeTab == 'dataset'">-->
668
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:-->
669
<!--                            'research data' , statisticsSum:statistics.statisticsSum,-->
670
<!--                            statisticsDisplay:statistics.statisticsDisplay,-->
671
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
672
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
673

    
674
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
675
<!--                  </div>-->
676
<!--                  <results-comp [results]=researchDataResults [total]=researchDataTotal resultType="dataset"-->
677
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
678
<!--                                [properties]="properties"-->
679
<!--                                class=""></results-comp>-->
680
<!--                </div>-->
681
<!--                <div *ngIf="show!='overview' && activeTab == 'dataset'">-->
682
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'dataset', entityName:-->
683
<!--                            'research data' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
684
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
685
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
686
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
687

    
688
<!--                </div>-->
689

    
690

    
691
<!--              </li>-->
692
<!--              <li *ngIf="isEntityEnabled('software')" class="uk-padding">-->
693
<!--                <div *ngIf="show=='overview'">-->
694
<!--                  <div *ngIf="statistics !=null  && activeTab == 'software'">-->
695
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:-->
696
<!--                            'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
697
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
698
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
699

    
700
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInDashboard'}"></ng-container>-->
701
<!--                  </div>-->
702
<!--                  <results-comp [results]=softwareResults [total]=softwareTotal resultType="software"-->
703
<!--                                [community]=community [params]=params [showLoading]="showLoading"-->
704
<!--                                [properties]="properties"-->
705
<!--                                class=""></results-comp>-->
706
<!--                </div>-->
707
<!--                <div *ngIf="show!='overview' && activeTab == 'software'">-->
708
<!--                  <ng-container *ngTemplateOutlet="stats; context: { entity: 'software', entityName:-->
709
<!--                            'software' , statisticsSum:statistics.statisticsSum, statisticsDisplay:statistics.statisticsDisplay,-->
710
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInMonitor'],-->
711
<!--                            allowedCharts:statistics.allowedChartsMode['showInMonitor'], showChartTitle:  statistics.chartTitlesMode['showInMonitor'],-->
712
<!--                            chartsInfoMap:statistics.chartsInfoMap, showIn:'showInMonitor'}"></ng-container>-->
713

    
714
<!--                </div>-->
715

    
716

    
717
<!--              </li>-->
718
<!--              <li *ngIf="isEntityEnabled('orp')" class="uk-padding">-->
719
<!--                <div *ngIf="show=='overview'">-->
720
<!--                  <div *ngIf="statistics !=null  && activeTab == 'orp'">-->
721
<!--                    <ng-container *ngTemplateOutlet="stats; context: { entity: 'orp', entityName:-->
722
<!--                            'other products' , statisticsSum:statistics.statisticsSum,-->
723
<!--                            statisticsDisplay:statistics.statisticsDisplay,-->
724
<!--                            allowedEntities: statistics.allowedEntitiesMode['showInDashboard'],-->
725
<!--                            allowedCharts:statistics.allowedChartsMode['showInDashboard'], showChartTitle:  statistics.chartTitlesMode['showInDashboard'],-->
726

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

    
741
<!--                </div>-->
742

    
743

    
744
<!--              </li>-->
745
<!--            </ul>-->
746
<!--          </div>-->
747
          <!--            <hr>-->
748
          <!--<div *ngIf="statistics && statistics.allowedEntities &&  countOtherGraphs()>0">
749
            <div class="uk-text-bold uk-h5">
750
              Other Graphs
751
            </div>
752
            <div *ngIf="statistics && statistics.allowedEntities" class="uk-margin-top uk-grid">
753
              <ng-container *ngFor="let entity of statistics.allowedEntities">
754
                <ng-container *ngIf="statistics.statisticsSum[entity].total>0 && statistics.allowedCharts[entity].length>0 && activeTab!=entity">
755

    
756
                  <ng-container *ngIf="statistics.allowedCharts[entity] " >
757
                    <div *ngFor="let chart of statistics.allowedCharts[entity]" class="uk-width-1-2@m uk-first-column">
758
                      <div class="iframeContainer">
759
                        <iframe [src]=statistics.chartsUrlMap[chart]  scrolling="no"></iframe>
760
                      </div>
761
                    </div>
762
                  </ng-container>
763
                </ng-container>
764
              </ng-container>
765
            </div>
766
          </div>-->
767

    
768

    
769
<!--        </div>-->
770
<!--      </article>-->
771
<!--    </div>-->
772

    
773
<!--  </div>-->
774

    
775
<!--</div>-->
776
<statistics-for-dashboard [currentMode]="'showInDashboard'"></statistics-for-dashboard>
777

    
778

    
779
<!--<div class="communityPanelBackground uk-margin-top uk-padding-small">-->
780
<!--  <div class="uk-container uk-margin-top uk-margin-bottom "-->
781
<!--       *ngIf="communityId != null && communityId != '' && community != null && communityInfo!=null">-->
782
<!--    <div class="uk-grid">-->
783
<!--      <div class="uk-width-2-5@m uk-width-1-1@s uk-first-column uk-margin-top">-->
784
<!--        <div *ngIf="community.date != null"><span-->
785
<!--          class="lowOpacityColor">Created</span> {{community.date | date:'dd-MM-yyyy'}}</div>-->
786
<!--        <subscribe *ngIf="communityId != null" [communityId]="communityId" showNumbers=true class=""></subscribe>-->
787
<!--        <div *ngIf=" isRouteEnabled(shareInZenodoPage)" class="">-->
788
<!--          <span class="lowOpacityColor">Related Zenodo communities </span>-->
789
<!--          <a [queryParams]=params routerLinkActive="router-link-active" [routerLink]="shareInZenodoPage">-->
790
<!--             <span>-->
791
<!--                    {{zenodoCommunityIdS.length + ((masterZenodoCommunity) ? 1 : 0)}}</span>-->
792

    
793
<!--          </a>-->
794
<!--          {{" "}}-->
795
<!--          <span class="uk-icon"-->
796
<!--                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>">-->
797
<!--                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="question"-->
798
<!--                         ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10" cy="10" r="9"></circle><circle-->
799
<!--                      cx="10.44" cy="14.42" r="1.05"></circle><path fill="none" stroke="#000" stroke-width="1.2"-->
800
<!--                                                                    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>-->
801
<!--                  </span>-->
802
<!--        </div>-->
803
<!--      </div>-->
804

    
805
<!--    </div>-->
806
<!--  </div>-->
807
<!--</div>-->
808
<div class="uk-section tm-middle uk-container uk-margin-top uk-padding-remove-top" id="" *ngIf="communityId && communityInfo">
809
  <ng-container *ngIf=" isRouteEnabled('/organizations')">
810
    <div class="uk-container  uk-margin-bottom uk-grid">
811
      <div class="uk-width-expand uk-padding-remove">
812
        <affiliations [longView]="false" [getAffiliationsFromAPI]="true" [communityFirstPage]="true"></affiliations>
813
      </div>
814
    </div>
815
  </ng-container>
816
</div>
817

    
818
<div *ngIf="(communityId == null || communityId == '' ) && !communityInfo"
819
     class="uk-section tm-middle uk-container uk-margin-large-top  ">
820
  <div class="uk-container  uk-margin-bottom uk-grid">
821
    <div class="uk-width-expand uk-padding-remove">
822
      <article class="uk-article ">
823
        <div
824
          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">
825
          No community chosen
826
        </div>
827
        <div *ngIf="communityId">
828

    
829
        </div>
830
      </article>
831
    </div>
832

    
833
  </div>
834

    
835
</div>
836
</div>
(2-2/4)