Revision 58549
Added by Konstantina Galouni almost 4 years ago
invite.module.ts | ||
---|---|---|
18 | 18 |
import {Schema2jsonldModule} from "../../../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module"; |
19 | 19 |
import {SEOServiceModule} from "../../../openaireLibrary/sharedComponents/SEO/SEOService.module"; |
20 | 20 |
import {PiwikService} from "../../../openaireLibrary/utils/piwik/piwik.service"; |
21 |
import {InviteBasicModule} from "./inviteBasic.module"; |
|
21 | 22 |
|
22 | 23 |
@NgModule({ |
23 |
imports: [ |
|
24 |
CommonModule, FormsModule, RouterModule, InviteRoutingModule, CKEditorModule, ErrorMessagesModule, |
|
25 |
HelperModule, Schema2jsonldModule, SEOServiceModule |
|
26 |
], |
|
27 |
declarations: [ |
|
28 |
InviteComponent |
|
29 |
], |
|
30 |
providers: [ |
|
31 |
LoginGuard, PreviousRouteRecorder, |
|
32 |
EmailService, CommunityService, IsRouteEnabled, |
|
33 |
PiwikService |
|
34 |
], |
|
35 |
exports: [ |
|
36 |
InviteComponent |
|
37 |
] |
|
24 |
// imports: [ |
|
25 |
// //CommonModule, FormsModule, RouterModule, InviteRoutingModule, CKEditorModule, ErrorMessagesModule, |
|
26 |
// RouterModule, CommonModule, FormsModule, CKEditorModule, ErrorMessagesModule, |
|
27 |
// //InviteRoutingModule, |
|
28 |
// HelperModule, Schema2jsonldModule, SEOServiceModule |
|
29 |
// ], |
|
30 |
// declarations: [ |
|
31 |
// InviteComponent |
|
32 |
// ], |
|
33 |
// providers: [ |
|
34 |
// //LoginGuard, |
|
35 |
// PreviousRouteRecorder, |
|
36 |
// EmailService, CommunityService, IsRouteEnabled, |
|
37 |
// PiwikService |
|
38 |
// ], |
|
39 |
// exports: [ |
|
40 |
// InviteComponent |
|
41 |
// ] |
|
42 |
|
|
43 |
imports: [InviteBasicModule, InviteRoutingModule], |
|
44 |
providers: [LoginGuard] |
|
38 | 45 |
}) |
39 | 46 |
|
40 | 47 |
export class InviteModule { } |
Also available in: Unified diff
[Trunk | Connect]: Connect redesing
1. app.component.ts: <subscribe> and <invite> components added (floating buttons on the right side of each page for communities).
2. community.component.html:
3. community.component.ts:
a. 'projectsCalculated' and 'contentProvidersCalculated' fields added, to calculate tootlip after both requests complete
b. added methods for building tootips
c. 'activeTab' set to 'summary'.
4. affiliations.component.html: minor phrasing changes (e.g. title).
5. curators.component.html: shortview changed.
6. results.component.ts: Title changed | 'View all' moved to the bottom.
7. customization.component.ts: Changed '--portal-main-color' from '#4C9CD5' to '#4687E6' | Changed '--portal-dark-color' from '#24857F' to '#2D72D6'.
8. invite.component.html: shortview changed.
9. invite.component.ts: 'properties' field as input (get it is called from app.component).
10. invite.module.ts & inviteBasic.module.ts: InviteBasicModule created to declare InviteComponent without routing and login guard | InviteModule imports InviteBasicModule and adds routing and login guar$
11. subscribe.component.ts: Changes for subscribe button and members | 'properties' field as input (get it is called from app.component).
12. connect-custom.css: css for subscribe and invite buttons and for tooltip with 'community-page-tooltip' class.
13. customization.css: class 'communityBackground' added and css for 'subtitle' class inside 'communityBackground'.