From 6adad0bc324e6e69757aa3518b97baca6f50fa47 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Mon, 30 Sep 2024 11:01:24 +0100 Subject: [PATCH] feat: Add Space Public Site Template - MEED-7537 - Meeds-io/MIPs#151 (#2439) This change will introduce the space public site template. --- .../template/spacePublic/navigation.xml | 35 ++++++++ .../portal/template/spacePublic/pages.xml | 68 +++++++++++++++ .../portal/template/spacePublic/portal.xml | 83 +++++++++++++++++++ .../conf/sites/portal-configuration.xml | 3 + 4 files changed, 189 insertions(+) create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/portal.xml diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/navigation.xml new file mode 100644 index 000000000..2bd6cfb3d --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/navigation.xml @@ -0,0 +1,35 @@ + + + + 3 + + + home + + fas fa-home + portal::@owner@::home + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/pages.xml new file mode 100644 index 000000000..42431392a --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/pages.xml @@ -0,0 +1,68 @@ + + + + + home + Home + Everyone + manager:/platform/administrators + + + + + + social-portlet + Image + + + + + + + + + social-portlet + SpaceWidgetDescription + + + + + + + social-portlet + SpaceWidgetManagers + + + + + social-portlet + SpaceWidgetMembers + + + + + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/portal.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/portal.xml new file mode 100644 index 000000000..b23f98f96 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/spacePublic/portal.xml @@ -0,0 +1,83 @@ + + + + @owner@ + false + en + + + Everyone + + Everyone + + + social-portlet + TopBarLogo + + Space Logo + Everyone + false + false + + + + *:/platform/administrators + + + layout + SiteNavigation + + Site navigation + + + + MiddleToolBar + Everyone + addonContainer + + + Everyone + + + social-portlet + TopBarLogin + + Login Button + Everyone + false + false + + + + *:/platform/users;*:/platform/externals + + + + + bottom-all-container + addonContainer + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml index a71b9d2d3..58adc7fe6 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml @@ -78,6 +78,9 @@ navigationWebsite + + spacePublic +