Project

General

Profile

1
<div class="image-front-topbar  uk-section-default uk-position-relative" uk-scrollspy="{&quot;target&quot;:&quot;[uk-scrollspy-class]&quot;,&quot;cls&quot;:&quot;uk-animation-fade&quot;,&quot;delay&quot;:false}" tm-header-transparent="light">
2
  <div style=" min-height: 350px;"  [class]="' uk-background-norepeat uk-background-cover uk-background-bottom-center uk-section uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed '+searchFormClass">
3
    <div class="uk-position-cover" style="/*background-color: rgba(255, 255, 255, 0.37);*/"></div>
4
    <div class="uk-container">
5
        <div class="uk-position-relative">
6

    
7

    
8
           <div   class="uk-container ">
9
             <div   class="uk-width-1-1">
10
               <search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)"  [placeholderText]="formPlaceholderText"></search-form>
11
             </div>
12

    
13

    
14
           </div>
15
        </div>
16
     </div>
17
  </div>
18
</div>
19
<schema2jsonld   *ngIf="url"  [URL]="url" type="search" [name]=pageTitle [searchAction]=false></schema2jsonld>
20

    
21
<div id="tm-main" class=" uk-section uk-padding-remove-top tm-middle"   >
22
  <div uk-grid uk-grid>
23
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
24

    
25
      <!--div   [class]="'uk-background-norepeat uk-background-cover uk-section uk-flex uk-flex-middle '+searchFormClass" >
26
        <div   class="uk-width-1-1">
27
          <div   class="uk-width-1-1">
28
            <search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)"  [placeholderText]="formPlaceholderText"></search-form>
29
          </div>
30
          <div   class="uk-width-1-1  uk-light">
31
            <div *ngIf="isFiltered()" class = "uk-container uk-text-center ">
32
              <span *ngIf = "searchUtils.keyword.length > 0">Keywords: <span>{{searchUtils.keyword}}<a (click) = "clearKeywords() " [class]="(disableForms)?'uk-icon-button uk-disabled':'uk-icon-button'"><span class=" clickable " aria-hidden="true"><span class="uk-icon">
33
                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="1"><path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"></path></svg>
34
                </span></span></a></span>
35
              </span>
36
              <span *ngFor="let filter of filters " >
37
                <span *ngIf = "filter.countSelectedValues > 0"> {{filter.title}}:
38
                  <span *ngFor="let value of getSelectedValues(filter); let i = index;  let end = last; " >{{value.name}}<a (click) = "removeFilter(value, filter) " [class]="(disableForms)?'uk-icon-button uk-disabled':'uk-icon-button'"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
39
                    <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="1"><path fill="none" stroke="#000" stroke-width="1.06" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.06" d="M16,4 L4,16"></path></svg>
40
                    </span></span></a>
41
                    <span *ngIf="!end">, </span>
42
                  </span>
43
                </span>
44
              </span>
45

    
46
              <a (click)="clearFilters()" [class]="(disableForms)?'uk-disabled uk-link-muted':''">
47
                Clear All
48
              </a>
49
            </div>
50
          </div>
51
        </div>
52
      </div!-->
53

    
54
      <div  class="uk-container">
55
        <helper position="top"></helper>
56
        <div  class="uk-width-2-3@m  uk-width-2-3@l  uk-width-1-1@s">
57

    
58
          <div *ngIf="filters.length > 0" class="uk-offcanvas-content uk-hidden@m">
59
            <a href="#offcanvas-usage" uk-toggle><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="6" y="4" width="12" height="1"></rect><rect x="6" y="9" width="12" height="1"></rect><rect x="6" y="14" width="12" height="1"></rect><rect x="2" y="4" width="2" height="1"></rect><rect x="2" y="9" width="2" height="1"></rect><rect x="2" y="14" width="2" height="1"></rect></svg></a>
60

    
61
            <div id="offcanvas-usage" uk-offcanvas>
62
              <div class="uk-offcanvas-bar">
63
                <button class="uk-offcanvas-close" type="button" uk-close></button>
64
                <div class = " uk-margin-top ">
65
                  <span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
66
                  <a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?'  uk-disabled':'  ')+' portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
67
                    <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
68
                    </span></span></a>
69
                  <span [innerHtml]="searchUtils.keyword"></span>
70

    
71
                  </span>
72
                  <div *ngFor="let filter of filters " >
73
                    <span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
74
                      <span *ngFor="let value of getSelectedValues(filter); let i = index;  let end = last; " >
75
                        <a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?'  uk-disabled':'  ')+'  portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
76
                          <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
77
                          </span></span></a>
78
                        <span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
79

    
80
                        <span *ngIf="!end" class="   ">, </span>
81
                      </span>
82
                    </span>
83
                  </div>
84
                  <!-- <div class="uk-margin-small-bottom uk-margin-small-top">
85
                    <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-margin-small-right portal-link '">
86
                   Clear All
87
                  </a>
88
                  <div *ngIf="searchViewLink" class="uk-width-1-1@s uk-hidden@m">
89
                    <p>
90
                      <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
91

    
92
                      <a routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
93
                        <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
94
                      </a>
95
                    </p>
96
                  </div>
97
                </div> -->
98
                <div class="uk-margin-small-bottom uk-margin-small-top uk-grid">
99
                  <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+'  portal-link ' + 'uk-width-1-2'">
100
                    Clear All
101
                  </a>
102
                  <span *ngIf="searchViewLink" class="uk-width-expand">
103
                    <p>
104
                      <span uk-tooltip="title: Table view" class=" uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg>
105
                      </span>
106
                      <a uk-tooltip="title: List view" routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
107
                        <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
108
                      </a>
109

    
110
                      <search-dataprovider-map  [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [mapUrl]="mapUrl" [mapTooltipType]="mapTooltipType"></search-dataprovider-map>
111
                    </p>
112
                  </span>
113
                </div>
114

    
115
                </div>
116
                <div class="uk-text-large">Filter By:</div>
117
                <search-filter  *ngFor="let filter of filters " [addShowMore]=false [isDisabled]="disableForms" [filter]="filter"  [showResultCount]=showResultCount (change)="filterChanged($event)" (toggleModal)="toggleModal($event)"></search-filter>
118
              </div>
119
            </div>
120

    
121
          </div>
122
        </div>
123

    
124
        <div  class="uk-grid uk-width-1-1 uk-margin-top">
125
          <div *ngIf="filters.length > 0" class="  uk-margin-top helper-left-right search-filters uk-visible@m">
126
            <helper position="left" before="true"></helper>
127
            <div  class = "  ">
128
              <span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
129
              <a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?'  uk-disabled':'  ')+' portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
130
                <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
131
                </span></span></a>
132
              <span [innerHtml]="searchUtils.keyword"></span>
133

    
134
              </span>
135
              <div *ngFor="let filter of filters "  class="uk-margin-small-bottom">
136
                <span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
137
                  <span *ngFor="let value of getSelectedValues(filter); let i = index;  let end = last; " >
138
                    <a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?'  uk-disabled':'  ')+'  portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
139
                      <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
140
                      </span></span></a>
141
                    <span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
142

    
143
                    <span *ngIf="!end" class="   ">, </span>
144
                  </span>
145
                </span>
146
              </div>
147
              <!-- <div class="uk-margin-small-bottom ">
148
                <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-margin-small-right portal-link '">
149
               Clear All
150
              </a>
151
               <div *ngIf="searchViewLink" class="uk-width-1-1@s ">
152
                <p>
153
                  <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
154

    
155
                  <a routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
156
                    <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
157
                  </a>
158
                </p>
159
              </div>
160
            </div> -->
161

    
162
            <div class="uk-margin-small-bottom uk-margin-small-top uk-grid">
163
              <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+'  portal-link ' + 'uk-width-1-2'">
164
                Clear All
165
              </a>
166
              <span *ngIf="searchViewLink" class="uk-width-expand">
167
                <p>
168
                  <span uk-tooltip="title: Table view" class="  uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
169

    
170
                  <a uk-tooltip="title: List view" routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
171
                    <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
172
                  </a>
173
                  <search-dataprovider-map class="uk-width-1-2" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils" [mapUrl]="mapUrl" [mapTooltipType]="mapTooltipType"></search-dataprovider-map>
174
                </p>
175
              </span>
176
            </div>
177

    
178
            </div>
179
            <search-filter  *ngFor="let filter of filters " [isDisabled]="disableForms" [filter]="filter"  [showResultCount]=showResultCount (change)="filterChanged($event)" (toggleModal)="toggleModal($event)"></search-filter>
180
            <helper position="left" before="false"></helper>
181
          </div>
182
          <helper *ngIf="filters.length == 0" class="uk-margin-top helper-left-right uk-visible@m" position="left"></helper>
183

    
184
          <div class="uk-width-expand@m uk-width-1-1@s uk-first-column custom-dataTable-content" >
185
            <div *ngIf="openaireLink"> <a class="uk-margin-top   uk-button uk-button-text"  [href]=openaireLink target="_blank" >Results in OpenAIRE</a></div>
186
            <div *ngIf="searchUtils.totalResults > 0" class="uk-align-center uk-margin-remove-bottom">
187
              <div class="uk-margin-top uk-margin-bottom">
188
                <search-results-per-page class="uk-width-1-1" [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>
189
              </div>
190
              <div class="searchPaging uk-panel uk-margin-top uk-margin-bottom uk-grid">
191
                <span class="uk-width-1-1@s uk-width-1-2@m">
192
                  {{searchUtils.totalResults | number}} {{type}}, page {{searchUtils.page | number}} of {{(totalPages()) | number}}
193
                </span>
194
                <span class="float-children-right-at-medium margin-small-top-at-small uk-width-1-1@s uk-width-1-2@m">
195
                  <paging-no-load [currentPage]="searchUtils.page" [totalResults]="searchUtils.totalResults" [size]="searchUtils.size" (pageChange)="goTo($event.value, false)"></paging-no-load>
196
                </span>
197
              </div>
198
            </div>
199

    
200
            <!-- <div *ngIf="searchViewLink" class="uk-width-1-1@s uk-hidden@m">
201
              <p>
202
                <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
203

    
204
                <a routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
205
                  <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
206
                </a>
207
              </p>
208
            </div> -->
209

    
210
            <div *ngIf="searchUtils.totalResults <= 0" class="errors-in-searchTableView">
211
              <errorMessages [status]="[searchUtils.status]" [type]="'results'"></errorMessages>
212
            </div>
213

    
214
            <div *ngIf="searchUtils.status == errorCodes.LOADING || searchUtils.status == errorCodes.DONE" class="uk-overflow-auto">
215
              <!--  #mf="mfDataTable" [mfRowsOnPage]="rowsOnPage"
216
                      [mfData]="results | contentProvidersDatatable : [searchUtils, filters, triggerPipe, cd]"
217

    
218
                    -->
219
              <table datatable class="uk-table uk-table-striped divider-table" [dtOptions]="dtOptions" id="dpTable" [dtTrigger]="dtTrigger" dtInstance="dtInstanceCallback">
220
                <thead >
221
                  <tr>
222
                    <th *ngFor="let column of columnNames" class="uk-text-center">{{column}}</th>
223
                  </tr>
224
                </thead>
225
                <tbody>
226
                  <tr class="uk-table-middle" *ngFor="let result of results">
227
                    <td *ngIf="result.hasOwnProperty('title')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
228
                      <a [queryParams]="{datasourceId: result.id}" routerLinkActive="router-link-active" routerLink="/search/dataprovider">
229
                        <span *ngIf="result.title.name"
230
                              [innerHTML]="result.title.name">
231
                        </span>
232
                        <span *ngIf="!result.title.name">
233
                          [no title available]
234
                        </span>
235
                      </a>
236
                    </td>
237
                    <td *ngIf="result.hasOwnProperty('type')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
238
                      <span *ngIf="result.type">{{result.type}}</span>
239
                      <span *ngIf="!result.type">-</span>
240
                    </td>
241
                    <td *ngIf="result.hasOwnProperty('countries')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
242
                      <span *ngFor="let country of result['countries'].slice(0,5) let i = index">{{country}}{{(i < ( result['countries'].slice(0,5).length-1))?", ":""}}{{(i ==  result['countries'].slice(0,5).length-1 &&  result['countries'].length > 5)?"...":""}}</span>
243
                      <span *ngIf="result.countries.length == 0">-</span>
244
                    </td>
245
                    <td *ngIf="result.hasOwnProperty('organizations')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
246
                      <span *ngFor="let org of result['organizations'].slice(0,5) let i = index">
247
                        <a *ngIf="org.id" [queryParams]="{organizationId: org.id}" routerLinkActive="router-link-active" routerLink="/search/organization">{{org.name}}</a><span *ngIf="!org.id">{{org.name}}</span>{{(i < ( result['organizations'].slice(0,5).length-1))?", ":""}}{{(i ==  result['organizations'].slice(0,5).length-1 &&  result['organizations'].length > 5)?"...":""}}
248
                      </span>
249
                      <span *ngIf="result.organizations.length == 0">-</span>
250
                    </td>
251
                    <td *ngIf="result.hasOwnProperty('compatibility')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
252
                      <span *ngIf="result.compatibility">{{result.compatibility}}</span>
253
                      <span *ngIf="!result.compatibility">-</span>
254
                    </td>
255

    
256
                    <!--Community Projects-->
257
                    <td *ngIf="result.hasOwnProperty('acronym') && result.hasOwnProperty('name')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
258
                      <a [queryParams]="(result.openaireId) ? {projectId: result.openaireId} : {grantId: encode(result.grantId), funder: encode(result.funder)}"
259
                          routerLinkActive="router-link-active" routerLink="/search/project">
260
                        <span *ngIf="result.name">{{result.name}}</span>
261
                        <span *ngIf="result.name && result.acronym">(</span
262
                        ><span *ngIf="result.acronym">{{result.acronym}}</span
263
                        ><span *ngIf="result.name && result.acronym">)</span>
264
                        <span *ngIf="!result.name && !result.acronym">[no title available]</span>
265
                      </a>
266
                    </td>
267
                    <td *ngIf="result.hasOwnProperty('grantId')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
268
                      <span *ngIf="result.grantId">{{result.grantId}}</span>
269
                      <span *ngIf="!result.grantId">-</span>
270
                    </td>
271
                    <td *ngIf="result.hasOwnProperty('funder')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
272
                      <span *ngIf="result.funder">{{result.funder}}</span>
273
                      <span *ngIf="!result.funder">-</span>
274
                    </td>
275

    
276
                    <!--Community Content Providers-->
277
                    <td *ngIf="!result.hasOwnProperty('acronym') && result.hasOwnProperty('name')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
278
                      <a [queryParams]="{datasourceId: result.openaireId}" routerLinkActive="router-link-active" routerLink="/search/dataprovider">
279
                        <span *ngIf="result.name">{{result.name}}</span>
280
                        <span *ngIf="!result.name">[no name available]</span>
281
                      </a>
282
                    </td>
283
                    <td *ngIf="result.hasOwnProperty('officialname')" [class]="'uk-text-center uk-width-1-'+columnNames.length">
284
                      <span *ngIf="result.officialname">{{result.officialname}}</span>
285
                      <span *ngIf="!result.officialname">-</span>
286
                    </td>
287
                  </tr>
288
                </tbody>
289
                <!-- <thead *ngIf="searchUtils.totalResults > 0">
290
                  <tr><td colspan="5" class="uk-padding-remove-horizontal">
291
                    <span class="uk-h6">
292
                      {{searchUtils.totalResults}} content providers, page {{searchUtils.page}} of {{(totalPages())}}
293
                    </span>
294
                    <paging-no-load class="uk-float-right" [currentPage]="searchUtils.page" [totalResults]="searchUtils.totalResults" [size]="rowsOnPage" (pageChange)="goTo($event.value, false)"></paging-no-load>
295
                  </td></tr>
296
                </thead> -->
297
              </table>
298
            </div>
299

    
300
            <div *ngIf="searchUtils.totalResults > 0" class="uk-align-center uk-margin-remove-bottom">
301
              <div class="uk-margin-top uk-margin-bottom">
302
                <search-results-per-page class="uk-width-1-1" [(size)]="searchUtils.size" (sizeChange)="sizeChanged($event)"></search-results-per-page>
303
              </div>
304
              <div class="searchPaging uk-panel uk-margin-top uk-grid">
305
                <span class="uk-width-1-1@s uk-width-1-2@m">
306
                  {{searchUtils.totalResults | number}} {{type}}, page {{searchUtils.page | number}} of {{(totalPages()) | number}}
307
                </span>
308
                <span class="float-children-right-at-medium margin-small-top-at-small uk-width-1-1@s uk-width-1-2@m">
309
                  <paging-no-load [currentPage]="searchUtils.page" [totalResults]="searchUtils.totalResults" [size]="searchUtils.size" (pageChange)="goTo($event.value, false)"></paging-no-load>
310
                </span>
311
              </div>
312
            </div>
313

    
314
            <a *ngIf="properties.showLastIndexInformationLink" class="last_index_info uk-button-text"
315
                [href]="properties.lastIndexInformationLink" target="_blank">
316
                Last index information
317
            </a>
318

    
319
            <helper class="uk-hidden@m" position="left" styleName="uk-width-1-1@s"></helper>
320
            <helper class="uk-hidden@m" position="right" styleName="uk-width-1-1@s"></helper>
321
          </div>
322

    
323
          <!-- <div *ngIf="searchViewLink" class="helper-left-right uk-visible@m">
324
            <helper position="right" before="true"></helper>
325
            <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
326

    
327
            <a routerLinkActive="router-link-active" [class]="(disableForms && !enableSearchView)?'uk-disabled uk-link-muted':''" [routerLink]=searchViewLink >
328
              <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
329
            </a>
330
            <helper position="right" before="false"></helper>
331
          </div>
332
          <helper *ngIf="!searchViewLink" class="helper-left-right uk-visible@m" position="right"></helper> -->
333
        </div>
334

    
335
        <helper position="bottom"></helper>
336
      </div>
337
      <modal-search-filter [filter]="currentFilter" [showResultCount]=showResultCount (modalChange)="filterChanged($event)"></modal-search-filter>
338
    </div>
339
  </div>
340
</div>
(30-30/45)