diff --git a/awx/ui/client/features/credentials/legacy.credentials.js b/awx/ui/client/features/credentials/legacy.credentials.js index cb1bd1625d..6707272201 100644 --- a/awx/ui/client/features/credentials/legacy.credentials.js +++ b/awx/ui/client/features/credentials/legacy.credentials.js @@ -70,7 +70,7 @@ function LegacyCredentialsService () { label: N_('Add'), awToolTip: N_('Add a permission'), actionClass: 'at-Button--add', - actionId: 'button-add', + actionId: 'button-add--permission', ngShow: '(credential_obj.summary_fields.user_capabilities.edit || canAdd)' } }, diff --git a/awx/ui/client/features/templates/index.view.html b/awx/ui/client/features/templates/index.view.html index 7812dcaa29..90cab8f608 100644 --- a/awx/ui/client/features/templates/index.view.html +++ b/awx/ui/client/features/templates/index.view.html @@ -1,6 +1,6 @@
- +
- diff --git a/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html b/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html index a787c73077..7f594d599d 100644 --- a/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html +++ b/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html @@ -79,13 +79,13 @@
- - -
diff --git a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js index 3999bc9578..dd4702379a 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js @@ -114,7 +114,7 @@ export default ['i18n', function(i18n) { ngClick: "$state.go('.add')", awToolTip: i18n._('Add a permission'), actionClass: 'at-Button--add', - actionId: 'button-add', + actionId: 'button-add--permission', ngShow: '(inventory_obj.summary_fields.user_capabilities.edit || canAdd)' } diff --git a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js index 3cf7629f1d..f093a525f0 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js @@ -111,7 +111,7 @@ function(i18n) { ngClick: "$state.go('.add')", awToolTip: i18n._('Add a permission'), actionClass: 'at-Button--add', - actionId: 'button-add', + actionId: 'button-add--permission', ngShow: '(inventory_obj.summary_fields.user_capabilities.edit || canAdd)' } diff --git a/awx/ui/client/src/management-jobs/scheduler/schedulerForm.partial.html b/awx/ui/client/src/management-jobs/scheduler/schedulerForm.partial.html index 48c9ab58fb..258ce6cc4a 100644 --- a/awx/ui/client/src/management-jobs/scheduler/schedulerForm.partial.html +++ b/awx/ui/client/src/management-jobs/scheduler/schedulerForm.partial.html @@ -617,19 +617,19 @@
- +
diff --git a/awx/ui/client/src/projects/projects.form.js b/awx/ui/client/src/projects/projects.form.js index 7644dd6a69..13ef01d2f0 100644 --- a/awx/ui/client/src/projects/projects.form.js +++ b/awx/ui/client/src/projects/projects.form.js @@ -285,7 +285,7 @@ export default ['i18n', 'NotificationsList', 'TemplateList', label: i18n._('Add'), awToolTip: i18n._('Add a permission'), actionClass: 'at-Button--add', - actionId: 'button-add', + actionId: 'button-add--permission', ngShow: '(project_obj.summary_fields.user_capabilities.edit || canAdd)' } }, diff --git a/awx/ui/client/src/scheduler/schedulerForm.partial.html b/awx/ui/client/src/scheduler/schedulerForm.partial.html index 444122f821..068851e533 100644 --- a/awx/ui/client/src/scheduler/schedulerForm.partial.html +++ b/awx/ui/client/src/scheduler/schedulerForm.partial.html @@ -667,7 +667,7 @@ ng-click="prompt()">{{ strings.get('form.PROMPT') }}