1
|
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
|
2
|
<div *ngIf="!showFeedback" uk-grid>
|
3
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
4
|
<div class="uk-container uk-container-large organization">
|
5
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
|
6
|
role="alert">{{warningMessage}}</div>
|
7
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
8
|
role="alert">{{errorMessage}}</div>
|
9
|
<div [style.display]="showLoading ? 'inline' : 'none'"
|
10
|
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span
|
11
|
class="loading-gif uk-align-center"></span></div>
|
12
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
13
|
[texts]="pageContents['top']"></helper>
|
14
|
<div *ngIf="organizationInfo != null" class="uk-grid">
|
15
|
<div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
|
16
|
<schema2jsonld *ngIf="organizationInfo" [data]=organizationInfo
|
17
|
[URL]="properties.baseLink+'/search/organization?organizationId='+organizationId"
|
18
|
type="organization"></schema2jsonld>
|
19
|
<landing-header [properties]="properties" [title]="organizationInfo.title.name"
|
20
|
[subTitle]="(organizationInfo.name
|
21
|
&& organizationInfo.title.name !== organizationInfo.name)?organizationInfo.name:null"
|
22
|
[entityType]="'organization'"></landing-header>
|
23
|
<div *ngIf="organizationInfo.deletedByInferenceIds"
|
24
|
class="uk-text-muted uk-text-small uk-text-right">
|
25
|
<a (click)="openDeletedByInference()">View all {{organizationInfo.deletedByInferenceIds.length}}
|
26
|
versions</a>
|
27
|
</div>
|
28
|
<ul class="uk-list">
|
29
|
<!-- Web Page -->
|
30
|
<li *ngIf="organizationInfo.title && organizationInfo.title.url">
|
31
|
<span class="uk-text-muted">Web page: </span>
|
32
|
<a [href]="organizationInfo.title.url">
|
33
|
<span>{{organizationInfo.title.url}}</span>
|
34
|
<span class="custom-external custom-icon space"></span>
|
35
|
</a>
|
36
|
</li>
|
37
|
<!-- Country -->
|
38
|
<li *ngIf="organizationInfo.country">
|
39
|
<span class="uk-text-muted">Country: </span>{{organizationInfo.country}}
|
40
|
</li>
|
41
|
</ul>
|
42
|
<div class="uk-margin-medium-top">
|
43
|
<div *ngIf="fetchProjects && fetchProjects.searchUtils.totalResults > 0"
|
44
|
class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
|
45
|
<div *ngIf="fetchProjects && fetchProjects.searchUtils.totalResults > 0" (click)="openProjectsModal()"
|
46
|
class="clickable uk-margin-right">
|
47
|
<span class="uk-text-bold">{{fetchProjects.searchUtils.totalResults | number}}</span> Projects
|
48
|
</div>
|
49
|
</div>
|
50
|
<div
|
51
|
*ngIf="total.publications > 0 || total.datasets > 0 || total.software > 0 || total.other > 0 || total.dataproviders > 0"
|
52
|
class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
|
53
|
uk-height-match="target: .target; row: false"
|
54
|
uk-grid>
|
55
|
<div *ngIf="total.publications > 0">
|
56
|
<div class="uk-position-relative">
|
57
|
<!-- <a [queryParams]="routerHelper.createQueryParams(['organization', 'og', 'type'], [organizationId, 'and', 'publications'])"-->
|
58
|
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'publications', 'false'])"
|
59
|
[routerLink]="properties.searchLinkToAdvancedResults">
|
60
|
<div class="header target uk-text-bold">Publications</div>
|
61
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
62
|
<div class="footer target uk-position-relative">
|
63
|
<span class="uk-text-bold uk-position-center">{{total.publications | number}}</span>
|
64
|
</div>
|
65
|
</a>
|
66
|
</div>
|
67
|
</div>
|
68
|
<div *ngIf="total.datasets > 0">
|
69
|
<div class="uk-position-relative">
|
70
|
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'datasets', 'false'])"
|
71
|
[routerLink]="properties.searchLinkToAdvancedResults">
|
72
|
<div class="header target uk-text-bold">Research Data</div>
|
73
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
74
|
<div class="footer target uk-position-relative">
|
75
|
<span class="uk-text-bold uk-position-center">{{total.datasets | number}}</span>
|
76
|
</div>
|
77
|
</a>
|
78
|
</div>
|
79
|
</div>
|
80
|
<div *ngIf="total.software > 0">
|
81
|
<div class="uk-position-relative">
|
82
|
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'software', 'false'])"
|
83
|
[routerLink]="properties.searchLinkToAdvancedResults">
|
84
|
<div class="header target uk-text-bold">Software</div>
|
85
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
86
|
<div class="footer target uk-position-relative">
|
87
|
<span class="uk-text-bold uk-position-center">{{total.software | number}}</span>
|
88
|
</div>
|
89
|
</a>
|
90
|
</div>
|
91
|
</div>
|
92
|
<div *ngIf="total.other > 0">
|
93
|
<div class="uk-position-relative">
|
94
|
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relorganizationid', organizationId, 'other', 'false'])"
|
95
|
[routerLink]="properties.searchLinkToAdvancedResults">
|
96
|
<div class="header target uk-text-bold">Other Research Products</div>
|
97
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
98
|
<div class="footer target uk-position-relative">
|
99
|
<span class="uk-text-bold uk-position-center">{{total.other | number}}</span>
|
100
|
</div>
|
101
|
</a>
|
102
|
</div>
|
103
|
</div>
|
104
|
<div *ngIf="total.dataproviders > 0">
|
105
|
<div class="uk-position-relative">
|
106
|
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0'], ['relorganizationid', organizationId])"
|
107
|
[routerLink]="properties.searchLinkToAdvancedDataProviders">
|
108
|
<div class="header target uk-text-bold">Content Providers</div>
|
109
|
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
|
110
|
<div class="footer target uk-position-relative">
|
111
|
<span class="uk-text-bold uk-position-center">{{total.dataproviders | number}}</span>
|
112
|
</div>
|
113
|
</a>
|
114
|
</div>
|
115
|
</div>
|
116
|
</div>
|
117
|
</div>
|
118
|
<div class="uk-margin-small-top uk-flex uk-flex-bottom">
|
119
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
120
|
<span
|
121
|
class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
|
122
|
</div>
|
123
|
</div>
|
124
|
<div class="uk-width-1-3@m uk-width-1-1@s">
|
125
|
<div class="uk-card uk-card-default uk-padding-small">
|
126
|
<div>
|
127
|
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>
|
128
|
<addThis></addThis>
|
129
|
</div>
|
130
|
<div *ngIf="total.results > 0" class="uk-margin-top">
|
131
|
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">
|
132
|
Download report - based on the affiliation information
|
133
|
</div>
|
134
|
<div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
|
135
|
<div class="uk-animation-slide-top-small">
|
136
|
<ul class="uk-padding-remove-bottom uk-list">
|
137
|
<ng-container *ngFor="let contentType of contentTypes | keyvalue">
|
138
|
<li *ngIf="total[contentType.key] > 0">
|
139
|
<a class="clickable" (click)="downloadFile(getCSVAffiliated(contentType.key), contentType.key + '-report')">
|
140
|
<span uk-icon="download"></span>
|
141
|
<span class="uk-text-capitalize uk-margin-small-left">{{contentType.value}} (CSV)</span>
|
142
|
</a>
|
143
|
</li>
|
144
|
</ng-container>
|
145
|
</ul>
|
146
|
</div>
|
147
|
</div>
|
148
|
</div>
|
149
|
<div *ngIf="fetchProjects && fetchProjects.funders && fetchProjects.funders.length > 0"
|
150
|
class="uk-margin-top">
|
151
|
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">
|
152
|
Funder report
|
153
|
</div>
|
154
|
<div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
|
155
|
<div class="uk-padding-small uk-padding-remove-vertical">
|
156
|
<div>
|
157
|
<mat-select [(value)]="funder"
|
158
|
[disableOptionCentering]="true"
|
159
|
class="matSelection" panelClass="matSelectionPanel">
|
160
|
<mat-option value="">Specify by Funder</mat-option>
|
161
|
<mat-option *ngFor="let element of fetchProjects.funders"
|
162
|
[value]="element">{{element.name}}
|
163
|
</mat-option>
|
164
|
</mat-select>
|
165
|
</div>
|
166
|
<div *ngIf="funder && funder != ''"
|
167
|
class="uk-animation-slide-top-small uk-margin-top">
|
168
|
<ul class="uk-padding-remove-bottom uk-list">
|
169
|
<li>
|
170
|
<a class="clickable"
|
171
|
(click)="downloadFile(getFunderProjects(), funder.name + '-projects-report')">
|
172
|
<span uk-icon="download"></span>
|
173
|
<span class="uk-text-capitalize uk-margin-small-left">projects (CSV)</span>
|
174
|
</a>
|
175
|
</li>
|
176
|
<li *ngFor="let contentType of contentTypes | keyvalue">
|
177
|
<a class="clickable"
|
178
|
(click)="confirmOpenApplyAll(contentType.key)">
|
179
|
<span uk-icon="download"></span>
|
180
|
<span class="uk-text-capitalize uk-margin-small-left">{{contentType.value}} (CSV)</span>
|
181
|
</a>
|
182
|
</li>
|
183
|
</ul>
|
184
|
</div>
|
185
|
</div>
|
186
|
</div>
|
187
|
</div>
|
188
|
</div>
|
189
|
<div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
|
190
|
Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
191
|
</div>
|
192
|
</div>
|
193
|
</div>
|
194
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
195
|
[texts]="pageContents['bottom']"></helper>
|
196
|
</div>
|
197
|
</div>
|
198
|
</div>
|
199
|
<feedback *ngIf="organizationInfo && properties.environment === 'development'" [organizationInfo]="organizationInfo"
|
200
|
[properties]="properties" [entityType]="'organization'"
|
201
|
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
|
202
|
</div>
|
203
|
<!-- Other versions -->
|
204
|
<modal-alert *ngIf="organizationInfo && organizationInfo.deletedByInferenceIds"
|
205
|
#AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
|
206
|
<landing-header [properties]="properties" [title]="organizationInfo.title.name"
|
207
|
[subTitle]="(organizationInfo.name
|
208
|
&& organizationInfo.title.name !== organizationInfo.name)?organizationInfo.name:null"
|
209
|
[entityType]="'organization'"></landing-header>
|
210
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
211
|
<organizationsDeletedByInference *ngIf="deleteByInferenceOpened"
|
212
|
[id]="organizationInfo.objIdentifier"
|
213
|
[ids]="organizationInfo.deletedByInferenceIds"
|
214
|
[modal]="AlertModalDeletedByInference"
|
215
|
[type]="'organizations'">
|
216
|
</organizationsDeletedByInference>
|
217
|
</div>
|
218
|
</modal-alert>
|
219
|
<!-- Projects -->
|
220
|
<modal-alert *ngIf="organizationInfo && fetchProjects && fetchProjects.results"
|
221
|
#projectsModal classBody="uk-width-xxlarge uk-padding-remove-right">
|
222
|
<landing-header [properties]="properties" [title]="organizationInfo.title.name"
|
223
|
[subTitle]="(organizationInfo.name
|
224
|
&& organizationInfo.title.name !== organizationInfo.name)?organizationInfo.name:null"
|
225
|
[entityType]="'organization'">
|
226
|
</landing-header>
|
227
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
228
|
<projectsInModal [fetchProjects]="fetchProjects"
|
229
|
[organizationId]="organizationId"
|
230
|
[properties]=properties>
|
231
|
</projectsInModal>
|
232
|
</div>
|
233
|
</modal-alert>
|
234
|
<modal-loading></modal-loading>
|
235
|
<modal-alert #AlertModalApplyAll (alertOutput)="confirmCloseApplyAll()"></modal-alert>
|
236
|
<modal-alert #AlertModalCsvError></modal-alert>
|