mirror of
https://github.com/keycloak/keycloak.git
synced 2026-04-25 16:39:42 -05:00
Merge pull request #143 from ammendonca/KEYCLOAK-127
KEYCLOAK-127: Add different message when using "View all users", since m...
This commit is contained in:
@@ -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