Skip to content

Commit

Permalink
feat: Define Actions page and further applications in Public site hom…
Browse files Browse the repository at this point in the history
…e - MEED-2811 - Meeds-io/MIPs#100 (#1226)

This change will introduce the actions new page and will add Programs
and actions widgets to the main public page.
  • Loading branch information
boubaker authored Oct 27, 2023
1 parent 0af7418 commit f6b91fd
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
portal.public.overview=Overview
portal.public.actions=Actions
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
<node>
<name>overview</name>
<label>#{portal.public.overview}</label>
<icon>fas fa-trophy</icon>
<page-reference>portal::public::overview</page-reference>
<node>
<name>actions</name>
<label>#{portal.public.actions}</label>
<page-reference>portal::public::actions</page-reference>
</node>
</node>
</page-nodes>
</node-navigation>
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,81 @@
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container
template="system:/groovy/portal/webui/container/UIVRowContainer.gtmpl"
cssClass="mb-5">
<access-permissions>Everyone</access-permissions>
<container
id="TopChallengersContainer"
template="system:/groovy/portal/webui/container/UIVColContainer.gtmpl"
cssClass="col col-sm-12 col-md-6 col-lg-4">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>gamification-portlets</application-ref>
<portlet-ref>topChallengers</portlet-ref>
</portlet>
<title>Top Challengers</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
</container>
<container
id="ChanllengesOverviewContainer"
template="system:/groovy/portal/webui/container/UIVColContainer.gtmpl"
cssClass="col col-sm-12 col-md-6 col-lg-4">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>gamification-portlets</application-ref>
<portlet-ref>challengesOverview</portlet-ref>
</portlet>
<title>Challenges Overview</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
</container>
<container
id="ProgramsOverviewContainer"
template="system:/groovy/portal/webui/container/UIVColContainer.gtmpl"
cssClass="col col-sm-12 col-md-6 col-lg-4">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>gamification-portlets</application-ref>
<portlet-ref>programsOverview</portlet-ref>
</portlet>
<title>Programs Overview</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
</container>
</container>
</container>
</container>
</page>

<page>
<name>actions</name>
<title>Contribution Center - Actions</title>
<access-permissions>Everyone</access-permissions>
<edit-permission>*:/platform/administrators</edit-permission>
<hide-shared-layout>true</hide-shared-layout>
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="singlePageApplication">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>gamification-portlets</application-ref>
<portlet-ref>EngagementCenterActions</portlet-ref>
</portlet>
<title>Gamification Actions</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
</page>

</page-set>

0 comments on commit f6b91fd

Please sign in to comment.