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