From dcb189d31474985ad3445de2fe90818be48ecc3b Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Tue, 7 Jan 2025 13:36:15 +0100 Subject: [PATCH 1/2] feat: Add Section Template Page - MEED-8033 - Meeds-io/MIPs#172 (#2729) This change will add the Sections Management application in a dedicated administration site page. --- .../portal/administration_en.properties | 1 + .../portal/administration/navigation.xml | 6 ++++++ .../sites/portal/administration/pages.xml | 20 +++++++++++++++++++ 3 files changed, 27 insertions(+) diff --git a/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/administration_en.properties b/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/administration_en.properties index 3fe1d3c66..60f90d866 100644 --- a/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/administration_en.properties +++ b/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/administration_en.properties @@ -47,3 +47,4 @@ portal.administration.portlets=Portlets portal.administration.pwaSettings=Mobile or Desktop App portal.administration.spaceTemplates=Spaces portal.administration.categoryManagement=Category +portal.administration.sections=Sections diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/navigation.xml index aff349106..602c0409d 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/navigation.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/navigation.xml @@ -187,6 +187,12 @@ fas fa-pager portal::administration::pageTemplates + + sections + + fas fa-grip-horizontal + portal::administration::sectionTemplates + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/pages.xml index 52d356750..c94098c26 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/pages.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/administration/pages.xml @@ -386,6 +386,26 @@ + + sectionTemplates + Section Templates + *:/platform/administrators,manager:/platform/web-contributors + manager:/platform/administrators + + + + + + layout + SectionTemplates + + Section Templates + + + + + + spaceTemplates Space Templates From ef1a8d602936ebbee01fe31669140f916a7b3068 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Wed, 8 Jan 2025 15:47:59 +0100 Subject: [PATCH 2/2] feat: Add Section Template Layout Editor Page - MEED-8035 - Meeds-io/MIPs#172 (#2747) --- .../navigation/portal/global_en.properties | 1 + .../conf/sites/portal/global/navigation.xml | 6 +++ .../conf/sites/portal/global/pages.xml | 51 +++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/global_en.properties b/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/global_en.properties index 39840399c..03351b8f5 100644 --- a/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/global_en.properties +++ b/webapps/plf-sites-extension/src/main/resources/locale/navigation/portal/global_en.properties @@ -43,6 +43,7 @@ portal.global.public=Overview portal.global.pageNotFound=Page Not Found portal.global.layout-editor=Layout Editor portal.global.portlet-editor=Portlet Editor +portal.global.section-editor=Section Template Editor portal.global.portlet-viewer=Portlet Viewer portal.global.organizationalChart=Organizational Chart portal.global.spaceHome=Home diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml index 5a1f0b493..bdd4cbb51 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml @@ -278,6 +278,12 @@ SYSTEM portal::global::portlet-editor + + section-editor + + SYSTEM + portal::global::section-editor + portlet-viewer diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml index 4db478c39..829c22e5e 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml @@ -2078,4 +2078,55 @@ + + section-editor + Section Template Editor + *:/platform/administrators;*:/platform/web-contributors + manager:/platform/administrators + true + true + + + + + + + + + + + social + DrawersOverlay + + Drawers Overlay + + + + + + + + + layout + SectionEditor + + Section Template Editor + + + + \ No newline at end of file