From 17386c49d44414789f2fb902b8f6048c44fa7f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 31 Oct 2018 12:21:16 -0700 Subject: [PATCH] moved new teams page --- public/app/features/all.ts | 1 + public/app/features/org/all.ts | 1 - .../{org/create_team_ctrl.ts => teams/CreateTeamCtrl.ts} | 0 public/app/features/{org => teams}/partials/create_team.html | 0 public/app/routes/routes.ts | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename public/app/features/{org/create_team_ctrl.ts => teams/CreateTeamCtrl.ts} (100%) rename public/app/features/{org => teams}/partials/create_team.html (100%) diff --git a/public/app/features/all.ts b/public/app/features/all.ts index 7f6f84b7676..d62eb8cacdc 100644 --- a/public/app/features/all.ts +++ b/public/app/features/all.ts @@ -9,3 +9,4 @@ import './admin'; import './alerting/NotificationsEditCtrl'; import './alerting/NotificationsListCtrl'; import './manage-dashboards'; +import './teams/CreateTeamCtrl'; diff --git a/public/app/features/org/all.ts b/public/app/features/org/all.ts index 1349da5effa..f87905c6b1b 100644 --- a/public/app/features/org/all.ts +++ b/public/app/features/org/all.ts @@ -3,4 +3,3 @@ import './select_org_ctrl'; import './change_password_ctrl'; import './new_org_ctrl'; import './user_invite_ctrl'; -import './create_team_ctrl'; diff --git a/public/app/features/org/create_team_ctrl.ts b/public/app/features/teams/CreateTeamCtrl.ts similarity index 100% rename from public/app/features/org/create_team_ctrl.ts rename to public/app/features/teams/CreateTeamCtrl.ts diff --git a/public/app/features/org/partials/create_team.html b/public/app/features/teams/partials/create_team.html similarity index 100% rename from public/app/features/org/partials/create_team.html rename to public/app/features/teams/partials/create_team.html diff --git a/public/app/routes/routes.ts b/public/app/routes/routes.ts index 35ecfcecc0a..7e70ac34274 100644 --- a/public/app/routes/routes.ts +++ b/public/app/routes/routes.ts @@ -167,7 +167,7 @@ export function setupAngularRoutes($routeProvider, $locationProvider) { }, }) .when('/org/teams/new', { - templateUrl: 'public/app/features/org/partials/create_team.html', + templateUrl: 'public/app/features/teams/partials/create_team.html', controller: 'CreateTeamCtrl', controllerAs: 'ctrl', })