[Connect|Trunk]
App.component: smoother load of customization show subscribe when community is loaded Footer: switch to dark background git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58636 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
0ddca869b8
commit
7e9b4c5dff
|
@ -28,14 +28,14 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
|
|||
[community]=community [showMenu]=showMenu [properties]="properties" [enableSearch]="false"
|
||||
searchRoute="/search/find/research-outcomes"
|
||||
[showHomeMenuItem]="false"></navbar>
|
||||
<customization *ngIf="properties && community" [properties]="properties"
|
||||
[communityId]="community.id"></customization>
|
||||
<customization *ngIf="properties && communityId && communityId.length > 0" [properties]="properties"
|
||||
[communityId]="communityId"></customization>
|
||||
<div class="custom-main-content">
|
||||
<main>
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
</div>
|
||||
<div id="subscribeAndInviteBtn" *ngIf="isClient && properties && communityId">
|
||||
<div id="subscribeAndInviteBtn" *ngIf="isClient && properties && community">
|
||||
<subscribe [communityId]="communityId" [properties]="properties"></subscribe>
|
||||
<invite *ngIf="managerOfCommunities" [longView]=false [buttonSizeSmall]=false [properties]="properties"></invite>
|
||||
</div>
|
||||
|
@ -53,10 +53,10 @@ import {UserManagementService} from "./openaireLibrary/services/user-management.
|
|||
</cookie-law>
|
||||
<bottom *ngIf="properties && isClient && showMenu && !community" [grantAdvance]="false"
|
||||
[properties]="properties"></bottom>
|
||||
<bottom *ngIf="properties && isClient && showMenu && community" class=""
|
||||
<bottom *ngIf="properties && isClient && showMenu && community" class=" communityPanelBackground "
|
||||
[showSocialButtons]="true" [showMenuItems]="true" [grantAdvance]="false" [showOpenaire]="true"
|
||||
[communityId]="community.id" [menuItems]=bottomMenuItems [properties]="properties"
|
||||
[darkBackground]="false" [centered]="true"></bottom>
|
||||
[darkBackground]="true" [centered]="true"></bottom>
|
||||
</div>
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in New Issue