You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2016/08/18 10:29:38 UTC
[02/50] [abbrv] ambari git commit: AMBARI-18133. Error message
displays mesage key instead of actual message (alexantonenko)
AMBARI-18133. Error message displays mesage key instead of actual message (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/43bc5966
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/43bc5966
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/43bc5966
Branch: refs/heads/branch-dev-logsearch
Commit: 43bc59665028cdab8a4895f478c5a75957064059
Parents: 0ed2406
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Aug 15 12:12:51 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Aug 15 12:13:03 2016 +0300
----------------------------------------------------------------------
.../ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/43bc5966/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
index 3beb42a..f7ed7ee 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/users/UsersShowCtrl.js
@@ -73,7 +73,7 @@ angular.module('ambariAdminConsole')
// Add user to groups
angular.forEach(diff.add, function(groupName) {
promises.push(Group.addMemberToGroup(groupName, $scope.user.user_name).catch(function(data) {
- Alert.error($t('users.alert.cannotAddUser'), data.data.message);
+ Alert.error($t('users.alerts.cannotAddUser'), data.data.message);
}));
});
$q.all(promises).then(function() {