(function (document, window, $) { function deleteUser(page, id, name) { var msg = Globalize.translate('DeleteUserConfirmation').replace('{0}', name); Dashboard.confirm(msg, Globalize.translate('DeleteUser'), function (result) { if (result) { Dashboard.showLoadingMsg(); ApiClient.deleteUser(id).done(function () { loadUsers(page); }); } }); } function getUserHtml(user) { var html = ''; html += "
"; //if (user.HasConfiguredPassword) html += ''; //if (user.Configuration.IsAdministrator) html += ''; //html += "
"; //html += ""; //html += "" + Globalize.translate('Delete') + ""; //html += "