mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 17:07:33 -02:30
Added support for button labels and tool tips on related sets.
This commit is contained in:
@@ -162,7 +162,9 @@ angular.module('UserFormDefinition', [])
|
||||
actions: {
|
||||
add: {
|
||||
ngClick: "add('credentials')",
|
||||
icon: 'icon-plus'
|
||||
icon: 'icon-plus',
|
||||
label: 'Add',
|
||||
awToolTip: 'Add a credential for this user'
|
||||
},
|
||||
},
|
||||
|
||||
@@ -181,13 +183,15 @@ angular.module('UserFormDefinition', [])
|
||||
label: 'Edit',
|
||||
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
class: 'btn-success',
|
||||
awToolTip: 'Edit the credential'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
class: 'btn-danger',
|
||||
awToolTip: 'Delete the credential'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user