mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
added refresh button to inventory group/host page for when user is not in live mode (websockets disabled)
This commit is contained in:
@@ -78,6 +78,12 @@ angular.module('InventoryGroupsDefinition', [])
|
|||||||
awToolTip: "Edit inventory properties",
|
awToolTip: "Edit inventory properties",
|
||||||
ngClick: 'editInventoryProperties()'
|
ngClick: 'editInventoryProperties()'
|
||||||
},
|
},
|
||||||
|
refresh: {
|
||||||
|
mode: 'all',
|
||||||
|
awToolTip: "Refresh the page",
|
||||||
|
ngClick: "refreshGroups()",
|
||||||
|
ngShow: "socketStatus == 'error'"
|
||||||
|
},
|
||||||
stream: {
|
stream: {
|
||||||
ngClick: "showGroupActivity()",
|
ngClick: "showGroupActivity()",
|
||||||
awToolTip: "View Activity Stream",
|
awToolTip: "View Activity Stream",
|
||||||
|
|||||||
@@ -98,6 +98,12 @@ angular.module('InventoryHostsDefinition', [])
|
|||||||
ngHide: '!selected_group_id', //disable when 'All Hosts' selected
|
ngHide: '!selected_group_id', //disable when 'All Hosts' selected
|
||||||
awToolTip: "Create a new host"
|
awToolTip: "Create a new host"
|
||||||
},
|
},
|
||||||
|
refresh: {
|
||||||
|
mode: 'all',
|
||||||
|
awToolTip: "Refresh the page",
|
||||||
|
ngClick: "refreshGroups()",
|
||||||
|
ngShow: "socketStatus == 'error'"
|
||||||
|
},
|
||||||
stream: {
|
stream: {
|
||||||
ngClick: "showHostActivity()",
|
ngClick: "showHostActivity()",
|
||||||
awToolTip: "View Activity Stream",
|
awToolTip: "View Activity Stream",
|
||||||
|
|||||||
Reference in New Issue
Block a user