Revision 58636
Added by Argiro Kokogiannaki almost 4 years ago
modules/uoa-connect-portal/trunk/src/app/app.component.ts | ||
---|---|---|
28 | 28 |
[community]=community [showMenu]=showMenu [properties]="properties" [enableSearch]="false" |
29 | 29 |
searchRoute="/search/find/research-outcomes" |
30 | 30 |
[showHomeMenuItem]="false"></navbar> |
31 |
<customization *ngIf="properties && community" [properties]="properties" |
|
32 |
[communityId]="community.id"></customization>
|
|
31 |
<customization *ngIf="properties && communityId && communityId.length > 0" [properties]="properties"
|
|
32 |
[communityId]="communityId"></customization>
|
|
33 | 33 |
<div class="custom-main-content"> |
34 | 34 |
<main> |
35 | 35 |
<router-outlet></router-outlet> |
36 | 36 |
</main> |
37 | 37 |
</div> |
38 |
<div id="subscribeAndInviteBtn" *ngIf="isClient && properties && communityId">
|
|
38 |
<div id="subscribeAndInviteBtn" *ngIf="isClient && properties && community"> |
|
39 | 39 |
<subscribe [communityId]="communityId" [properties]="properties"></subscribe> |
40 | 40 |
<invite *ngIf="managerOfCommunities" [longView]=false [buttonSizeSmall]=false [properties]="properties"></invite> |
41 | 41 |
</div> |
... | ... | |
53 | 53 |
</cookie-law> |
54 | 54 |
<bottom *ngIf="properties && isClient && showMenu && !community" [grantAdvance]="false" |
55 | 55 |
[properties]="properties"></bottom> |
56 |
<bottom *ngIf="properties && isClient && showMenu && community" class="" |
|
56 |
<bottom *ngIf="properties && isClient && showMenu && community" class=" communityPanelBackground "
|
|
57 | 57 |
[showSocialButtons]="true" [showMenuItems]="true" [grantAdvance]="false" [showOpenaire]="true" |
58 | 58 |
[communityId]="community.id" [menuItems]=bottomMenuItems [properties]="properties" |
59 |
[darkBackground]="false" [centered]="true"></bottom>
|
|
59 |
[darkBackground]="true" [centered]="true"></bottom>
|
|
60 | 60 |
</div> |
61 | 61 |
` |
62 | 62 |
|
Also available in: Unified diff
[Connect|Trunk]
App.component:
smoother load of customization
show subscribe when community is loaded
Footer: switch to dark background