Use features from config object
This commit is contained in:
@@ -352,7 +352,7 @@
|
||||
<h1>Users
|
||||
<sup><a ng-href="{{ config.webServerOrigin }}/documentation/user-management/#users" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup>
|
||||
|
||||
<button class="btn btn-primary btn-outline pull-right" ng-click="useradd.show()" ng-disabled="features.userMaxCount <= allUsers.length" uib-tooltip="{{ features.userMaxCount <= allUsers.length ? 'Subscription required': '' }}" tooltip-class="long nowrap" tooltip-placement="left">
|
||||
<button class="btn btn-primary btn-outline pull-right" ng-click="useradd.show()" ng-disabled="config.features.userMaxCount <= allUsers.length" uib-tooltip="{{ config.features.userMaxCount <= allUsers.length ? 'Subscription required': '' }}" tooltip-class="long nowrap" tooltip-placement="left">
|
||||
<i class="fa fa-user-plus"></i> New User
|
||||
</button>
|
||||
</h1>
|
||||
@@ -485,11 +485,11 @@
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<div ng-hide="features.externalLdap">
|
||||
<div ng-hide="config.features.externalLdap">
|
||||
<b class="text-danger">This features is only available in the business plan.</b>
|
||||
</div>
|
||||
|
||||
<div ng-show="features.externalLdap">
|
||||
<div ng-show="config.features.externalLdap">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<span class="text-muted">Provider</span>
|
||||
|
||||
Reference in New Issue
Block a user