Revision 60969
Added by Konstantinos Triantafyllou almost 3 years ago
app.component.ts | ||
---|---|---|
56 | 56 |
<router-outlet></router-outlet> |
57 | 57 |
</main> |
58 | 58 |
</div> |
59 |
<div id="subscribeAndInviteBtn" *ngIf="isClient && properties && community">
|
|
60 |
<subscribe [communityId]="community.id" [properties]="properties"></subscribe>
|
|
61 |
<invite *ngIf="isManager" [longView]=false [buttonSizeSmall]=false [properties]="properties"></invite>
|
|
59 |
<div id="subscribeAndInviteBtn" *ngIf="isClient && community"> |
|
60 |
<subscribe [communityId]="community.id"></subscribe> |
|
61 |
<invite *ngIf="isManager" [longView]="false"></invite>
|
|
62 | 62 |
</div> |
63 | 63 |
<!--feedback *ngIf= "isClient && properties" portalName="Connect" [feedbackQuestionaire]=properties.feedbackQuestionaire></feedback--> |
64 | 64 |
<cookie-law *ngIf="isClient" position="bottom"> |
... | ... | |
86 | 86 |
}) |
87 | 87 |
export class AppComponent { |
88 | 88 |
isClient: boolean = false; |
89 |
|
|
90 | 89 |
userMenuItems: MenuItem[] = []; |
91 |
|
|
92 |
|
|
93 | 90 |
menuItems: RootMenuItem [] = []; |
94 | 91 |
bottomMenuItems: MenuItem[] = []; |
95 | 92 |
public community = null; |
96 |
properties: EnvProperties; |
|
93 |
properties: EnvProperties = properties;
|
|
97 | 94 |
showMenu: boolean = false; |
98 | 95 |
communities = null; |
99 | 96 |
user: User; |
... | ... | |
122 | 119 |
} |
123 | 120 |
|
124 | 121 |
ngOnInit() { |
125 |
this.properties = properties; |
|
126 | 122 |
this._communitiesService.updateCommunities(this.properties, this.properties.communitiesAPI); |
127 | 123 |
if (typeof document !== 'undefined') { |
128 | 124 |
try { |
Also available in: Unified diff
[Connect | Trunk]: Add subscriber invite module from library