Revision 56644
Added by Konstantinos Triantafyllou almost 5 years ago
dataset.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 "> |
|
4 |
|
|
5 |
<div class="uk-container uk-margin-top dataset"> |
|
6 |
|
|
7 |
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top" role="alert">{{warningMessage}}</div> |
|
8 |
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top" role="alert">{{errorMessage}}</div> |
|
9 |
<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> |
|
10 |
|
|
11 |
<div *ngIf="datasetInfo != null" uk-grid class="uk-grid-large"> |
|
12 |
<div class="uk-width-expand@m uk-width-1-1@s"> |
|
13 |
<schema2jsonld *ngIf="datasetInfo.record" [data]=datasetInfo.record [URL]="properties.baseLink+'/search/dataset?datasetId='+datasetId"></schema2jsonld> |
|
14 |
<showTitle [titleName]="datasetInfo.title"></showTitle> |
|
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-margin-top dataset"> |
|
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 |
<div *ngIf="datasetInfo != null" uk-grid> |
|
13 |
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0" |
|
14 |
[texts]="pageContents['top']" styleName="uk-width-1-1"></helper> |
|
15 |
<div class="uk-width-expand@m uk-width-1-1@s"> |
|
16 |
<schema2jsonld *ngIf="datasetInfo.record" [data]=datasetInfo.record |
|
17 |
[URL]="properties.baseLink+'/search/dataset?datasetId='+datasetId"></schema2jsonld> |
|
18 |
<showTitle [titleName]="datasetInfo.title"></showTitle> |
|
15 | 19 |
<p class="uk-text-large" *ngIf="datasetInfo.subtitle"> |
16 | 20 |
<span [innerHTML]="datasetInfo.subtitle"></span> |
17 | 21 |
</p> |
18 |
<span *ngIf="datasetInfo.types && datasetInfo.types.length > 0"class="uk-label custom-label label-dataset " title="Type">{{datasetInfo.types.join(", ")}}</span>{{" "}} |
|
19 |
<span *ngIf="datasetInfo.languages && datasetInfo.languages.length > 0" class="uk-label custom-label label-language " title="Language">{{datasetInfo.languages.join(", ")}}</span>{{" "}} |
|
20 |
<span *ngIf="datasetInfo.countries && datasetInfo.countries.length > 0" class="uk-label custom-label label-country " title="Country">{{datasetInfo.countries.join(", ")}}</span>{{" "}} |
|
22 |
<span *ngIf="datasetInfo.types && datasetInfo.types.length > 0" class="uk-label custom-label label-dataset " |
|
23 |
title="Type">{{datasetInfo.types.join(", ")}}</span>{{" "}} |
|
24 |
<span *ngIf="datasetInfo.languages && datasetInfo.languages.length > 0" |
|
25 |
class="uk-label custom-label label-language " |
|
26 |
title="Language">{{datasetInfo.languages.join(", ")}}</span>{{" "}} |
|
27 |
<span *ngIf="datasetInfo.countries && datasetInfo.countries.length > 0" |
|
28 |
class="uk-label custom-label label-country " |
|
29 |
title="Country">{{datasetInfo.countries.join(", ")}}</span>{{" "}} |
|
21 | 30 |
|
22 | 31 |
<!-- <span *ngIf="datasetInfo.title && datasetInfo.title.accessMode" [class]="'uk-label custom-label label-'+ datasetInfo.title.accessMode " title="Access Mode">{{datasetInfo.title.accessMode}}</span> --> |
23 |
<span *ngIf="datasetInfo.accessMode" [class]="'uk-label custom-label label-'+ datasetInfo.accessMode " title="Access Mode">{{datasetInfo.accessMode}}</span>{{" "}} |
|
24 |
<span *ngIf="datasetInfo.underCurationMessage" class="uk-label custom-label label-underCuration " >{{" "}} |
|
32 |
<span *ngIf="datasetInfo.accessMode" [class]="'uk-label custom-label label-'+ datasetInfo.accessMode " |
|
33 |
title="Access Mode">{{datasetInfo.accessMode}}</span>{{" "}} |
|
34 |
<span *ngIf="datasetInfo.underCurationMessage" class="uk-label custom-label label-underCuration ">{{" "}} |
|
25 | 35 |
<span uk-tooltip="pos:right; delay:10" |
26 |
title="{{buildCurationTooltip()}}"> |
|
36 |
title="{{buildCurationTooltip()}}">
|
|
27 | 37 |
<i>Record in preview</i> |
28 | 38 |
<i class="uk-icon-info-circle"></i> |
29 | 39 |
</span></span> |
... | ... | |
35 | 45 |
</span> |
36 | 46 |
</div--> |
37 | 47 |
|
38 |
<div class= " uk-margin-top">
|
|
39 |
<showAuthors [authors]="datasetInfo.authors"></showAuthors>
|
|
40 |
<span *ngIf="datasetInfo.date != ''">({{datasetInfo.date}})</span>
|
|
48 |
<div class=" uk-margin-top"> |
|
49 |
<showAuthors [authors]="datasetInfo.authors"></showAuthors> |
|
50 |
<span *ngIf="datasetInfo.date != ''">({{datasetInfo.date}})</span> |
|
41 | 51 |
</div> |
42 | 52 |
|
43 | 53 |
<ul class="uk-list"> |
44 | 54 |
<showPublisher [publisher]="datasetInfo.publisher" |
45 | 55 |
[journal]="datasetInfo.journal" [properties]="properties"></showPublisher> |
46 |
<li *ngIf="datasetInfo.embargoEndDate"><span class="uk-text-bold">Embargo end date:</span> {{datasetInfo.embargoEndDate}}</li> |
|
47 |
<li *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.size > 0"> |
|
48 |
<showIdentifiers [identifiers]="datasetInfo.identifiers"></showIdentifiers> |
|
49 |
</li> |
|
50 |
<li *ngIf="datasetInfo.subjects ||datasetInfo.otherSubjects || datasetInfo.classifiedSubjects"> |
|
51 |
<showSubjects [subjects]="datasetInfo.subjects" |
|
52 |
[otherSubjects]="datasetInfo.otherSubjects" |
|
53 |
[classifiedSubjects]="datasetInfo.classifiedSubjects"> |
|
56 |
<li *ngIf="datasetInfo.embargoEndDate"><span |
|
57 |
class="uk-text-bold">Embargo end date:</span> {{datasetInfo.embargoEndDate}}</li> |
|
58 |
<li *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.size > 0"> |
|
59 |
<showIdentifiers [identifiers]="datasetInfo.identifiers"></showIdentifiers> |
|
60 |
</li> |
|
61 |
<li *ngIf="datasetInfo.subjects ||datasetInfo.otherSubjects || datasetInfo.classifiedSubjects"> |
|
62 |
<showSubjects [subjects]="datasetInfo.subjects" |
|
63 |
[otherSubjects]="datasetInfo.otherSubjects" |
|
64 |
[classifiedSubjects]="datasetInfo.classifiedSubjects"> |
|
54 | 65 |
</showSubjects> |
55 |
</li>
|
|
66 |
</li> |
|
56 | 67 |
</ul> |
57 |
<hr *ngIf="datasetInfo.description" > |
|
58 |
<div *ngIf="datasetInfo.description" class="uk-text-justify descriptionText uk-height-max-medium uk-overflow-auto"> |
|
68 |
<hr *ngIf="datasetInfo.description"> |
|
69 |
<div *ngIf="datasetInfo.description" |
|
70 |
class="uk-text-justify descriptionText uk-height-max-medium uk-overflow-auto"> |
|
59 | 71 |
<span>{{datasetInfo.description.substring(0, showNumDescription)}}</span |
60 |
><span *ngIf="showNumDescription == thresholdDescription && datasetInfo.description.length > thresholdDescription">...</span |
|
61 |
><span *ngIf="showNumDescription == thresholdDescription && datasetInfo.description.length > thresholdDescription" class="uk-text-right"> |
|
72 |
><span |
|
73 |
*ngIf="showNumDescription == thresholdDescription && datasetInfo.description.length > thresholdDescription">...</span |
|
74 |
><span |
|
75 |
*ngIf="showNumDescription == thresholdDescription && datasetInfo.description.length > thresholdDescription" |
|
76 |
class="uk-text-right"> |
|
62 | 77 |
<a (click)="showNumDescription = datasetInfo.description.length;"> |
63 | 78 |
View more |
64 | 79 |
</a> |
65 | 80 |
</span> |
66 | 81 |
</div> |
67 |
<div *ngIf="datasetInfo.description && showNumDescription > thresholdDescription" class="uk-width-1-1 uk-text-right"> |
|
82 |
<div *ngIf="datasetInfo.description && showNumDescription > thresholdDescription" |
|
83 |
class="uk-width-1-1 uk-text-right"> |
|
68 | 84 |
<a (click)="showNumDescription = thresholdDescription;"> |
69 | 85 |
View less |
70 | 86 |
</a> |
... | ... | |
94 | 110 |
|
95 | 111 |
<ul class="custom-accordion" uk-accordion> |
96 | 112 |
<li *ngIf="datasetInfo.references" (click)="activeTab='References'"> |
97 |
<a class="uk-accordion-title" href="#"> |
|
98 |
References ({{datasetInfo.references.length | number}}) |
|
99 |
</a> |
|
100 |
<div class="uk-accordion-content"> |
|
101 |
<div> |
|
102 |
<div *ngIf="datasetInfo.references.length > pageSize" class="uk-margin-bottom"> |
|
103 |
<span class="uk-h6">{{datasetInfo.references.length | number}} references, page {{referencesPage | number}} of {{totalPages(datasetInfo.references.length) | number}}</span> |
|
104 |
<paging-no-load class="uk-float-right" [currentPage]="referencesPage" [totalResults]="datasetInfo.references.length" [size]="pageSize" (pageChange)="updateReferencesPage($event)"></paging-no-load> |
|
105 |
</div> |
|
113 |
<a class="uk-accordion-title" href="#"> |
|
114 |
References ({{datasetInfo.references.length | number}}) |
|
115 |
</a> |
|
116 |
<div class="uk-accordion-content"> |
|
117 |
<div> |
|
118 |
<div *ngIf="datasetInfo.references.length > pageSize" class="uk-margin-bottom"> |
|
119 |
<span class="uk-h6">{{datasetInfo.references.length | number}} |
|
120 |
references, page {{referencesPage | number}} |
|
121 |
of {{totalPages(datasetInfo.references.length) | number}}</span> |
|
122 |
<paging-no-load class="uk-float-right" [currentPage]="referencesPage" |
|
123 |
[totalResults]="datasetInfo.references.length" [size]="pageSize" |
|
124 |
(pageChange)="updateReferencesPage($event)"></paging-no-load> |
|
125 |
</div> |
|
106 | 126 |
|
107 |
<div *ngFor="let item of datasetInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
|
108 |
<p *ngIf=" item && item['url']"
|
|
109 |
class="custom-external custom-icon">
|
|
110 |
<a href="{{item['url']}}" target="_blank">
|
|
111 |
{{item['name']}}
|
|
112 |
</a>
|
|
113 |
</p>
|
|
114 |
<p *ngIf="!item['url']" class="pseudo-external custom-icon">
|
|
115 |
{{item['name']}}
|
|
116 |
</p>
|
|
117 |
</div>
|
|
127 |
<div
|
|
128 |
*ngFor="let item of datasetInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
|
129 |
<p *ngIf=" item && item['url']"
|
|
130 |
class="custom-external custom-icon">
|
|
131 |
<a href="{{item['url']}}" target="_blank">
|
|
132 |
{{item['name']}}
|
|
133 |
</a>
|
|
134 |
</p>
|
|
135 |
<p *ngIf="!item['url']" class="pseudo-external custom-icon">
|
|
136 |
{{item['name']}}
|
|
137 |
</p>
|
|
118 | 138 |
</div> |
119 | 139 |
</div> |
120 |
</li> |
|
140 |
</div> |
|
141 |
</li> |
|
121 | 142 |
|
122 |
<li *ngIf="datasetInfo.relatedResearchResults" (click)="activeTab='Related Research Results'">
|
|
123 |
<a class="uk-accordion-title" href="#">
|
|
124 |
Related Research Results
|
|
125 |
<!-- <span *ngIf="!datasetInfo.relatedResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
126 |
<span *ngIf="datasetInfo.relatedResearchResults" class="uk-badge uk-badge-notification">
|
|
127 |
{{relatedResearchResultsNum | number}}
|
|
128 |
</span> -->
|
|
129 |
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
130 |
({{relatedResearchResultsNum | number}})
|
|
131 |
<!-- </span> -->
|
|
132 |
</a>
|
|
133 |
<div class="uk-accordion-content">
|
|
134 |
<!-- <div *ngIf="!datasetInfo.relatedResearchResults" class = "uk-alert uk-alert-primary">
|
|
135 |
No related research results available
|
|
136 |
</div>
|
|
137 |
<div *ngIf="datasetInfo.relatedResearchResults"> -->
|
|
138 |
<div>
|
|
139 |
<div *ngFor="let provenanceaction of getKeys(datasetInfo.relatedResearchResults)">
|
|
140 |
<div class="uk-text-large">{{provenanceaction}}</div>
|
|
143 |
<li *ngIf="datasetInfo.relatedResearchResults" (click)="activeTab='Related Research Results'"> |
|
144 |
<a class="uk-accordion-title" href="#"> |
|
145 |
Related Research Results |
|
146 |
<!-- <span *ngIf="!datasetInfo.relatedResearchResults" class="uk-badge uk-badge-notification">0</span> |
|
147 |
<span *ngIf="datasetInfo.relatedResearchResults" class="uk-badge uk-badge-notification"> |
|
148 |
{{relatedResearchResultsNum | number}} |
|
149 |
</span> --> |
|
150 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
151 |
({{relatedResearchResultsNum | number}}) |
|
152 |
<!-- </span> --> |
|
153 |
</a> |
|
154 |
<div class="uk-accordion-content"> |
|
155 |
<!-- <div *ngIf="!datasetInfo.relatedResearchResults" class = "uk-alert uk-alert-primary"> |
|
156 |
No related research results available |
|
157 |
</div> |
|
158 |
<div *ngIf="datasetInfo.relatedResearchResults"> --> |
|
159 |
<div> |
|
160 |
<div *ngFor="let provenanceaction of getKeys(datasetInfo.relatedResearchResults)"> |
|
161 |
<div class="uk-text-large">{{provenanceaction}}</div> |
|
141 | 162 |
|
142 |
<tabTable [percentageName]="trust" [info]="datasetInfo.relatedResearchResults.get(provenanceaction)" [(properties)]=properties></tabTable> |
|
143 |
</div> |
|
144 |
</div> |
|
145 |
</div> |
|
146 |
</li> |
|
163 |
<tabTable [percentageName]="trust" |
|
164 |
[info]="datasetInfo.relatedResearchResults.get(provenanceaction)" |
|
165 |
[(properties)]=properties></tabTable> |
|
166 |
</div> |
|
167 |
</div> |
|
168 |
</div> |
|
169 |
</li> |
|
147 | 170 |
|
148 |
<li *ngIf="datasetInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
|
|
149 |
<a class="uk-accordion-title" href="#">
|
|
150 |
Similar Research Results
|
|
151 |
<!-- <span *ngIf="!datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span>
|
|
152 |
<span *ngIf="datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">
|
|
153 |
{{datasetInfo.similarResearchResults.length | number}}
|
|
154 |
</span> -->
|
|
155 |
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
156 |
({{datasetInfo.similarResearchResults.length | number}})
|
|
157 |
<!-- </span> -->
|
|
158 |
</a>
|
|
159 |
<div class="uk-accordion-content">
|
|
160 |
<!-- <div *ngIf="!datasetInfo.similarResearchResults" class = "uk-alert uk-alert-primary" >
|
|
161 |
No similar research results available
|
|
162 |
</div>
|
|
171 |
<li *ngIf="datasetInfo.similarResearchResults" (click)="activeTab='Similar Research Results'"> |
|
172 |
<a class="uk-accordion-title" href="#"> |
|
173 |
Similar Research Results |
|
174 |
<!-- <span *ngIf="!datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification">0</span> |
|
175 |
<span *ngIf="datasetInfo.similarResearchResults" class="uk-badge uk-badge-notification"> |
|
176 |
{{datasetInfo.similarResearchResults.length | number}} |
|
177 |
</span> --> |
|
178 |
<!-- <span class="uk-badge uk-badge-notification"> --> |
|
179 |
({{datasetInfo.similarResearchResults.length | number}}) |
|
180 |
<!-- </span> --> |
|
181 |
</a> |
|
182 |
<div class="uk-accordion-content"> |
|
183 |
<!-- <div *ngIf="!datasetInfo.similarResearchResults" class = "uk-alert uk-alert-primary" > |
|
184 |
No similar research results available |
|
185 |
</div> |
|
163 | 186 |
|
164 |
<div *ngIf="datasetInfo.similarResearchResults"> --> |
|
165 |
<div> |
|
166 |
<tabTable [percentageName]="similarity" [info]="datasetInfo.similarResearchResults" [(properties)]=properties></tabTable> |
|
167 |
</div> |
|
168 |
</div> |
|
169 |
</li> |
|
187 |
<div *ngIf="datasetInfo.similarResearchResults"> --> |
|
188 |
<div> |
|
189 |
<tabTable [percentageName]="similarity" [info]="datasetInfo.similarResearchResults" |
|
190 |
[(properties)]=properties></tabTable> |
|
191 |
</div> |
|
192 |
</div> |
|
193 |
</li> |
|
170 | 194 |
|
171 |
<li (click)="metricsClicked=true; activeTab='Metrics'">
|
|
172 |
<a class="uk-accordion-title" href="#">
|
|
173 |
Metrics
|
|
174 |
</a>
|
|
175 |
<div class="uk-accordion-content">
|
|
176 |
<metrics [pageViews]="pageViews"
|
|
195 |
<li (click)="metricsClicked=true; activeTab='Metrics'"> |
|
196 |
<a class="uk-accordion-title" href="#"> |
|
197 |
Metrics |
|
198 |
</a> |
|
199 |
<div class="uk-accordion-content"> |
|
200 |
<metrics [pageViews]="pageViews" |
|
177 | 201 |
[id]="datasetId" [entityType]="'results'" [entity]="'Research Data'" |
178 |
(metricsResults)="metricsResults($event)" [(properties)] = properties>
|
|
179 |
</metrics>
|
|
180 |
<i-frame *ngIf="metricsClicked && totalViews > 0"
|
|
202 |
(metricsResults)="metricsResults($event)" [(properties)]=properties>
|
|
203 |
</metrics> |
|
204 |
<i-frame *ngIf="metricsClicked && totalViews > 0" |
|
181 | 205 |
[url]=viewsFrameUrl width="100%" height="250"> |
182 |
</i-frame>
|
|
183 |
<i-frame *ngIf="metricsClicked && totalDownloads > 0"
|
|
206 |
</i-frame> |
|
207 |
<i-frame *ngIf="metricsClicked && totalDownloads > 0" |
|
184 | 208 |
[url]=downloadsFrameUrl width="100%" height="250"> |
185 |
</i-frame>
|
|
186 |
</div>
|
|
187 |
</li>
|
|
209 |
</i-frame> |
|
210 |
</div> |
|
211 |
</li> |
|
188 | 212 |
|
189 |
<li (click)="activeTab='Other Versions'" *ngIf="properties.environment == 'development' && datasetInfo.deletedByInferenceIds"> |
|
190 |
<a class="uk-accordion-title" href="#"> |
|
191 |
Other Versions |
|
192 |
({{datasetInfo.deletedByInferenceIds.length | number}}) |
|
193 |
</a> |
|
194 |
<div *ngIf="activeTab=='Other Versions'" class="uk-accordion-content"> |
|
195 |
<deletedByInference [id]="datasetId" [ids]="datasetInfo.deletedByInferenceIds" [type]="'research data'"></deletedByInference> |
|
196 |
</div> |
|
197 |
</li> |
|
213 |
<li (click)="activeTab='Other Versions'" |
|
214 |
*ngIf="properties.environment == 'development' && datasetInfo.deletedByInferenceIds"> |
|
215 |
<a class="uk-accordion-title" href="#"> |
|
216 |
Other Versions |
|
217 |
({{datasetInfo.deletedByInferenceIds.length | number}}) |
|
218 |
</a> |
|
219 |
<div *ngIf="activeTab=='Other Versions'" class="uk-accordion-content"> |
|
220 |
<deletedByInference [id]="datasetId" [ids]="datasetInfo.deletedByInferenceIds" |
|
221 |
[type]="'research data'"></deletedByInference> |
|
222 |
</div> |
|
223 |
</li> |
|
198 | 224 |
</ul> |
199 | 225 |
|
200 |
</div> |
|
201 |
|
|
202 |
<div class="uk-width-large@m uk-width-1-1@s"> |
|
203 |
<div class=" uk-padding-small"> |
|
204 |
<div > |
|
205 |
<div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div> |
|
206 |
<addThis></addThis> |
|
207 | 226 |
</div> |
208 |
<altmetrics *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.get('doi')" |
|
209 |
id="{{datasetInfo.identifiers.get('doi')[0]}}" type="doi"> |
|
210 |
</altmetrics > |
|
211 |
<ul class="uk-list uk-margin-remove-bottom "> |
|
212 | 227 |
|
228 |
<div class="uk-width-large@m uk-width-1-1@s"> |
|
229 |
<div class=" uk-padding-small"> |
|
230 |
<div> |
|
231 |
<div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div> |
|
232 |
<addThis></addThis> |
|
233 |
</div> |
|
234 |
<altmetrics *ngIf="datasetInfo.identifiers && datasetInfo.identifiers.get('doi')" |
|
235 |
id="{{datasetInfo.identifiers.get('doi')[0]}}" type="doi"> |
|
236 |
</altmetrics> |
|
237 |
<ul class="uk-list uk-margin-remove-bottom "> |
|
238 |
|
|
213 | 239 |
<li *ngIf="datasetInfo.hostedBy_collectedFrom && datasetInfo.hostedBy_collectedFrom.length > 0"> |
214 |
<availableOn [availableOn]="datasetInfo.hostedBy_collectedFrom"></availableOn>
|
|
240 |
<availableOn [availableOn]="datasetInfo.hostedBy_collectedFrom"></availableOn> |
|
215 | 241 |
</li> |
216 | 242 |
<li *ngIf="datasetInfo.fundedByProjects != undefined && datasetInfo.fundedByProjects.length > 0"> |
217 |
<fundedBy [fundedByProjects]="datasetInfo.fundedByProjects"></fundedBy>
|
|
243 |
<fundedBy [fundedByProjects]="datasetInfo.fundedByProjects"></fundedBy> |
|
218 | 244 |
</li> |
219 | 245 |
|
220 |
<li *ngIf="datasetInfo.contexts && datasetInfo.contexts.length >0 ">
|
|
221 |
<dl class="uk-description-list-line" >
|
|
222 |
<dt class="sideInfoTitle">Related to </dt>
|
|
223 |
<dd class="line" *ngFor="let item of datasetInfo.contexts">
|
|
224 |
<span *ngIf = "!item['inline']" >
|
|
246 |
<li *ngIf="datasetInfo.contexts && datasetInfo.contexts.length >0 "> |
|
247 |
<dl class="uk-description-list-line">
|
|
248 |
<dt class="sideInfoTitle">Related to</dt>
|
|
249 |
<dd class="line" *ngFor="let item of datasetInfo.contexts"> |
|
250 |
<span *ngIf="!item['inline']">
|
|
225 | 251 |
<span>{{item['labelContext']}}</span> |
226 | 252 |
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span> |
227 | 253 |
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span> |
228 | 254 |
</span> |
229 |
<mark *ngIf = "item['inline']" >
|
|
230 |
<span>{{item['labelContext']}}</span>
|
|
231 |
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span>
|
|
232 |
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span>
|
|
233 |
</mark>
|
|
234 |
</dd>
|
|
255 |
<mark *ngIf="item['inline']">
|
|
256 |
<span>{{item['labelContext']}}</span> |
|
257 |
<span *ngIf="item['labelCategory']">-> {{item['labelCategory']}}</span> |
|
258 |
<span *ngIf="item['labelConcept']">: {{item['labelConcept']}}</span> |
|
259 |
</mark> |
|
260 |
</dd> |
|
235 | 261 |
|
236 |
</dl>
|
|
262 |
</dl> |
|
237 | 263 |
|
238 | 264 |
</li> |
239 | 265 |
|
... | ... | |
255 | 281 |
|
256 | 282 |
</li> |
257 | 283 |
|
258 |
</ul> |
|
259 |
<button *ngIf="isRouteAvailable('participate/direct-claim') " class=" uk-button portal-button uk-width-1-1 "> |
|
284 |
</ul> |
|
285 |
<button *ngIf="isRouteAvailable('participate/direct-claim') " |
|
286 |
class=" uk-button portal-button uk-width-1-1 "> |
|
260 | 287 |
<span class="uk-icon"> |
261 |
<svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20" height="25"><path d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375" fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975" fill="none" stroke="#000" stroke-width="1.1"></path></svg> |
|
288 |
<svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20" |
|
289 |
height="25"><path |
|
290 |
d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375" |
|
291 |
fill="none" stroke="#000" stroke-width="1.1"></path><path |
|
292 |
d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375" |
|
293 |
fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975" |
|
294 |
fill="none" stroke="#000" |
|
295 |
stroke-width="1.1"></path></svg> |
|
262 | 296 |
</span> Link this dataset to... |
263 |
</button> |
|
297 |
</button>
|
|
264 | 298 |
|
265 |
<div *ngIf="isRouteAvailable('participate/direct-claim') " uk-dropdown="pos: bottom-left; mode:click" style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;"> |
|
266 |
<ul class="uk-iconnav uk-iconnav-vertical"> |
|
267 |
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Projects</div>"> |
|
268 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > |
|
269 |
<span class="uk-icon" > |
|
270 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" height="1"></rect><rect fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span> |
|
271 |
</a> |
|
272 |
</li> |
|
273 |
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Communities</div>"> |
|
274 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > |
|
275 |
<span class="uk-icon" > |
|
276 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path><path fill="none" stroke="#000" stroke-width="1.1" d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg></span> |
|
277 |
</a> |
|
278 |
</li> |
|
279 |
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size uk-margin-small'>Other research results</div>"> |
|
280 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])" routerLinkActive="router-link-active" routerLink="/participate/direct-claim" > |
|
281 |
<span class="uk-icon" > |
|
282 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span> |
|
283 |
</a> |
|
284 |
</li> |
|
299 |
<div *ngIf="isRouteAvailable('participate/direct-claim') " uk-dropdown="pos: bottom-left; mode:click" |
|
300 |
style="background: transparent !important;box-shadow: none; max-width: 70px !important; min-width: 70px !important;"> |
|
301 |
<ul class="uk-iconnav uk-iconnav-vertical"> |
|
302 |
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Projects</div>"> |
|
303 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" |
|
304 |
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','project'])" |
|
305 |
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"> |
|
306 |
<span class="uk-icon"> |
|
307 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="album" |
|
308 |
ratio="1"><rect x="5" y="2" width="10" height="1"></rect><rect x="3" y="4" width="14" |
|
309 |
height="1"></rect><rect |
|
310 |
fill="none" stroke="#000" x="1.5" y="6.5" width="17" height="11"></rect></svg></span> |
|
311 |
</a> |
|
312 |
</li> |
|
313 |
<li uk-tooltip="pos:right;" title="<div class='tooltip-custom-font-size '>Communities</div>"> |
|
314 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" |
|
315 |
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','context'])" |
|
316 |
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"> |
|
317 |
<span class="uk-icon"> |
|
318 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" |
|
319 |
icon="users" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="7.7" |
|
320 |
cy="8.6" r="3.5"></circle><path fill="none" stroke="#000" |
|
321 |
stroke-width="1.1" |
|
322 |
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3"></path><path |
|
323 |
fill="none" stroke="#000" stroke-width="1.1" |
|
324 |
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"></path></svg></span> |
|
325 |
</a> |
|
326 |
</li> |
|
327 |
<li uk-tooltip="pos:right;" |
|
328 |
title="<div class='tooltip-custom-font-size uk-margin-small'>Other research results</div>"> |
|
329 |
<a class=" uk-icon-button portal-button shadowBox" style="padding: 6px;" |
|
330 |
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[datasetId,'dataset','result'])" |
|
331 |
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"> |
|
332 |
<span class="uk-icon"> |
|
333 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" |
|
334 |
ratio="1"><rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect><polyline |
|
335 |
fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline></svg></span> |
|
336 |
</a> |
|
337 |
</li> |
|
285 | 338 |
|
286 |
</ul> |
|
339 |
</ul> |
|
340 |
</div> |
|
341 |
|
|
342 |
</div> |
|
287 | 343 |
</div> |
344 |
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0" |
|
345 |
[texts]="pageContents['bottom']" styleName="uk-width-1-1"></helper> |
|
346 |
</div> |
|
288 | 347 |
|
289 |
</div> |
|
290 | 348 |
</div> |
291 | 349 |
</div> |
292 |
|
|
350 |
</div> |
|
293 | 351 |
</div> |
294 |
</div> |
|
295 |
</div> |
Also available in: Unified diff
[Trunk|Library]: Add Helper on search Page, landings and deposit first page.