Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
MUMUP-2487 : add in user-settings for ajsp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Levett committed Apr 22, 2016
1 parent eef9311 commit 20465bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions angularjs-portal-home/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<url-pattern>/apps/*</url-pattern>
<url-pattern>/features</url-pattern>
<url-pattern>/settings/*</url-pattern>
<url-pattern>user-settings</url-pattern>
<url-pattern>/notifications</url-pattern>
<url-pattern>/static/*</url-pattern>
<url-pattern>/exclusive/*</url-pattern>
Expand Down
3 changes: 2 additions & 1 deletion angularjs-portal-home/src/main/webapp/js/override.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ define(['angular'], function(angular) {
'expanded' : true,
'isWeb' : true,
'defaultTheme' : 'group',
'debug' : true
'debug' : true,
'showUserSettingsPage' : true
},
'FEATURES' : {
enabled: true
Expand Down
7 changes: 4 additions & 3 deletions angularjs-portal-home/src/main/webapp/my-app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ define([
'./marketplace/routes',
'./layout/list/route',
'portal/notifications/route',
'portal/settings/route',
'portal/settings/routes',
'portal/features/route',
'portal/about/route',
'./layout/route',
Expand All @@ -29,7 +29,7 @@ define([
'./marketplace/services',
'./search/controllers',
'./search/services'
], function(angular, require, marketplaceRoutes, listRoute, notificationsRoute, portalSettingsRoute, featuresRoute, aboutRoute, layoutRoute, staticRoutes, widgetRoutes, searchRoutes) {
], function(angular, require, marketplaceRoutes, listRoute, notificationsRoute, portalSettingsRoutes, featuresRoute, aboutRoute, layoutRoute, staticRoutes, widgetRoutes, searchRoutes) {

var app = angular.module('my-app', [
'app-config',
Expand Down Expand Up @@ -63,7 +63,8 @@ define([
when('/compact', listRoute).
when('/expanded', widgetRoutes.widgetView).
when('/notifications', notificationsRoute).
when('/settings', portalSettingsRoute).
when('/settings', portalSettingsRoutes.betaSettings).
when('/user-settings', portalSettingsRoutes.userSettings).
when('/features', featuresRoute).
when('/static/:fname', staticRoutes.staticMax).
when('/exclusive/:fname', staticRoutes.exclusiveMax).
Expand Down

0 comments on commit 20465bf

Please sign in to comment.