Removing hardcoded name
This commit is contained in:
parent
6b96aefa21
commit
c72661a87f
|
@ -125,8 +125,7 @@ angular.module('lemur')
|
|||
};
|
||||
|
||||
$scope.populateSubjectEmail = function () {
|
||||
if($scope.authority.plugin.title.toLowerCase() === 'cloudca')
|
||||
$scope.authority.email = $scope.authority.owner;
|
||||
$scope.authority.email = $scope.authority.owner;
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<input name="organizationalUnit" ng-model="authority.organizationalUnit" placeholder="Organizational Unit" class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" ng-if="authority.plugin.title.toLowerCase()==='cloudca'"
|
||||
<div class="form-group"
|
||||
ng-class="{'has-error': dnForm.email.$invalid, 'has-success': !dnForm.$invalid&&dnForm.email.$dirty}">
|
||||
<label class="control-label col-sm-2">
|
||||
Email
|
||||
|
|
Loading…
Reference in New Issue