From 47e045e9fe26b24475580b06f538cb761ca485b2 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 6 Apr 2015 11:44:15 -0400 Subject: [PATCH] update permission list command language --- awx/ui/static/js/controllers/Permissions.js | 2 +- awx/ui/static/js/controllers/Users.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/controllers/Permissions.js b/awx/ui/static/js/controllers/Permissions.js index d5e149a1a2..edfd176a2c 100644 --- a/awx/ui/static/js/controllers/Permissions.js +++ b/awx/ui/static/js/controllers/Permissions.js @@ -68,7 +68,7 @@ export function PermissionsList($scope, $rootScope, $location, $log, $routeParam // if the permission includes adhoc (and is not admin), display that $scope.getPermissionText = function () { if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) { - return this.permission.permission_type + " + ad hoc"; + return this.permission.permission_type + " + run commands"; } else { return this.permission.permission_type; } diff --git a/awx/ui/static/js/controllers/Users.js b/awx/ui/static/js/controllers/Users.js index 65e9034de6..e26e05567c 100644 --- a/awx/ui/static/js/controllers/Users.js +++ b/awx/ui/static/js/controllers/Users.js @@ -297,7 +297,7 @@ export function UsersEdit($scope, $rootScope, $compile, $location, $log, $routeP // if the permission includes adhoc (and is not admin), display that $scope.getPermissionText = function () { if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) { - return this.permission.permission_type + " + ad hoc"; + return this.permission.permission_type + " + run commands"; } else { return this.permission.permission_type; }