diff --git a/digital-workplace-webapps/src/main/resources/locale/navigation/portal/mycraft_en.properties b/digital-workplace-webapps/src/main/resources/locale/navigation/portal/mycraft_en.properties new file mode 100644 index 000000000..5d6fbbd94 --- /dev/null +++ b/digital-workplace-webapps/src/main/resources/locale/navigation/portal/mycraft_en.properties @@ -0,0 +1,22 @@ +# +# 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.mycraft.drives=Personal drive +portal.mycraft.tasks=Tasks +portal.mycraft.agenda=Agenda +portal.mycraft.processes=Process \ 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 819773003..5b3d2de89 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 @@ -45,5 +45,41 @@ + + 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.mycraft.portalConfig.metadata.override:true} + + + group.configuration + description + + + + + mycraft + + + + + portal + + + ${exo.mycraft.portalConfig.metadata.importmode:insert} + + + war:/conf/digital-workplace/ + + + + + + diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/navigation.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/navigation.xml new file mode 100644 index 000000000..bdeb154f4 --- /dev/null +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/navigation.xml @@ -0,0 +1,55 @@ + + + + 3 + + + + dashboard + + fa-briefcase + DISPLAYED + portal::global::drives + + tasks + + fa-tasks + DISPLAYED + portal::global::tasks + + + agenda + + fa-calendar-alt + DISPLAYED + portal::global::agenda + + + processes + + fa-file-invoice + DISPLAYED + portal::global::processes + + + + diff --git a/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/portal.xml b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/portal.xml new file mode 100644 index 000000000..e88c90025 --- /dev/null +++ b/digital-workplace-webapps/src/main/webapp/WEB-INF/conf/digital-workplace/portal/mycraft/portal.xml @@ -0,0 +1,35 @@ + + + + mycraft + + My personal workspace + en + member:/platform/users;member:/platform/externals + manager:platform/administrators + + onDemand + 0 + + + + + true + 3 + \ 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 fa718c5e4..e0b6aa562 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 @@ -13,6 +13,7 @@ init.resources locale.navigation.portal.dw + locale.navigation.portal.mycraft portal.resource.names