diff --git a/app/app.component.html b/app/app.component.html
index 7bae7f8..846f041 100644
--- a/app/app.component.html
+++ b/app/app.component.html
@@ -1,9 +1,11 @@
- A list of tools to help the administrator of the OpenMinTeD to manage FAQs, help texts, etc...
+ A list of tools to help the administrator of the OpenAIRE-Connect to manage FAQs, help texts, etc...
diff --git a/app/domain/community.ts b/app/domain/community.ts
new file mode 100644
index 0000000..48d1ca0
--- /dev/null
+++ b/app/domain/community.ts
@@ -0,0 +1,13 @@
+import {Page} from './page';
+
+export interface Community {
+ _id: string;
+ name: string;
+ entities: string[];
+ pages: Page[];
+}
+
+// export interface CheckCommunity {
+// community : Community;
+// checked : boolean;
+// }
diff --git a/app/domain/entity.ts b/app/domain/entity.ts
new file mode 100644
index 0000000..c7d3a84
--- /dev/null
+++ b/app/domain/entity.ts
@@ -0,0 +1,10 @@
+export class Entity {
+ _id: string;
+ name: string;
+ isEnabled :boolean;
+}
+
+export interface CheckEntity {
+ entity : Entity;
+ checked : boolean;
+}
diff --git a/app/domain/page-help-content.ts b/app/domain/page-help-content.ts
index 4defe03..086c800 100644
--- a/app/domain/page-help-content.ts
+++ b/app/domain/page-help-content.ts
@@ -2,10 +2,12 @@
* Created by stefania on 7/13/17.
*/
import { Page } from "./page";
+import { Community } from "./community";
export interface PageHelpContent {
_id: string;
page: Page | string;
+ community: Community | string;
placement : string;
order: number;
content: string;
@@ -21,4 +23,4 @@ export interface PageHelpContentFilterOptions {
id : string;
active : Boolean;
text : RegExp;
-}
\ No newline at end of file
+}
diff --git a/app/domain/page.ts b/app/domain/page.ts
index a78b48a..5d849a3 100644
--- a/app/domain/page.ts
+++ b/app/domain/page.ts
@@ -1,13 +1,14 @@
-/**
- * Created by stefania on 7/13/17.
- */
+import { Entity } from './entity';
+
export interface Page {
_id: string;
route: string;
name: string;
+ isEnabled :boolean;
+ entities: Entity[];// | string[];
}
export interface CheckPage {
page : Page;
checked : boolean;
-}
\ No newline at end of file
+}
diff --git a/app/pages/helpcontent/edit-page-help-content.component.html b/app/pages/helpcontent/edit-page-help-content.component.html
index dc093ab..9cd9eb5 100644
--- a/app/pages/helpcontent/edit-page-help-content.component.html
+++ b/app/pages/helpcontent/edit-page-help-content.component.html
@@ -12,7 +12,7 @@