Disabling Add button and actions column in Bench project

parent 7047b86e
......@@ -20,7 +20,7 @@ apply plugin: "org.sonarqube"
war {
dependsOn test
baseName = 'myTime'
baseName = 'myTeam'
version = ''
}
......
......@@ -513,6 +513,8 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
'projectId': dataToPass.projectId
};
$scope.status = "Active";
$scope.isSecondTab = ($scope.projectId == 'Nisum0000');
var employeeModel = $scope.employeeModel;
var getCellTemplate1 = '<p class="col-md-6 col-md-offset-3"><i class="fa fa-pencil-square-o fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.getRowData(row,\'UpdateTeam\')"></i><p>'
//'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-minus-circle fa-2x" aria-hidden="true" style="font-size:1.5em;margin-top:3px;cursor:pointer;" ng-click="grid.appScope.getRowData(row,\'Delete\')"></i></p>';
......@@ -537,6 +539,9 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
]
};
$scope.isDisabled = true;
if($scope.isSecondTab){
$scope.gridOptions.columnDefs[5].visible = false;
}
$http({
method: "GET",
url: appConfig.appUri + "/projectTeam/getProjectDetails?projectId=" + $scope.projectId + "&status=" + $scope.status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment