Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Narendar Vakiti
mytime
Commits
00d149ce
Unverified
Commit
00d149ce
authored
Aug 08, 2018
by
mshaik-nisum-com
Committed by
GitHub
Aug 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #137 from nisum-inc/FEATURE/BENCH_UI_CHANGES
Disabling Add button and actions column in Bench project
parents
7047b86e
c4d06383
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
build.gradle
build.gradle
+1
-1
ProjectController.js
src/main/webapp/WEB-INF/controllers/ProjectController.js
+5
-0
No files found.
build.gradle
View file @
00d149ce
...
@@ -20,7 +20,7 @@ apply plugin: "org.sonarqube"
...
@@ -20,7 +20,7 @@ apply plugin: "org.sonarqube"
war
{
war
{
dependsOn
test
dependsOn
test
baseName
=
'myT
ime
'
baseName
=
'myT
eam
'
version
=
''
version
=
''
}
}
...
...
src/main/webapp/WEB-INF/controllers/ProjectController.js
View file @
00d149ce
...
@@ -513,6 +513,8 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
...
@@ -513,6 +513,8 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
'projectId'
:
dataToPass
.
projectId
'projectId'
:
dataToPass
.
projectId
};
};
$scope
.
status
=
"Active"
;
$scope
.
status
=
"Active"
;
$scope
.
isSecondTab
=
(
$scope
.
projectId
==
'Nisum0000'
);
var
employeeModel
=
$scope
.
employeeModel
;
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>'
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>'
//' <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>';
//' <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
...
@@ -537,6 +539,9 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
]
]
};
};
$scope
.
isDisabled
=
true
;
$scope
.
isDisabled
=
true
;
if
(
$scope
.
isSecondTab
){
$scope
.
gridOptions
.
columnDefs
[
5
].
visible
=
false
;
}
$http
({
$http
({
method
:
"GET"
,
method
:
"GET"
,
url
:
appConfig
.
appUri
+
"/projectTeam/getProjectDetails?projectId="
+
$scope
.
projectId
+
"&status="
+
$scope
.
status
url
:
appConfig
.
appUri
+
"/projectTeam/getProjectDetails?projectId="
+
$scope
.
projectId
+
"&status="
+
$scope
.
status
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment