Skip to content

Commit

Permalink
Merge Admin dashboard - Meeds-io/MIPs#177 (#2919)
Browse files Browse the repository at this point in the history
This change will add the admin dashboard - Resolves Meeds-io/MIPs#177
  • Loading branch information
MayTekayaa authored Feb 7, 2025
2 parents 9f8d471 + 203d6ef commit 6a1fe73
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ portal.administration.groups=Groups
portal.administration.profile=Profile
portal.administration.spaces=Spaces
portal.administration.mainsettings=Appearance
portal.administration.platformaccess=Access
portal.administration.notification=Notifications
portal.administration.wallet=Wallets
portal.administration.reward=Meeds Rewards
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,56 @@
</object-param>
</init-params>
</component-plugin>
<component-plugin profiles="layout">
<name>AdministrationPageHomeSettingsUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
<value-param>
<name>product.group.id</name>
<value>org.exoplatform.social</value>
</value-param>
<value-param>
<name>plugin.execution.order</name>
<value>130</value>
</value-param>
<value-param>
<name>plugin.upgrade.execute.once</name>
<value>true</value>
</value-param>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
<object-param>
<name>Administration.home.upgrade</name>
<object type="io.meeds.social.upgrade.model.LayoutUpgrade">
<field name="updateNavigation">
<boolean>true</boolean>
</field>
<field name="updatePageLayout">
<boolean>true</boolean>
</field>
<field name="configPath">
<string>war:/conf/sites/</string>
</field>
<field name="portalType">
<string>portal</string>
</field>
<field name="portalName">
<string>administration</string>
</field>
<field name="pageNames">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>home</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>AdministrationSitePortalConfigUpgrade</name>
<set-method>addUpgradePlugin</set-method>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,24 @@
<node>
<name>home</name>
<label>#{portal.administration.home}</label>
<icon>fas fa-cog</icon>
<icon>fas fa-rocket</icon>
<page-reference>portal::administration::home</page-reference>
<node>
<name>general</name>
<label>#{portal.administration.general}</label>
<icon>fas fa-cog</icon>
<node>
<name>mainsettings</name>
<label>#{portal.administration.mainsettings}</label>
<icon>fas fa-cogs</icon>
<icon>fas fa-palette</icon>
<page-reference>portal::administration::generalSettings</page-reference>
</node>
<node>
<name>platformaccess</name>
<label>#{portal.administration.platformaccess}</label>
<icon>fas fa-door-open</icon>
<page-reference>portal::administration::platformAccess</page-reference>
</node>
<node>
<name>notification</name>
<label>#{portal.administration.notification}</label>
Expand Down
Loading

0 comments on commit 6a1fe73

Please sign in to comment.