diff --git a/digital-workplace-webapps/src/main/resources/locale/navigation/portal/intranet_en.properties b/digital-workplace-webapps/src/main/resources/locale/navigation/portal/intranet_en.properties new file mode 100644 index 000000000..7980a6535 --- /dev/null +++ b/digital-workplace-webapps/src/main/resources/locale/navigation/portal/intranet_en.properties @@ -0,0 +1,21 @@ +# +# Copyright (C) 2023 eXo Platform SAS. +# +# This is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 3 of +# the License, or (at your option) any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this software; if not, write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA, or see the FSF site: http://www.fsf.org. +# +portal.intranet.homepage= Home Page +portal.intranet.spaces=Spaces +portal.intranet.people=People \ No newline at end of file diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal-configuration.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal-configuration.xml index 5b3d2de89..44d2da4b9 100644 --- a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal-configuration.xml +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal-configuration.xml @@ -80,6 +80,40 @@ - + + new.portal.config.user.listener + initListener + org.exoplatform.portal.config.NewPortalConfigListener + this listener init the portal configuration + + + override + The flag parameter to decide if portal metadata is overriden on restarting server + ${exo.intranet.portalConfig.metadata.override:true} + + + portal.configuration + description + + + + + intranet + + + + + portal + + + ${exo.intranet.portalConfig.metadata.importmode:insert} + + + war:/conf/digital-workplace/ + + + + + diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/navigation.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/navigation.xml new file mode 100644 index 000000000..291b1615a --- /dev/null +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/navigation.xml @@ -0,0 +1,48 @@ + + + + 3 + + + + homepage + + fa-newspaper + DISPLAYED + portal::dw::homepage + + spaces + + fa-people-arrows + DISPLAYED + portal::global::all-spaces + + + people + + fa-users + DISPLAYED + portal::global::all-people + + + + diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/portal.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/portal.xml new file mode 100644 index 000000000..ae8068894 --- /dev/null +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/intranet/portal.xml @@ -0,0 +1,35 @@ + + + + intranet + + Develop your communication with a modern intranet + en + member:/platform/users;member:/platform/externals + manager:platform/administrators + + onDemand + 0 + + + + + true + 1 + \ No newline at end of file diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/resources-bundle-configuration.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/resources-bundle-configuration.xml index e0b6aa562..385b4d8f1 100644 --- a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/resources-bundle-configuration.xml +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/resources-bundle-configuration.xml @@ -14,6 +14,7 @@ init.resources locale.navigation.portal.dw locale.navigation.portal.mycraft + locale.navigation.portal.intranet portal.resource.names