Revision 58581
Added by Konstantinos Triantafyllou almost 4 years ago
my-communities.component.html | ||
---|---|---|
18 | 18 |
<div *ngIf="!loading" class="uk-container uk-container-large"> |
19 | 19 |
<h2 class="uk-text-center uk-text-bold">My Communities</h2> |
20 | 20 |
<div *ngIf="managerOfCommunities.length > 0 || subscriberOfCommunities.length > 0" |
21 |
class="uk-child-width-1-1@s uk-child-width-1-2@m uk-flex uk-flex-middle" uk-grid uk-height-match="target: .community; row: false"> |
|
21 |
class="uk-child-width-1-1@s uk-child-width-1-2@m uk-flex uk-flex-middle" uk-grid uk-height-match="target: .communityCard; row: false">
|
|
22 | 22 |
<div> |
23 | 23 |
<div *ngIf="managerOfCommunities.length > 0" class="uk-grid"> |
24 | 24 |
<h5 class="uk-width-1-1 uk-text-bold">You are managing</h5> |
... | ... | |
29 | 29 |
<div *ngFor="let community of managerOfCommunities.slice(0,3); let i = index"> |
30 | 30 |
<div class="uk-padding-small uk-card uk-card-default uk-card-small communityCard" |
31 | 31 |
title="{{community.description}}"> |
32 |
<browse-community [community]=community [showDescription]=false></browse-community> |
|
32 |
<browse-community [community]=community [smallTitle]="true" [showDescription]=false></browse-community>
|
|
33 | 33 |
</div> |
34 | 34 |
</div> |
35 | 35 |
</div> |
... | ... | |
56 | 56 |
<div *ngFor="let community of subscriberOfCommunities.slice(0,3); let i = index"> |
57 | 57 |
<div class="uk-padding-small uk-card uk-card-small uk-card-default communityCard" |
58 | 58 |
[attr.uk-tooltip]="((community.description) ? ('title: '+ community.description + '; pos: bottom-right') : 'cls: uk-invisible')"> |
59 |
<browse-community [community]=community [showDescription]=false></browse-community> |
|
59 |
<browse-community [community]=community [smallTitle]="true" [showDescription]=false></browse-community>
|
|
60 | 60 |
</div> |
61 | 61 |
</div> |
62 | 62 |
</div> |
... | ... | |
93 | 93 |
<div [class]="(researchCommunities.length <= 5 ? ' uk-margin-medium-bottom' : '')"> |
94 | 94 |
<div |
95 | 95 |
class="uk-grid-match uk-grid-medium uk-child-width-1-5@m uk-child-width-1-2 uk-text-center" |
96 |
uk-grid uk-height-match=".community"> |
|
96 |
uk-grid uk-height-match=".community;">
|
|
97 | 97 |
<div *ngFor="let community of researchCommunities.slice(0, 5); let i = index"> |
98 | 98 |
<div class="uk-padding-small uk-card uk-card-default communityCard"> |
99 | 99 |
<browse-community [community]=community></browse-community> |
Also available in: Unified diff
[Connect | Trunk]: Fix height of my communities cards