manage external ids

This commit is contained in:
Kyle Spearrin 2017-05-15 14:42:24 -04:00
parent 6bda5d5983
commit 933cbb72aa
4 changed files with 15 additions and 4 deletions

View File

@ -59,7 +59,8 @@
$scope.submit = function (model) { $scope.submit = function (model) {
var group = { var group = {
name: model.name, name: model.name,
accessAll: !!model.accessAll accessAll: !!model.accessAll,
externalId: model.externalId
}; };
if (!group.accessAll) { if (!group.accessAll) {

View File

@ -14,6 +14,7 @@
$scope.group = { $scope.group = {
id: id, id: id,
name: group.Name, name: group.Name,
externalId: group.ExternalId,
accessAll: group.AccessAll accessAll: group.AccessAll
}; };
@ -78,7 +79,8 @@
$scope.submit = function () { $scope.submit = function () {
var group = { var group = {
name: $scope.group.name, name: $scope.group.name,
accessAll: !!$scope.group.accessAll accessAll: !!$scope.group.accessAll,
externalId: $scope.group.externalId
}; };
if (!group.accessAll) { if (!group.accessAll) {

View File

@ -18,9 +18,13 @@
</ul> </ul>
</div> </div>
<div class="form-group" show-errors> <div class="form-group" show-errors>
<label for="email">Name</label> <label for="name">Name</label>
<input type="text" id="name" name="Name" ng-model="model.name" class="form-control" required api-field /> <input type="text" id="name" name="Name" ng-model="model.name" class="form-control" required api-field />
</div> </div>
<div class="form-group" show-errors>
<label for="externalId">External Id</label>
<input type="text" id="externalId" name="ExternalId" ng-model="model.externalId" class="form-control" api-field />
</div>
<h4>Access</h4> <h4>Access</h4>
<div class="radio"> <div class="radio">
<label> <label>

View File

@ -18,9 +18,13 @@
</ul> </ul>
</div> </div>
<div class="form-group" show-errors> <div class="form-group" show-errors>
<label for="email">Name</label> <label for="name">Name</label>
<input type="text" id="name" name="Name" ng-model="group.name" class="form-control" required api-field /> <input type="text" id="name" name="Name" ng-model="group.name" class="form-control" required api-field />
</div> </div>
<div class="form-group" show-errors>
<label for="externalId">External Id</label>
<input type="text" id="externalId" name="ExternalId" ng-model="group.externalId" class="form-control" api-field />
</div>
<h4>Access</h4> <h4>Access</h4>
<div class="radio"> <div class="radio">
<label> <label>