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
a45fb0c4
Unverified
Commit
a45fb0c4
authored
Aug 01, 2018
by
rsayannagari-nisum-com
Committed by
GitHub
Aug 01, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #97 from nisum-inc/Issues_in_Domain_module
issues in domain module
parents
d19e7bde
232192dc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
DomainController.js
src/main/webapp/WEB-INF/controllers/DomainController.js
+12
-3
default-styles.css
src/main/webapp/WEB-INF/css/default-styles.css
+3
-0
newDomain.html
src/main/webapp/WEB-INF/templates/newDomain.html
+1
-1
No files found.
src/main/webapp/WEB-INF/controllers/DomainController.js
View file @
a45fb0c4
...
...
@@ -243,11 +243,20 @@ myApp.controller("domainController",
}
$scope
.
accounts
=
getActiveAccounts
();
$scope
.
getSelectedText
=
function
()
{
if
(
$scope
.
employeeModel
!==
undefined
)
{
return
null
;
if
(
$scope
.
employeeModel
!=
undefined
)
{
if
(
$scope
.
employeeModel
.
length
<=
0
){
return
"Please select a Delivery Lead"
;
}
return
"Employees selected ---> "
+
$scope
.
employeeModel
.
length
;
}
else
{
return
"Please select a Delivery Head"
;
return
"Please select a Delivery Lead"
;
}
}
$scope
.
persistSelections
=
function
(
objModel
)
{
$scope
.
selectedEmployeeNames
=
[];
objModel
.
forEach
(
function
(
obj
)
{
$scope
.
selectedEmployeeNames
.
push
(
obj
.
employeeName
);
});
}
$scope
.
getAccountText
=
function
()
{
...
...
src/main/webapp/WEB-INF/css/default-styles.css
View file @
a45fb0c4
...
...
@@ -213,3 +213,6 @@ md-dialog{
md-select
{
margin
:
10px
0
6px
!important
;
}
.form-control
{
text-transform
:
capitalize
;
}
\ No newline at end of file
src/main/webapp/WEB-INF/templates/newDomain.html
View file @
a45fb0c4
...
...
@@ -54,7 +54,7 @@
style=
"display: block; float: left; width: 100%;"
>
<md-select
class=
"lead-search"
ng-model=
"employeeModel"
data-md-container-class=
"selectHeader"
md-selected-text=
"getSelectedText()"
id=
"selectDeliveryLeads"
md-selected-text=
"getSelectedText()"
ng-change=
"persistSelections(employeeModel)"
id=
"selectDeliveryLeads"
multiple
>
<md-select-header
class=
"selectHeaderChild header-spacing"
layout=
"column"
>
<input
ng-model=
"searchTerm"
type=
"search"
...
...
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