mirror of
https://github.com/ansible/awx.git
synced 2026-07-05 05:18:02 -02:30
AC-681 simulating a disabled button for project update and inventory update. Button appears disabled, but tooltips work. On *disabled* buttons tooltip explains why it is disabled. Button is clickable, but nothing happens- just like a real disable dbutton.
This commit is contained in:
@@ -163,14 +163,16 @@ angular.module('InventorySummaryDefinition', [])
|
||||
icon: 'icon-cloud-download',
|
||||
"class": 'btn-xs btn-success',
|
||||
ngClick: 'updateGroup(\{\{ group.id \}\})',
|
||||
awToolTip: 'Perform an update on this group'
|
||||
awToolTip: "\{\{ group.update_tooltip \}\}",
|
||||
ngClass: "group.update_class"
|
||||
},
|
||||
cancel: {
|
||||
label: 'Cancel',
|
||||
icon: 'icon-minus-sign',
|
||||
ngClick: "cancelUpdate(\{\{ group.id \}\}, '\{\{ group.name \}\}')",
|
||||
"class": 'btn-danger btn-xs delete-btn',
|
||||
awToolTip: 'Cancel a running update process'
|
||||
awToolTip: "\{\{ group.cancel_tooltip \}\}",
|
||||
ngClass: "group.cancel_class"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -122,7 +122,8 @@ angular.module('ProjectsListDefinition', [])
|
||||
icon: 'icon-cloud-download',
|
||||
"class": 'btn-xs btn-success',
|
||||
ngClick: 'SCMUpdate(\{\{ project.id \}\})',
|
||||
awToolTip: 'Perform an SCM update on this project'
|
||||
awToolTip: "\{\{ project.scm_update_tooltip \}\}",
|
||||
ngClass: "project.scm_type_class"
|
||||
},
|
||||
cancel: {
|
||||
label: 'Cancel',
|
||||
|
||||
Reference in New Issue
Block a user