-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Configure kudos navigation and pages for administration site - E…
- Loading branch information
1 parent
0014b41
commit 5d3beed
Showing
5 changed files
with
141 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
kudos-webapps/src/main/resources/locale/navigation.portal/administration_en.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# This file is part of the Meeds project (https://meeds.io/). | ||
# Copyright (C) 2023 Meeds Association | ||
# [email protected] | ||
# This program 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 program 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 program; if not, write to the Free Software Foundation, | ||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
# | ||
portal.administration.home=Platform settings | ||
portal.administration.recognition=Recognition | ||
portal.administration.kudos=Kudos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
kudos-webapps/src/main/webapp/WEB-INF/conf/kudos/portal/portal/administration/navigation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association [email protected] | ||
This program 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 program 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 program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<node-navigation | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_6 http://www.gatein.org/xml/ns/gatein_objects_1_6" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_6"> | ||
<priority>3</priority> | ||
|
||
<page-nodes> | ||
<node> | ||
<name>home</name> | ||
<label>#{portal.administration.home}</label> | ||
<icon>fas fa-cog</icon> | ||
<node> | ||
<name>recognition</name> | ||
<label>#{portal.administration.recognition}</label> | ||
<icon>fas fa-trophy</icon> | ||
<node> | ||
<name>kudos</name> | ||
<label>#{portal.administration.kudos}</label> | ||
<icon>fas fa-award</icon> | ||
<page-reference>portal::administration::kudosAdministration</page-reference> | ||
</node> | ||
</node> | ||
</node> | ||
</page-nodes> | ||
</node-navigation> |
42 changes: 42 additions & 0 deletions
42
kudos-webapps/src/main/webapp/WEB-INF/conf/kudos/portal/portal/administration/pages.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association [email protected] | ||
This program 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 program 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 program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<page-set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.exoplatform.org/xml/ns/gatein_objects_1_8 http://www.exoplatform.org/xml/ns/gatein_objects_1_8" | ||
xmlns="http://www.exoplatform.org/xml/ns/gatein_objects_1_8"> | ||
<page> | ||
<name>kudosAdministration</name> | ||
<title>Kudo administration</title> | ||
<access-permissions>*:/platform/rewarding</access-permissions> | ||
<edit-permission>manager:/platform/rewarding</edit-permission> | ||
<container id="singlePageApplicationContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl" cssClass="singlePageApplication"> | ||
<access-permissions>*:/platform/rewarding</access-permissions> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>kudos</application-ref> | ||
<portlet-ref>KudosAdmin</portlet-ref> | ||
</portlet> | ||
<title>Kudos administration</title> | ||
<access-permissions>*:/platform/rewarding</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
</page> | ||
</page-set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters