1
|
<schema2jsonld *ngIf="url" [URL]="url" [name]="pageTitle" type="other"></schema2jsonld>
|
2
|
|
3
|
<ng-container *ngIf="longView else shortView">
|
4
|
<div class="image-front-topbar uk-section-default uk-position-relative"
|
5
|
uk-scrollspy="{"target":"[uk-scrollspy-class]","cls":"uk-animation-fade","delay":false}"
|
6
|
tm-header-transparent="light">
|
7
|
<div style=" min-height: 650px;" class="uk-section uk-padding-remove-bottom uk-flex uk-flex-middle">
|
8
|
<div class="uk-align-center">
|
9
|
<div class="uk-section">
|
10
|
<div class="uk-container">
|
11
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
12
|
[texts]="pageContents['top']"></helper>
|
13
|
<div *ngIf="showLoading" class="uk-margin-large">
|
14
|
<div class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert"><span
|
15
|
class="loading-gif uk-align-center"></span></div>
|
16
|
</div>
|
17
|
<div *ngIf="!showLoading && curators.length > 0">
|
18
|
<h4 class="uk-margin-top uk-h4">
|
19
|
<span class="uk-text-bold">Curators</span>
|
20
|
<span> ({{curators.length}})</span>
|
21
|
</h4>
|
22
|
<div *ngFor="let curator of curators let i=index;"
|
23
|
class="uk-width-1-1 uk-card uk-card-default uk-card-body uk-margin-top uk-animation-slide-top">
|
24
|
<div
|
25
|
[class]="(curator.affiliations.length > 0 && curator.affiliations.length <= 2)?'uk-grid-divider uk-flex uk-flex-middle':''"
|
26
|
uk-grid>
|
27
|
|
28
|
<div class="uk-width-1-2 uk-first-column">
|
29
|
<div class="uk-flex uk-flex-middle">
|
30
|
<div>
|
31
|
<img *ngIf="curator.photo && curator.photo !== ''" class="uk-border-circle curator-photo"
|
32
|
src="{{downloadUrl + curator.photo}}" alt="Curator Photo">
|
33
|
<img *ngIf="!curator.photo || curator.photo == ''" class="uk-border-circle curator-photo"
|
34
|
src="../../assets/common-assets/curator-default.png" alt="Curator Photo">
|
35
|
</div>
|
36
|
<div class="uk-width-expand uk-margin-left uk-text-bold">
|
37
|
{{curator.name}}
|
38
|
</div>
|
39
|
</div>
|
40
|
</div>
|
41
|
|
42
|
|
43
|
<div *ngIf="(curator.affiliations.length > 0 && curator.affiliations.length <= 2)"
|
44
|
class="uk-width-1-2">
|
45
|
<div class="uk-flex uk-flex-middle">
|
46
|
<div class="uk-width-expand uk-margin-left uk-text-meta uk-flex-first">
|
47
|
Affiliations
|
48
|
</div>
|
49
|
<affiliations [longView]="false" [affiliations]="curator.affiliations"
|
50
|
[affiliationsInSlider]="curator.affiliations.length"
|
51
|
class="uk-width-2-3"></affiliations>
|
52
|
</div>
|
53
|
</div>
|
54
|
|
55
|
<div *ngIf="(curator.affiliations.length > 2)" class="uk-width-1-1 uk-margin-top">
|
56
|
<div class="uk-text-meta uk-margin-small-bottom">
|
57
|
Affiliations
|
58
|
</div>
|
59
|
<affiliations [longView]="false" [affiliations]="curator.affiliations"></affiliations>
|
60
|
</div>
|
61
|
<div class="uk-width-1-1 uk-first-column uk-margin-top uk-height-max-large uk-overflow-auto">
|
62
|
<div class="uk-text-meta uk-margin-small-bottom">
|
63
|
Biography
|
64
|
</div>
|
65
|
<div class="uk-margin-top">
|
66
|
<p *ngIf="showMore[i]" class="biography"> {{curator.bio}}}</p>
|
67
|
<p *ngIf="!showMore[i]" class="biography">{{_format(curator.bio)}}</p>
|
68
|
</div>
|
69
|
</div>
|
70
|
<div class="uk-width-1-1 uk-margin-top uk-text-right">
|
71
|
<a *ngIf="curator.bio.length > maxCharacters && !showMore[i]" class="uk-text-bold"
|
72
|
(click)="toggle(i)">
|
73
|
Show more
|
74
|
</a>
|
75
|
<a *ngIf="curator.bio.length > maxCharacters && showMore[i]" class="uk-text-bold"
|
76
|
(click)="toggle(i)">
|
77
|
Show less
|
78
|
</a>
|
79
|
</div>
|
80
|
</div>
|
81
|
</div>
|
82
|
</div>
|
83
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
84
|
[texts]="pageContents['bottom']"></helper>
|
85
|
</div>
|
86
|
</div>
|
87
|
</div>
|
88
|
</div>
|
89
|
</div>
|
90
|
</ng-container>
|
91
|
<ng-template #shortView>
|
92
|
<div class="uk-grid">
|
93
|
<span *ngIf=" curators && curators.length > 0" class="lowOpacityColor uk-text-muted uk-width-auto">
|
94
|
Curated by:
|
95
|
</span>
|
96
|
<span class="uk-width-expand uk-padding-remove space">
|
97
|
<span *ngFor="let curator of curators let i=index;">
|
98
|
<!-- <span>-->
|
99
|
<!-- <img *ngIf="curator.photo && curator.photo !== ''" class="uk-border-circle curator-photo"-->
|
100
|
<!-- src="{{downloadUrl + curator.photo}}" alt="Curator Photo">-->
|
101
|
<!-- <img *ngIf="!curator.photo || curator.photo == ''" class="uk-border-circle curator-photo"-->
|
102
|
<!-- src="../../assets/common-assets/curator-default.png" alt="Curator Photo">-->
|
103
|
<!-- </span>-->
|
104
|
<a>{{curator.name}}</a>
|
105
|
<span class="default-dropdown uk-margin-remove-top uk-padding-medium uk-width-medium"
|
106
|
uk-dropdown="pos: bottom-left; mode:click; ">
|
107
|
<span class="uk-grid uk-grid-stack">
|
108
|
<span class="uk-first-column uk-flex uk-flex-middle uk-grid">
|
109
|
<span>
|
110
|
<img *ngIf="curator.photo && curator.photo !== ''" class="uk-border-circle curator-photo"
|
111
|
src="{{downloadUrl + curator.photo}}" alt="Curator Photo">
|
112
|
<img *ngIf="!curator.photo || curator.photo == ''" class="uk-border-circle curator-photo"
|
113
|
src="../../assets/common-assets/curator-default.png" alt="Curator Photo">
|
114
|
</span>
|
115
|
<span class="uk-width-expand uk-h5 ignoreCommunityPanelBackground">
|
116
|
{{curator.name}}
|
117
|
</span>
|
118
|
</span>
|
119
|
<span *ngIf="curator.affiliations.length > 0" class="uk-width-1-1">
|
120
|
<hr class="uk-margin-top">
|
121
|
<span class="uk-text-left uk-margin">
|
122
|
Affiliations
|
123
|
</span>
|
124
|
<span> ({{curator.affiliations.length}})</span>
|
125
|
<span class="uk-width-1-1">
|
126
|
<affiliations [affiliations]="curator.affiliations"
|
127
|
[affiliationsInSlider]="2"
|
128
|
[arrows]="false"
|
129
|
[sliderOptions]="'autoplay: true; autoplay-interval: 2000'"></affiliations>
|
130
|
</span>
|
131
|
</span>
|
132
|
<span class="uk-width-1-1">
|
133
|
<a routerLink="/curators" class="uk-align-right uk-link ignoreCommunityPanelBackground">
|
134
|
View more details
|
135
|
</a>
|
136
|
</span>
|
137
|
</span>
|
138
|
</span>
|
139
|
<span *ngIf="i < curators.length-1">, </span>
|
140
|
</span>
|
141
|
</span>
|
142
|
</div>
|
143
|
</ng-template>
|