diff --git a/awx/ui/client/features/_index.less b/awx/ui/client/features/_index.less index 59e8e4630b..04be5b31bb 100644 --- a/awx/ui/client/features/_index.less +++ b/awx/ui/client/features/_index.less @@ -1,3 +1,2 @@ -@import 'credentials/_index'; @import 'output/_index'; @import 'users/tokens/_index'; diff --git a/awx/ui/client/features/applications/list-applications.view.html b/awx/ui/client/features/applications/list-applications.view.html index 1803e5ab66..1dd96b2dc1 100644 --- a/awx/ui/client/features/applications/list-applications.view.html +++ b/awx/ui/client/features/applications/list-applications.view.html @@ -23,6 +23,7 @@ type="button" ui-sref="applications.add" class="at-Button--add" + id="button-add" aria-haspopup="true" aria-expanded="false"> diff --git a/awx/ui/client/features/credentials/_index.less b/awx/ui/client/features/credentials/_index.less deleted file mode 100644 index 87f746b2c3..0000000000 --- a/awx/ui/client/features/credentials/_index.less +++ /dev/null @@ -1,3 +0,0 @@ -.at-CredentialsPermissions { - margin-top: 50px; -} diff --git a/awx/ui/client/features/credentials/legacy.credentials.js b/awx/ui/client/features/credentials/legacy.credentials.js index 07cee1329d..27428feb7b 100644 --- a/awx/ui/client/features/credentials/legacy.credentials.js +++ b/awx/ui/client/features/credentials/legacy.credentials.js @@ -69,8 +69,8 @@ function LegacyCredentialsService () { ngClick: '$state.go(\'.add\')', label: 'Add', awToolTip: N_('Add a permission'), - actionClass: 'btn List-buttonSubmit', - buttonContent: `+ ${N_('ADD')}`, + actionClass: 'at-Button--add', + actionId: 'button-add', ngShow: '(credential_obj.summary_fields.user_capabilities.edit || canAdd)' } }, diff --git a/awx/ui/client/features/templates/templates.strings.js b/awx/ui/client/features/templates/templates.strings.js index 896cfd87bd..3bb2d38b66 100644 --- a/awx/ui/client/features/templates/templates.strings.js +++ b/awx/ui/client/features/templates/templates.strings.js @@ -10,7 +10,6 @@ function TemplatesStrings (BaseString) { ns.list = { PANEL_TITLE: t.s('TEMPLATES'), - ADD_BUTTON_LABEL: t.s('ADD'), ADD_DD_JT_LABEL: t.s('Job Template'), ADD_DD_WF_LABEL: t.s('Workflow Template'), ROW_ITEM_LABEL_ACTIVITY: t.s('Activity'), diff --git a/awx/ui/client/features/templates/templatesList.view.html b/awx/ui/client/features/templates/templatesList.view.html index e68ddef8fb..2608a04177 100644 --- a/awx/ui/client/features/templates/templatesList.view.html +++ b/awx/ui/client/features/templates/templatesList.view.html @@ -14,13 +14,11 @@