Revision 56644
Added by Konstantinos Triantafyllou almost 5 years ago
dataProvider.component.html | ||
---|---|---|
1 |
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
|
|
1 |
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle"> |
|
2 | 2 |
<div uk-grid 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 "> |
|
3 |
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
|
4 | 4 |
|
5 |
<div class="uk-container uk-margin-top datasource"> |
|
6 |
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" role="alert">{{warningMessage}}</div> |
|
7 |
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" role="alert">{{errorMessage}}</div> |
|
8 |
<div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span class="loading-gif uk-align-center" ></span></div> |
|
5 |
<div class="uk-container uk-margin-top datasource"> |
|
6 |
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" |
|
7 |
role="alert">{{warningMessage}}</div> |
|
8 |
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" |
|
9 |
role="alert">{{errorMessage}}</div> |
|
10 |
<div [style.display]="showLoading ? 'inline' : 'none'" |
|
11 |
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span |
|
12 |
class="loading-gif uk-align-center"></span></div> |
|
9 | 13 |
|
10 |
<div *ngIf="dataProviderInfo != null" uk-grid class="uk-grid-large"> |
|
11 |
|
|
12 |
<div class="uk-width-expand@m uk-width-1-1@s"> |
|
14 |
<div *ngIf="dataProviderInfo != null" uk-grid class="uk-grid-large"> |
|
15 |
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0" |
|
16 |
[texts]="pageContents['top']" styleName="uk-width-1-1"></helper> |
|
17 |
<div class="uk-width-expand@m uk-width-1-1@s"> |
|
13 | 18 |
<!--h3 *ngIf="dataProviderInfo.title != null"> |
14 | 19 |
<a *ngIf="dataProviderInfo.title['url'] != undefined && dataProviderInfo.title['url'] != null" |
15 | 20 |
href="{{dataProviderInfo.title['url']}}" target="_blank" class="custom-external"> |
... | ... | |
19 | 24 |
{{dataProviderInfo.title['name']}} |
20 | 25 |
</p> |
21 | 26 |
</h3--> |
22 |
<schema2jsonld *ngIf="dataProviderInfo" [data]=dataProviderInfo [URL]="properties.baseLink+'/search/dataprovider?datasourceId='+datasourceId" |
|
23 |
type="datasource" [otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:nul)"></schema2jsonld> |
|
27 |
<schema2jsonld *ngIf="dataProviderInfo" [data]=dataProviderInfo |
|
28 |
[URL]="properties.baseLink+'/search/dataprovider?datasourceId='+datasourceId" |
|
29 |
type="datasource" |
|
30 |
[otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:nul)"></schema2jsonld> |
|
24 | 31 |
|
25 |
<showTitle [title]="dataProviderInfo.title"></showTitle> |
|
26 |
<div class="uk-text-large " *ngIf="dataProviderInfo.officialName && this.dataProviderInfo.title.name != dataProviderInfo.officialName ">{{dataProviderInfo.officialName}}</div> |
|
32 |
<showTitle [title]="dataProviderInfo.title"></showTitle> |
|
33 |
<div class="uk-text-large " |
|
34 |
*ngIf="dataProviderInfo.officialName && this.dataProviderInfo.title.name != dataProviderInfo.officialName ">{{dataProviderInfo.officialName}}</div> |
|
27 | 35 |
|
28 | 36 |
<span *ngIf="dataProviderInfo.type" class="uk-label custom-label label-type label-dataprovider " |
29 | 37 |
title="Type">{{dataProviderInfo.type}}</span>{{" "}} |
30 |
<span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility " title="Compatibility"> |
|
38 |
<span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility " |
|
39 |
title="Compatibility"> |
|
31 | 40 |
<a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id" |
32 |
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active" routerLink="/search/dataprovider"> |
|
41 |
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active" |
|
42 |
routerLink="/search/dataprovider"> |
|
33 | 43 |
{{dataProviderInfo.compatibility.info}} |
34 | 44 |
</a> |
35 | 45 |
<span *ngIf="dataProviderInfo.compatibility.name || !dataProviderInfo.compatibility.id"> |
36 | 46 |
{{dataProviderInfo.compatibility.info}} |
37 | 47 |
</span> |
38 | 48 |
<a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id" |
39 |
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active" routerLink="/search/dataprovider"> |
|
49 |
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active" |
|
50 |
routerLink="/search/dataprovider"> |
|
40 | 51 |
{{dataProviderInfo.compatibility.name}} |
41 | 52 |
</a> |
42 | 53 |
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id"> |
... | ... | |
47 | 58 |
<ul class="uk-list"> |
48 | 59 |
<showPublisher [properties]="properties" |
49 | 60 |
[journal]="dataProviderInfo.journal"></showPublisher> |
50 |
<li *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1"><span class="uk-text-bold">Results with funding information: </span> |
|
51 |
{{dataProviderInfo.aggregationStatus.fundedContent | number}} |
|
52 |
</li> |
|
53 |
<li *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1"><span class="uk-text-bold">Collected full-texts: </span> |
|
54 |
{{dataProviderInfo.aggregationStatus.fulltexts | number}} |
|
55 |
</li> |
|
56 |
<li *ngIf="dataProviderInfo.oaiPmhURL"><span class="uk-text-bold">OAI-PMH: </span> |
|
57 |
<span class="uk-button-text"> |
|
61 |
<li |
|
62 |
*ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1"> |
|
63 |
<span class="uk-text-bold">Results with funding information: </span> |
|
64 |
{{dataProviderInfo.aggregationStatus.fundedContent | number}} |
|
65 |
</li> |
|
66 |
<li |
|
67 |
*ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1"> |
|
68 |
<span class="uk-text-bold">Collected full-texts: </span> |
|
69 |
{{dataProviderInfo.aggregationStatus.fulltexts | number}} |
|
70 |
</li> |
|
71 |
<li *ngIf="dataProviderInfo.oaiPmhURL"><span class="uk-text-bold">OAI-PMH: </span> |
|
72 |
<span class="uk-button-text"> |
|
58 | 73 |
<a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}"> |
59 | 74 |
{{dataProviderInfo.oaiPmhURL}} |
60 | 75 |
</a> |
61 | 76 |
</span> |
62 | 77 |
|
63 |
</li>
|
|
64 |
<li *ngIf="dataProviderInfo.openDoarId">
|
|
78 |
</li> |
|
79 |
<li *ngIf="dataProviderInfo.openDoarId"> |
|
65 | 80 |
<span class="uk-button-text"> |
66 | 81 |
<a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}"> |
67 | 82 |
Detailed content provider information (OpenDOAR) |
68 | 83 |
</a> |
69 | 84 |
</span> |
70 | 85 |
|
71 |
</li>
|
|
72 |
<li *ngIf="dataProviderInfo.r3DataId">
|
|
86 |
</li> |
|
87 |
<li *ngIf="dataProviderInfo.r3DataId"> |
|
73 | 88 |
<span class="uk-button-text"> |
74 | 89 |
<a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}"> |
75 | 90 |
Detailed content provider information (Re3data) |
76 | 91 |
</a> |
77 | 92 |
</span> |
78 | 93 |
|
79 |
</li>
|
|
94 |
</li> |
|
80 | 95 |
|
81 |
<li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"><span class="uk-text-bold">Countries: </span>{{dataProviderInfo.countries.join(", ")}}</li> |
|
96 |
<li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"><span |
|
97 |
class="uk-text-bold">Countries: </span>{{dataProviderInfo.countries.join(", ")}}</li> |
|
82 | 98 |
</ul> |
83 | 99 |
|
84 | 100 |
<div *ngIf="showTabs"> |
85 |
<ul class="custom-accordion" uk-accordion *ngIf="dataProviderInfo.tabs2 != undefined">
|
|
101 |
<ul class="custom-accordion" uk-accordion *ngIf="dataProviderInfo.tabs2 != undefined"> |
|
86 | 102 |
|
87 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1" (click)="search('publicationsTab', 1, 10); activeTab='Publications'"> |
|
88 |
<a class="uk-accordion-title" href="#">Publications |
|
89 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
90 |
({{fetchPublications.searchUtils.totalResults | number}}) |
|
91 |
<!-- </span> --> |
|
92 |
</a> |
|
93 |
<div class="uk-accordion-content"> |
|
94 |
<publicationsTab *ngIf="activeTab=='Publications'" |
|
95 |
[paramsForSearchLink]="paramsForSearchLink" |
|
96 |
[fetchPublications] = "fetchPublications" [(properties)]=properties> |
|
97 |
</publicationsTab> |
|
98 |
</div> |
|
99 |
</li> |
|
100 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1" (click)="search('datasetsTab', 1, 10); activeTab='Research Data'"> |
|
101 |
<a class="uk-accordion-title" href="#">Research Data |
|
102 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
103 |
({{fetchDatasets.searchUtils.totalResults | number}}) |
|
104 |
<!-- </span> --> |
|
105 |
</a> |
|
106 |
<div class="uk-accordion-content"> |
|
107 |
<p> |
|
108 |
<datasetsTab *ngIf="activeTab=='Research Data'" |
|
109 |
[paramsForSearchLink]="paramsForSearchLink" |
|
110 |
[fetchDatasets]="fetchDatasets" [(properties)]=properties> |
|
111 |
</datasetsTab> |
|
112 |
</p> |
|
113 |
</div> |
|
114 |
</li> |
|
103 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1" |
|
104 |
(click)="search('publicationsTab', 1, 10); activeTab='Publications'"> |
|
105 |
<a class="uk-accordion-title" href="#">Publications |
|
106 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
107 |
({{fetchPublications.searchUtils.totalResults | number}}) |
|
108 |
<!-- </span> --> |
|
109 |
</a> |
|
110 |
<div class="uk-accordion-content"> |
|
111 |
<publicationsTab *ngIf="activeTab=='Publications'" |
|
112 |
[paramsForSearchLink]="paramsForSearchLink" |
|
113 |
[fetchPublications]="fetchPublications" [(properties)]=properties> |
|
114 |
</publicationsTab> |
|
115 |
</div> |
|
116 |
</li> |
|
117 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1" |
|
118 |
(click)="search('datasetsTab', 1, 10); activeTab='Research Data'"> |
|
119 |
<a class="uk-accordion-title" href="#">Research Data |
|
120 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
121 |
({{fetchDatasets.searchUtils.totalResults | number}}) |
|
122 |
<!-- </span> --> |
|
123 |
</a> |
|
124 |
<div class="uk-accordion-content"> |
|
125 |
<p> |
|
126 |
<datasetsTab *ngIf="activeTab=='Research Data'" |
|
127 |
[paramsForSearchLink]="paramsForSearchLink" |
|
128 |
[fetchDatasets]="fetchDatasets" [(properties)]=properties> |
|
129 |
</datasetsTab> |
|
130 |
</p> |
|
131 |
</div> |
|
132 |
</li> |
|
115 | 133 |
|
116 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1" (click)="search('softwareTab', 1, 10); activeTab='Software'"> |
|
117 |
<a class="uk-accordion-title" href="#">Software |
|
118 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
119 |
({{fetchSoftware.searchUtils.totalResults | number}}) |
|
120 |
<!-- </span> --> |
|
121 |
</a> |
|
122 |
<div class="uk-accordion-content"> |
|
123 |
<softwareTab *ngIf="activeTab=='Software'" |
|
124 |
[paramsForSearchLink]="paramsForSearchLink" |
|
125 |
[fetchSoftware]="fetchSoftware" [(properties)]=properties> |
|
126 |
</softwareTab> |
|
127 |
</div> |
|
128 |
</li> |
|
134 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1" |
|
135 |
(click)="search('softwareTab', 1, 10); activeTab='Software'"> |
|
136 |
<a class="uk-accordion-title" href="#">Software |
|
137 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
138 |
({{fetchSoftware.searchUtils.totalResults | number}}) |
|
139 |
<!-- </span> --> |
|
140 |
</a> |
|
141 |
<div class="uk-accordion-content"> |
|
142 |
<softwareTab *ngIf="activeTab=='Software'" |
|
143 |
[paramsForSearchLink]="paramsForSearchLink" |
|
144 |
[fetchSoftware]="fetchSoftware" [(properties)]=properties> |
|
145 |
</softwareTab> |
|
146 |
</div> |
|
147 |
</li> |
|
129 | 148 |
|
130 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1" (click)="search('orpsTab', 1, 10); activeTab='Other Research Products'"> |
|
131 |
<a class="uk-accordion-title" href="#">Other Research Products |
|
132 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
133 |
({{fetchOrps.searchUtils.totalResults | number}}) |
|
134 |
<!-- </span> --> |
|
135 |
</a> |
|
136 |
<div class="uk-accordion-content"> |
|
137 |
<orpsTab *ngIf="activeTab=='Other Research Products'" |
|
138 |
[paramsForSearchLink]="paramsForSearchLink" |
|
139 |
[fetchOrps]="fetchOrps" [(properties)]=properties> |
|
140 |
</orpsTab> |
|
141 |
</div> |
|
142 |
</li> |
|
149 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1" |
|
150 |
(click)="search('orpsTab', 1, 10); activeTab='Other Research Products'"> |
|
151 |
<a class="uk-accordion-title" href="#">Other Research Products |
|
152 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
153 |
({{fetchOrps.searchUtils.totalResults | number}}) |
|
154 |
<!-- </span> --> |
|
155 |
</a> |
|
156 |
<div class="uk-accordion-content"> |
|
157 |
<orpsTab *ngIf="activeTab=='Other Research Products'" |
|
158 |
[paramsForSearchLink]="paramsForSearchLink" |
|
159 |
[fetchOrps]="fetchOrps" [(properties)]=properties> |
|
160 |
</orpsTab> |
|
161 |
</div> |
|
162 |
</li> |
|
143 | 163 |
|
144 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1" (click)="search('projectsTab', 1, 10); activeTab='Projects'"> |
|
145 |
<a class="uk-accordion-title" href="#">Projects |
|
146 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
147 |
({{fetchProjects.searchUtils.totalResults | number}}) |
|
148 |
<!-- </span> --> |
|
149 |
</a> |
|
150 |
<div class="uk-accordion-content"> |
|
151 |
<projectsTab *ngIf="activeTab=='Projects'" |
|
152 |
[paramsForSearchLink]="paramsForSearchLink" |
|
153 |
[fetchProjects]="fetchProjects" [(properties)]=properties> |
|
154 |
</projectsTab> |
|
155 |
</div> |
|
156 |
</li> |
|
157 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1" (click)="search('datasourcesTab', 1, 10); activeTab='Content Providers'"> |
|
158 |
<a class="uk-accordion-title" href="#">Content Providers |
|
159 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
160 |
({{fetchDataproviders.searchUtils.totalResults | number}}) |
|
161 |
<!-- </span> --> |
|
162 |
</a> |
|
163 |
<div class="uk-accordion-content"> |
|
164 |
<datasourcesTab *ngIf="activeTab=='Content Providers'" |
|
165 |
[paramsForSearchLink]="paramsForSearchLink" |
|
166 |
[fetchDataproviders]="fetchDataproviders" [(properties)]=properties> |
|
167 |
</datasourcesTab> |
|
168 |
</div> |
|
169 |
</li> |
|
170 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Organizations') != -1" (click)="search('organizationsTab', 1, 10); activeTab='Organizations'"> |
|
171 |
<a class="uk-accordion-title" href="#">Organizations |
|
172 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
173 |
({{dataProviderInfo.organizations.length | number}}) |
|
174 |
<!-- </span> --> |
|
175 |
</a> |
|
176 |
<div class="uk-accordion-content"> |
|
177 |
<organizationsTab *ngIf="activeTab=='Organizations'" |
|
178 |
[organizations]="dataProviderInfo.organizations"> |
|
179 |
</organizationsTab> |
|
180 |
</div> |
|
181 |
</li> |
|
182 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1" (click)="search('relatedDatasourcesTab', 1, 10); activeTab='Related Content Providers'"> |
|
183 |
<a class="uk-accordion-title" href="#">Related Content Providers</a> |
|
184 |
<div class="uk-accordion-content"> |
|
185 |
<relatedDatasourcesTab *ngIf="activeTab=='Related Content Providers'" |
|
186 |
[dataproviderId]="datasourceId" |
|
187 |
[results]="dataProviderInfo.relatedDatasources" |
|
188 |
[loading]="loadingRelatedDatasources" |
|
189 |
[fetchPublications]="fetchAggregatorsPublications" |
|
190 |
[fetchDatasets]="fetchAggregatorsDatasets" |
|
191 |
[fetchSoftware]="fetchAggregatorsSoftware" |
|
192 |
[fetchOrps]="fetchAggregatorsOrps" |
|
193 |
[(properties)]=properties> |
|
194 |
</relatedDatasourcesTab> |
|
195 |
</div> |
|
196 |
</li> |
|
197 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1" (click)="search('statisticsTab', 1, 10); activeTab='Statistics'"> |
|
198 |
<a class="uk-accordion-title" href="#">Statistics</a> |
|
199 |
<div class="uk-accordion-content"> |
|
200 |
<div *ngIf="activeTab=='Statistics' && statsClicked"> |
|
164 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1" |
|
165 |
(click)="search('projectsTab', 1, 10); activeTab='Projects'"> |
|
166 |
<a class="uk-accordion-title" href="#">Projects |
|
167 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
168 |
({{fetchProjects.searchUtils.totalResults | number}}) |
|
169 |
<!-- </span> --> |
|
170 |
</a> |
|
171 |
<div class="uk-accordion-content"> |
|
172 |
<projectsTab *ngIf="activeTab=='Projects'" |
|
173 |
[paramsForSearchLink]="paramsForSearchLink" |
|
174 |
[fetchProjects]="fetchProjects" [(properties)]=properties> |
|
175 |
</projectsTab> |
|
176 |
</div> |
|
177 |
</li> |
|
178 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1" |
|
179 |
(click)="search('datasourcesTab', 1, 10); activeTab='Content Providers'"> |
|
180 |
<a class="uk-accordion-title" href="#">Content Providers |
|
181 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
182 |
({{fetchDataproviders.searchUtils.totalResults | number}}) |
|
183 |
<!-- </span> --> |
|
184 |
</a> |
|
185 |
<div class="uk-accordion-content"> |
|
186 |
<datasourcesTab *ngIf="activeTab=='Content Providers'" |
|
187 |
[paramsForSearchLink]="paramsForSearchLink" |
|
188 |
[fetchDataproviders]="fetchDataproviders" [(properties)]=properties> |
|
189 |
</datasourcesTab> |
|
190 |
</div> |
|
191 |
</li> |
|
192 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Organizations') != -1" |
|
193 |
(click)="search('organizationsTab', 1, 10); activeTab='Organizations'"> |
|
194 |
<a class="uk-accordion-title" href="#">Organizations |
|
195 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
196 |
({{dataProviderInfo.organizations.length | number}}) |
|
197 |
<!-- </span> --> |
|
198 |
</a> |
|
199 |
<div class="uk-accordion-content"> |
|
200 |
<organizationsTab *ngIf="activeTab=='Organizations'" |
|
201 |
[organizations]="dataProviderInfo.organizations"> |
|
202 |
</organizationsTab> |
|
203 |
</div> |
|
204 |
</li> |
|
205 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1" |
|
206 |
(click)="search('relatedDatasourcesTab', 1, 10); activeTab='Related Content Providers'"> |
|
207 |
<a class="uk-accordion-title" href="#">Related Content Providers</a> |
|
208 |
<div class="uk-accordion-content"> |
|
209 |
<relatedDatasourcesTab *ngIf="activeTab=='Related Content Providers'" |
|
210 |
[dataproviderId]="datasourceId" |
|
211 |
[results]="dataProviderInfo.relatedDatasources" |
|
212 |
[loading]="loadingRelatedDatasources" |
|
213 |
[fetchPublications]="fetchAggregatorsPublications" |
|
214 |
[fetchDatasets]="fetchAggregatorsDatasets" |
|
215 |
[fetchSoftware]="fetchAggregatorsSoftware" |
|
216 |
[fetchOrps]="fetchAggregatorsOrps" |
|
217 |
[(properties)]=properties> |
|
218 |
</relatedDatasourcesTab> |
|
219 |
</div> |
|
220 |
</li> |
|
221 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1" |
|
222 |
(click)="search('statisticsTab', 1, 10); activeTab='Statistics'"> |
|
223 |
<a class="uk-accordion-title" href="#">Statistics</a> |
|
224 |
<div class="uk-accordion-content"> |
|
225 |
<div *ngIf="activeTab=='Statistics' && statsClicked"> |
|
201 | 226 |
|
202 |
<!-- <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]" [type]="'statistics'" tab_error_class=true></errorMessages>
|
|
227 |
<!-- <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]" [type]="'statistics'" tab_error_class=true></errorMessages> |
|
203 | 228 |
|
204 |
<div *ngIf="(fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">
|
|
205 |
<p class="uk-text-bold">Latest Research Result Timeline</p>
|
|
206 |
<i-frame [url]=docsTimelineUrl width="100%" height="350"></i-frame>
|
|
207 |
<p class="uk-text-bold">Research Result Types</p>
|
|
208 |
<i-frame [url]=docsTypesUrl width="100%" height="350"></i-frame>
|
|
209 |
</div>
|
|
229 |
<div *ngIf="(fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)"> |
|
230 |
<p class="uk-text-bold">Latest Research Result Timeline</p> |
|
231 |
<i-frame [url]=docsTimelineUrl width="100%" height="350"></i-frame> |
|
232 |
<p class="uk-text-bold">Research Result Types</p> |
|
233 |
<i-frame [url]=docsTypesUrl width="100%" height="350"></i-frame> |
|
234 |
</div> |
|
210 | 235 |
|
211 | 236 |
|
212 |
<div *ngIf="fetchPublications.searchUtils.totalResults > 0 || (fetchDatasets.searchUtils.totalResults > 0)">
|
|
237 |
<div *ngIf="fetchPublications.searchUtils.totalResults > 0 || (fetchDatasets.searchUtils.totalResults > 0)"> |
|
213 | 238 |
|
214 |
<p class="uk-text-bold">Funders in Research Results of content provider</p>
|
|
215 |
<i-frame [url]=docsFunderUrl width="100%" height="350"></i-frame>
|
|
239 |
<p class="uk-text-bold">Funders in Research Results of content provider</p> |
|
240 |
<i-frame [url]=docsFunderUrl width="100%" height="350"></i-frame> |
|
216 | 241 |
|
242 |
</div> |
|
243 |
<div *ngIf="fetchPublications.searchUtils.totalResults > 0 "> |
|
244 |
<p class="uk-text-bold">Projects with most Publications</p> |
|
245 |
<i-frame [url]=pubsProjectsUrl width="100%" height="350"></i-frame> |
|
246 |
</div> |
|
247 |
<div *ngIf="(fetchDatasets.searchUtils.totalResults > 0)"> |
|
248 |
<div> |
|
249 |
<p class="uk-text-bold">Projects with most Research Data</p> |
|
250 |
<i-frame [url]=dataProjectsUrl width="100%" height="350"></i-frame> |
|
217 | 251 |
</div> |
218 |
<div *ngIf="fetchPublications.searchUtils.totalResults > 0 "> |
|
219 |
<p class="uk-text-bold">Projects with most Publications</p> |
|
220 |
<i-frame [url]=pubsProjectsUrl width="100%" height="350"></i-frame> |
|
221 |
</div> |
|
222 |
<div *ngIf="(fetchDatasets.searchUtils.totalResults > 0)"> |
|
223 |
<div> |
|
224 |
<p class="uk-text-bold">Projects with most Research Data</p> |
|
225 |
<i-frame [url]=dataProjectsUrl width="100%" height="350"></i-frame> |
|
226 |
</div> |
|
227 |
</div> --> |
|
228 |
<statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets" [datasourceId]="datasourceId"></statisticsTab> |
|
229 |
</div> |
|
230 |
</div> |
|
231 |
</li> |
|
252 |
</div> --> |
|
253 |
<statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets" |
|
254 |
[datasourceId]="datasourceId"></statisticsTab> |
|
255 |
</div> |
|
256 |
</div> |
|
257 |
</li> |
|
232 | 258 |
|
233 | 259 |
|
260 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Metrics') != -1" |
|
261 |
(click)="search('metricsTab', 1, 10); activeTab='Metrics'"> |
|
262 |
<a class="uk-accordion-title" href="#">Metrics</a> |
|
263 |
<div class="uk-accordion-content"> |
|
264 |
<metrics *ngIf="activeTab=='Metrics'" [pageViews]="pageViews" |
|
265 |
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'" |
|
266 |
(metricsResults)="metricsResults($event)" [(properties)]=properties> |
|
267 |
</metrics> |
|
268 |
<i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalViews > 0" |
|
269 |
[url]=viewsFrameUrl width="100%" height="250"> |
|
270 |
</i-frame> |
|
271 |
<i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalDownloads > 0" |
|
272 |
[url]=downloadsFrameUrl width="100%" height="250"> |
|
273 |
</i-frame> |
|
274 |
</div> |
|
275 |
</li> |
|
234 | 276 |
|
235 |
<li *ngIf="dataProviderInfo.tabs2.indexOf('Metrics') != -1" (click)="search('metricsTab', 1, 10); activeTab='Metrics'"> |
|
236 |
<a class="uk-accordion-title" href="#">Metrics</a> |
|
237 |
<div class="uk-accordion-content"> |
|
238 |
<metrics *ngIf="activeTab=='Metrics'" [pageViews]="pageViews" |
|
239 |
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'" |
|
240 |
(metricsResults)="metricsResults($event)" [(properties)] = properties> |
|
241 |
</metrics> |
|
242 |
<i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalViews > 0" |
|
243 |
[url]=viewsFrameUrl width="100%" height="250"> |
|
244 |
</i-frame> |
|
245 |
<i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalDownloads > 0" |
|
246 |
[url]=downloadsFrameUrl width="100%" height="250"> |
|
247 |
</i-frame> |
|
248 |
</div> |
|
249 |
</li> |
|
250 |
|
|
251 |
</ul> |
|
277 |
</ul> |
|
252 | 278 |
</div> |
253 | 279 |
|
254 |
</div> |
|
255 |
<div class="uk-width-large@m uk-width-1-1@s"> |
|
256 |
<div class="uk-card uk-card-default uk-padding-small"> |
|
257 |
<div> |
|
258 |
Share - Bookmark<addThis ></addThis> |
|
280 |
</div> |
|
281 |
<div class="uk-width-large@m uk-width-1-1@s"> |
|
282 |
<div class="uk-card uk-card-default uk-padding-small"> |
|
283 |
<div> |
|
284 |
Share - Bookmark |
|
285 |
<addThis></addThis> |
|
286 |
</div> |
|
287 |
<metrics [pageViews]="pageViews" shortView=true |
|
288 |
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'" |
|
289 |
(metricsResults)="metricsResults($event)" [(properties)]=properties> |
|
290 |
</metrics> |
|
259 | 291 |
</div> |
260 |
<metrics [pageViews]="pageViews" shortView=true |
|
261 |
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'" |
|
262 |
(metricsResults)="metricsResults($event)" [(properties)] = properties> |
|
263 |
</metrics> |
|
264 | 292 |
</div> |
293 |
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0" |
|
294 |
[texts]="pageContents['bottom']" styleName="uk-width-1-1"></helper> |
|
265 | 295 |
</div> |
266 | 296 |
</div> |
267 | 297 |
</div> |
268 |
|
|
269 | 298 |
</div> |
270 |
</div> |
|
271 | 299 |
</div> |
Also available in: Unified diff
[Trunk|Library]: Add Helper on search Page, landings and deposit first page.