Only show external ldap settings when ?ldap query is passed for now
This commit is contained in:
@@ -461,11 +461,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-left" style="margin-top: 50px;">
|
||||
<div class="text-left" style="margin-top: 50px;" ng-show="showExternalLdap">
|
||||
<h3>External LDAP</h3>
|
||||
</div>
|
||||
|
||||
<div class="card card-large">
|
||||
<div class="card card-large" ng-show="showExternalLdap">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
angular.module('Application').controller('UsersController', ['$scope', '$location', '$timeout', 'Client', function ($scope, $location, $timeout, Client) {
|
||||
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
|
||||
|
||||
// TODO remove this later when we know with which edtion to show
|
||||
$scope.showExternalLdap = $location.search().ldap;
|
||||
|
||||
$scope.ready = false;
|
||||
$scope.users = [];
|
||||
$scope.usersById = [];
|
||||
|
||||
Reference in New Issue
Block a user