Revision 53594
Added by Konstantina Galouni over 5 years ago
HtmlPageContent.java | ||
---|---|---|
15 | 15 |
public HtmlPageContent() { |
16 | 16 |
} |
17 | 17 |
|
18 |
public HtmlPageContent(String page, String community, String content) { |
|
19 |
this.page = page; |
|
20 |
this.community = community; |
|
21 |
this.content = content; |
|
22 |
} |
|
23 |
|
|
18 | 24 |
public String getId() { |
19 | 25 |
return id; |
20 | 26 |
} |
Also available in: Unified diff
1. update_db.js: Add 'addDefaultHtmlToHtmlPagesForCommunity()' function for adding hmtl contents (/about and /organizations routes) to 'Clarin' community.
2. CommunityController.java: Add htmlPageContents when a community is created | delete htmlPageContents, statistics, communitySubscribers when a community is deleted.