connect-admin/src/app/pages/divhelpcontent
konstantina.galouni f6f86634ce [Trunk | Admin]:
1. pages.component: Show link to add pageHelpContents only when at least one posiiton is enabled.
2. help-content.service:
        Add 'pid' parameter in 'getDivIdsFull()' method to be able to get divIds that are enabled in a community.
        Add 'with_positions' parameter in 'getPages()' method to be able to get pages that have at least one position or no positions enabled.
3. app.component: Hide '/classContents' route for communities (currently no divIds for communities).
4. div-help-content-form.component: Get divIds that are enabled for the community.
5. div-help-contents.component: When a page is pre-selected ('pageId' url param exists), check if page is enabled in the community, otherwise redirect.
6. edit-div-help-content.component & new-div-help-content.component:
        Add 'getPage()' method, to get page (if disabled in community, redirect - if pageId is pre-selected) and show it in the page title.
7. edit-div-help-content.component: If there is no 'divContentId' url param, redirect
8. edit-page-help-content.component:
        If there is no 'pageContentId' url param, redirect
        Add 'getPage()' method, to get page (if disabled in community, redirect - if pageId is pre-selected or use pageHelpContent.page - if pageId != pageHelpContent.page, redirect) and show it in the p$
9. new-page-help-content.component: Add 'getPage()' method, to get page (if disabled in community, redirect - if pageId is pre-selected) and show it in the page title.
10. page-help-content-form.component: Do not perform a query to get page when it is pre-selected (new & edit do the query now) | Get pages with at least one posiiton enabled.
11. page-help-contents.component: When a page is pre-selected ('pageId' url param exists), check if page is enabled in the community, otherwise redirect | Get pages with at least one posiiton enabled.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56740 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 09:16:42 +00:00
..
div-help-content-form.component.html [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
div-help-content-form.component.ts [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
div-help-content-form.module.ts [Trunk|Admin]: Add the new modules to svn(forgot it) 2019-04-04 11:20:33 +00:00
div-help-contents-routing.module.ts [Trunk|Admin]: Lazy routing is Completed. Need to check communities and classes routes guards and query parameters 2019-03-08 13:10:29 +00:00
div-help-contents.component.html [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
div-help-contents.component.ts [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
div-help-contents.module.ts [Trunk|Admin]: Add material toggle slider for activation of an entity. 2019-06-18 15:06:13 +00:00
edit-div-help-content-routing.module.ts [Trunk|Admin]: Lazy routing is Completed. Need to check communities and classes routes guards and query parameters 2019-03-08 13:10:29 +00:00
edit-div-help-content.component.html [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
edit-div-help-content.component.ts [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
edit-div-help-content.module.ts [Trunk|Admin]: 1. Layout Component: Check if session is expired.\n2. Create a module for div-help-content-form-component because there was a duplicate declaration 2019-04-04 11:10:59 +00:00
new-div-help-content-routing.module.ts [Trunk|Admin]: Lazy routing is Completed. Need to check communities and classes routes guards and query parameters 2019-03-08 13:10:29 +00:00
new-div-help-content.component.html [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
new-div-help-content.component.ts [Trunk | Admin]: 2019-07-24 09:16:42 +00:00
new-div-help-content.module.ts [Trunk|Admin]: 1. Layout Component: Check if session is expired.\n2. Create a module for div-help-content-form-component because there was a duplicate declaration 2019-04-04 11:10:59 +00:00