ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-18133. Error message displays mesage key instead of actual message (alexantonenko)
Date Mon, 15 Aug 2016 09:13:51 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 9515538ce -> cb95f045d


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/cb95f045
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cb95f045
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cb95f045

Branch: refs/heads/branch-2.4
Commit: cb95f045db3eab06e6801693a7a5b2b5ecd21dc9
Parents: 9515538
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Aug 15 12:12:51 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Aug 15 12:13:48 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/cb95f045/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() {


Mime
View raw message