Commit Graph

8 Commits

Author SHA1 Message Date
k.triantafyllou fd780ad708 [Admin | Trunk]: 1. Add statistics overall toggle. 2. Remove conditions if there are resutls on statistics. 3. Add titles in all pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@58371 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-01 13:40:48 +00:00
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
argiro.kokogiannaki c1ffb065e4 [Admin|Trunk]
package json: build add flag --prod
make corrections for the build to succeed.




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56471 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-10 12:55:16 +00:00
konstantina.galouni f196153275 [Trunk|Admin]: Use scroll function from 'HelperFunctions' class (openaireLibrary/utils).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@55416 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-24 11:44:46 +00:00
konstantina.galouni d9e24bacc1 [trunk]: Admin (Connect): Remove unnecessary logs
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@54788 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 12:20:00 +00:00
konstantina.galouni 6476128775 Scroll into view in ngOnInit() for every page.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@54074 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-03 11:33:03 +00:00
konstantina.galouni 9ddb0b32c9 For every page: when Session is expired, redirect to '/user-info' page to show a proper message.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@53735 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-13 15:26:49 +00:00
argiro.kokogiannaki 3ff95d06c0 Merging from branch 'branches/project-cli' r53598 in trunk
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@53600 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-30 15:31:16 +00:00