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
2290c78c
Commit
2290c78c
authored
Jul 27, 2018
by
rammula-nisum-com
Committed by
rbonthala-nisum-com
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Defects of 113 and 114 (#76)
parent
433a0ed7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
12 deletions
+13
-12
DomainController.js
src/main/webapp/WEB-INF/controllers/DomainController.js
+1
-1
ProjectController.js
src/main/webapp/WEB-INF/controllers/ProjectController.js
+2
-1
assignAccountsController.js
...in/webapp/WEB-INF/controllers/assignAccountsController.js
+2
-2
projectTeamDetails.html
src/main/webapp/WEB-INF/templates/projectTeamDetails.html
+8
-8
No files found.
src/main/webapp/WEB-INF/controllers/DomainController.js
View file @
2290c78c
...
...
@@ -171,7 +171,7 @@ myApp.controller("domainController",
'Ok'
).
cancel
(
'Cancel'
);
$mdDialog
.
show
(
confirm
).
then
(
function
()
{
deleteDomainRow
(
row
.
entity
.
domainId
);
showAlert
(
"Domain Inactived successfully"
);
showAlert
(
"Domain Inactiv
at
ed successfully"
);
},
function
()
{
console
.
log
(
"Cancelled dialog"
);
});
...
...
src/main/webapp/WEB-INF/controllers/ProjectController.js
View file @
2290c78c
...
...
@@ -299,6 +299,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
document
.
getElementsByClassName
(
"md-tab"
)[
1
].
style
.
visibility
=
"visible"
;
$scope
.
isSecondTab
=
true
;
$scope
.
selectedTab
=
1
;
$scope
.
searchTerm
=
""
;
}
};
...
...
@@ -308,6 +309,7 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
if
(
$scope
.
isSecondTab
===
true
){
$
(
'.md-select-value'
)[
0
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
1
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-select-value'
)[
2
].
childNodes
[
0
].
innerHTML
=
null
$
(
'.md-datepicker-input'
)[
0
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
1
].
value
=
null
;
$
(
'.md-datepicker-input'
)[
2
].
value
=
null
;
...
...
@@ -696,7 +698,6 @@ myApp.controller("projectController", function ($scope, myFactory, exportUiGridS
var
account
=
$scope
.
account
;
var
managerId
=
$scope
.
managerId
;
var
managerName
=
$scope
.
managerName
;
var
employeeModel
=
$scope
.
employeeModel
;
var
projectModel
=
$scope
.
projectModel
;
var
domain
=
$scope
.
domain
.
domainName
;
...
...
src/main/webapp/WEB-INF/controllers/assignAccountsController.js
View file @
2290c78c
...
...
@@ -90,7 +90,7 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
$
(
'#home'
).
addClass
(
'md-scroll-mask'
);
var
confirm
=
$mdDialog
.
confirm
()
.
clickOutsideToClose
(
true
)
.
textContent
(
'Are you sure you want to
delet
e this account?'
)
.
textContent
(
'Are you sure you want to
inactiv
e this account?'
)
.
ok
(
'Ok'
)
.
cancel
(
'Cancel'
);
$mdDialog
.
show
(
confirm
).
then
(
function
()
{
...
...
@@ -114,7 +114,7 @@ myApp.controller("assignAccountsController",function($scope, myFactory, $mdDialo
function
updateGridAfterDelete
(){
if
(
$scope
.
result
==
"Success"
){
$scope
.
refreshPage
();
showAlert
(
'Account
dele
ted successfully'
);
showAlert
(
'Account
is inactiva
ted successfully'
);
}
else
if
(
$scope
.
result
==
"Error"
){
showAlert
(
'Something went wrong while deleting the account.'
)
}
...
...
src/main/webapp/WEB-INF/templates/projectTeamDetails.html
View file @
2290c78c
...
...
@@ -28,7 +28,7 @@
</div>
<div
class=
"col-xs-6 text-right "
>
<p>
<b>
Manager Name:
</b><p><span
ng-repeat=
"x in managerIds"
>
{{x.name}}
<br></span></p
>
<b>
Manager Name:
</b><span
ng-repeat=
"manager in managerIds"
>
{{manager.employeeName}}
<span
ng-hide=
"$last"
>
,
</span></span
>
</p>
</div>
...
...
@@ -66,7 +66,7 @@
</div>
<div
class=
"col-xs-6 text-center "
>
<p>
<b>
Manager Name:
</b><p><span
ng-repeat=
"x in managerIds"
>
{{x.name}}
<br></span></p
>
<b>
Manager Name:
</b><span
ng-repeat=
"manager in managerIds"
>
{{manager.employeeName}}
<span
ng-hide=
"$last"
>
,
</span></span
>
</p>
</div>
</div>
...
...
@@ -86,12 +86,12 @@
<output>
Role : {{employeeModel.role}}
</output>
<output>
Designation : {{employeeModel.designation}}
</output>
<md-select
ng-model=
"employeeRole"
md-selected-text=
"getSelectedEmpRole()"
id=
"empRole"
>
<md-optgroup
label=
"employee role"
>
<md-option
ng-value=
"empRole"
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
</md-optgroup>
</md-select>
md-selected-text=
"getSelectedEmpRole()"
id=
"empRole"
>
<md-optgroup
label=
"employee role"
>
<md-option
ng-value=
"empRole"
ng-repeat=
"empRole in employeeRoles"
>
{{empRole}}
</md-option>
</md-optgroup>
</md-select>
<md-select
ng-model=
"empBillableStatus "
md-selected-text=
"getSelectedBillableStatus() "
id=
"empBillableStatus"
name=
"empBillableStatus"
>
<md-optgroup
label=
"billable statuses "
>
...
...
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