KEYCLOAK-127: Add different message when using "View all users", since modifying the query won't help.
This commit is contained in:
1 parent
e17c7c2c1b
commit
69b25407b1
2 files changed
+3
-1
No files matched your search
@@ -129,6 +129,7 @@ module.controller('UserListCtrl', function($scope, realm, User) {
|
||||
|
||||
$scope.users = User.query(params, function() {
|
||||
$scope.searchLoaded = true;
|
||||
$scope.lastSearch = params.search;
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="feedback warning inline" data-ng-show="searchLoaded && users.length == 0">
|
||||
<p><strong>Your search returned no results.</strong><br>Try modifying the query and try again.</p>
|
||||
<p data-ng-show="lastSearch != null"><strong>Your search returned no results.</strong><br>Try modifying the query and try again.</p>
|
||||
<p data-ng-show="lastSearch == null"><strong>No users present.</strong><br>Create some using the "Add User" button.</p>
|
||||
</div>
|
||||
<div class="feedback info inline" data-ng-show="!users">
|
||||
<br/>
|
||||
|
||||
Reference in new issue
Block a user