This is an automated email from the ASF dual-hosted git repository. nju_yaho pushed a commit to tag ebay-3.1.0-release-20200701 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 7e00a6a0ac9dc04698394e8f4cd3f874b346425c Author: Zhong, Yanghong <nju_y...@apache.org> AuthorDate: Mon Jun 29 13:31:25 2020 +0800 EBAY-KYLIN-1381 Add google doc for cube migration request --- webapp/app/js/controllers/cubes.js | 2 ++ webapp/app/partials/cubes/cube_migrate.html | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/webapp/app/js/controllers/cubes.js b/webapp/app/js/controllers/cubes.js index af529fd..4beb66d 100644 --- a/webapp/app/js/controllers/cubes.js +++ b/webapp/app/js/controllers/cubes.js @@ -1164,6 +1164,7 @@ var cubeMigrateCtrl = function ($scope, $modalInstance, CubeService, cube, Proje $scope.migrate={ targetProject: ProjectModel.selectedProject, cubeValidate: true, + googleDoc: false, lockProjectName: false } @@ -1179,6 +1180,7 @@ var cubeMigrateCtrl = function ($scope, $modalInstance, CubeService, cube, Proje CubeService.ruleCheck({cubeId: cube.name, projectName: $scope.migrate.targetProject}, function(result) { loadingRequest.hide(); $scope.migrate.cubeValidate = false; + $scope.migrate.googleDoc = true; $scope.migrate.lockProjectName = true; if (result.length > 0) { SweetAlert.swal('Attention', result, 'warning'); diff --git a/webapp/app/partials/cubes/cube_migrate.html b/webapp/app/partials/cubes/cube_migrate.html index 51b0900..d182c5f 100644 --- a/webapp/app/partials/cubes/cube_migrate.html +++ b/webapp/app/partials/cubes/cube_migrate.html @@ -39,6 +39,14 @@ <br/> <button style="height:40px;width:150px;" class="btn btn-info" ng-click="validate()">Validate</button> </div> + <div ng-show="migrate.googleDoc" class="form-group"> + <b>Business Justification:</b> + <br/> + <a href="https://docs.google.com/a/ebay.com/forms/d/e/1FAIpQLSegYgCFpsbFsIZi5TxLs2rJtkNXP-92bTZQIzD-aHPjiKsKYQ/viewform" target="_blank"><input type="button" style="height:40px;width:150px;" class="btn btn-info" value="Open google form"></a> + <div> + <input type="checkbox" ng-model="checked">I acknowledge I have submitted google form for onboard approval.</input> + </div> + </div> </div> </div> </div>