You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by me...@apache.org on 2018/12/19 12:00:39 UTC

[ranger] 16/36: RANGER-2266:To make Id to ID in Audit Pages of Ranger Admin

This is an automated email from the ASF dual-hosted git repository.

mehul pushed a commit to branch ranger-1.2
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 77464c1e6dcaf2f49332d5b0e002869b68f5cbc1
Author: zhangqiang2 <zh...@zte.com.cn>
AuthorDate: Thu Oct 25 15:13:09 2018 +0800

    RANGER-2266:To make Id to ID in Audit Pages of Ranger Admin
    
    Signed-off-by: peng.jianhua <pe...@zte.com.cn>
---
 .../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(-)

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',
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"},