Revision 59298
Added by Konstantina Galouni over 3 years ago
div-help-contents.component.ts | ||
---|---|---|
4 | 4 |
import { HelpContentService } from "../../services/help-content.service"; |
5 | 5 |
import { DivHelpContent, CheckDivHelpContent, DivHelpContentFilterOptions } from "../../domain/div-help-content"; |
6 | 6 |
import { Page } from "../../domain/page"; |
7 |
import { Community } from "../../domain/community";
|
|
7 |
import { Portal } from "../../domain/portal";
|
|
8 | 8 |
import { DivId } from "../../domain/divId"; |
9 | 9 |
import { EnvProperties } from '../../openaireLibrary/utils/properties/env-properties'; |
10 | 10 |
import {SafeHtmlPipe} from '../../openaireLibrary/utils/pipes/safeHTML.pipe'; |
... | ... | |
43 | 43 |
|
44 | 44 |
public counter = {all : 0, active : 0, inactive : 0}; |
45 | 45 |
|
46 |
public communities: Community[] = [];
|
|
46 |
public communities: Portal[] = [];
|
|
47 | 47 |
|
48 | 48 |
public selectedCommunityPid: string; |
49 | 49 |
|
50 | 50 |
public selectedPageId: string; |
51 | 51 |
|
52 |
public community: Community;
|
|
52 |
public community: Portal;
|
|
53 | 53 |
|
54 | 54 |
public page: Page; |
55 | 55 |
public properties:EnvProperties = null; |
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Admin]:
1. "domain/community.ts" renamed to "domain/portal.ts".
2. portal.ts: "Community" interface renamed to "Portal" | "CheckCommunity" interface renamed to "CheckPortal".
3. div-help-content.ts & html-page-content.ts & page-help-content.ts & communities.component.ts & community-form.component.html &
div-help-contents.component.ts & entities.component.ts & page-help-contents.component.ts & pages.component.ts & stats.component.ts & help-content.service.ts:
import and use "Portal" (and "CheckPortal") interfaces instead of "Community" (and "CheckCommunity").
4. help-content.service.ts: Rename method parameters (e.g. community_pid --> portal_pid).