Repository: ranger Updated Branches: refs/heads/master 71ecc5a19 -> c6b5e845c
RANGER-2266:To make Id to ID in Audit Pages of Ranger Admin Signed-off-by: peng.jianhua <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/c6b5e845 Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/c6b5e845 Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/c6b5e845 Branch: refs/heads/master Commit: c6b5e845cbb381ed050852706e4064891c02b9f4 Parents: 71ecc5a Author: zhangqiang2 <[email protected]> Authored: Thu Oct 25 15:13:09 2018 +0800 Committer: peng.jianhua <[email protected]> Committed: Thu Nov 1 10:03:31 2018 +0800 ---------------------------------------------------------------------- .../src/main/webapp/scripts/modules/globalize/message/en.js | 6 +++--- .../src/main/webapp/scripts/views/reports/AuditLayout.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ranger/blob/c6b5e845/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js index 19cc7b4..2c0ee98 100644 --- a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js +++ b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js @@ -165,7 +165,7 @@ define(function(require) { policyStatus : 'Policy Status', httpResponseCode : 'Http Response Code', repositoryName : 'Repository Name', - agentId : 'Plugin Id', + agentId : 'Plugin ID', agentIp : 'Plugin IP', createDate : 'Export Date', attributeName : 'Attribute Name', @@ -177,12 +177,12 @@ define(function(require) { columnType : 'Column Type', accountName : 'Account Name', createdDate : 'Created Date', - sessionId : 'Session Id', + sessionId : 'Session ID', operation : 'Operation', auditType : 'Audit Type', user : 'User', actions : 'Actions', - loginId : 'Login Id', + loginId : 'Login ID', loginType : 'Login Type', ip : 'IP', userAgent : 'User Agent', http://git-wip-us.apache.org/repos/asf/ranger/blob/c6b5e845/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js ---------------------------------------------------------------------- diff --git a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js index 3da1567..fe9566c 100644 --- a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js +++ b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js @@ -420,9 +420,9 @@ define(function(require) { }, addSearchForAdminTab : function(){ var that = this; - var searchOpt = ["Audit Type", "User", "Actions", "Session Id", "Start Date", "End Date"]; + var searchOpt = ["Audit Type", "User", "Actions", "Session ID", "Start Date", "End Date"]; var serverAttrName = [{text : "Audit Type", label :"objectClassType",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.ClassTypes)}, - {text : "User", label :"owner"}, {text : "Session Id", label :"sessionId"}, + {text : "User", label :"owner"}, {text : "Session ID", label :"sessionId"}, {text : 'Start Date',label :'startDate'},{text : 'End Date',label :'endDate'}, {text : "Actions", label :"action",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAGlobals.ActionType)},]; @@ -490,8 +490,8 @@ define(function(require) { }, addSearchForLoginSessionTab : function(){ var that = this , query = '' ; - var searchOpt = ["Session Id", "Login Id", "Result", "Login Type", "IP", "User Agent", "Start Date","End Date"]; - var serverAttrName = [{text : "Session Id", label :"id"}, {text : "Login Id", label :"loginId"}, + var searchOpt = ["Session ID", "Login ID", "Result", "Login Type", "IP", "User Agent", "Start Date","End Date"]; + var serverAttrName = [{text : "Session ID", label :"id"}, {text : "Login ID", label :"loginId"}, {text : "Result", label :"authStatus",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.AuthStatus)}, {text : "Login Type", label :"authType",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.AuthType)}, {text : "IP", label :"requestIP"},{text :"User Agent", label :"requestUserAgent"},
