You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/08/15 09:13:07 UTC

ambari git commit: AMBARI-18133. Error message displays mesage key instead of actual message (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 0ed240673 -> 43bc59665


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/trunk
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() {