mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-16 07:48:38 -05:00
Fix add button display property and add tooltips
* Add tooltips to list add buttons of instance groups, instances, and applications.
This commit is contained in:
@@ -16,6 +16,10 @@ function ApplicationsStrings (BaseString) {
|
||||
USERS: t.s('Tokens')
|
||||
};
|
||||
|
||||
ns.tooltips = {
|
||||
ADD: t.s('Create a new Application')
|
||||
};
|
||||
|
||||
ns.add = {
|
||||
PANEL_TITLE: t.s('NEW APPLICATION')
|
||||
};
|
||||
|
||||
@@ -38,6 +38,10 @@ function ListApplicationsController (
|
||||
vm.applicationsCount = dataset.count;
|
||||
});
|
||||
|
||||
vm.tooltips = {
|
||||
add: strings.get('tooltips.ADD')
|
||||
};
|
||||
|
||||
vm.getModified = app => {
|
||||
const modified = _.get(app, 'modified');
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
ui-sref="applications.add"
|
||||
class="at-Button--add"
|
||||
id="button-add"
|
||||
aw-tool-tip="{{vm.tooltips.add}}"
|
||||
data-placement="top"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user