mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 16:37:30 -02:30
Activity stream- completed modification to Rest lib. Fixed searches on activity stream allow search by object type and object name. Improved detail modal so that more of the changes box is visible. Moved search reset button to the right. There is now only one reset button per list, not one per filter widget.
This commit is contained in:
@@ -13,6 +13,8 @@ angular.module('ActivityDetailDefinition', [])
|
||||
editTitle: 'Activity Detail',
|
||||
well: false,
|
||||
'class': 'horizontal-narrow',
|
||||
formFieldSize: 'col-lg-10',
|
||||
formLabelSize: 'col-lg-2',
|
||||
|
||||
fields: {
|
||||
timestamp: {
|
||||
@@ -20,6 +22,11 @@ angular.module('ActivityDetailDefinition', [])
|
||||
type: 'text',
|
||||
readonly: true
|
||||
},
|
||||
user: {
|
||||
label: 'Initiated By',
|
||||
type: 'text',
|
||||
readonly: true
|
||||
},
|
||||
id: {
|
||||
label: 'Event ID',
|
||||
type: 'text',
|
||||
@@ -31,7 +38,7 @@ angular.module('ActivityDetailDefinition', [])
|
||||
readonly: true
|
||||
},
|
||||
object1: {
|
||||
label: 'Object 1',
|
||||
label: 'Resource',
|
||||
type: 'text',
|
||||
ngHide: '!object1',
|
||||
readonly: true
|
||||
@@ -43,7 +50,7 @@ angular.module('ActivityDetailDefinition', [])
|
||||
readonly: true
|
||||
},
|
||||
object2: {
|
||||
label: 'Object 2',
|
||||
label: 'Related',
|
||||
type: 'text',
|
||||
ngHide: '!object2',
|
||||
readonly: true
|
||||
@@ -56,8 +63,8 @@ angular.module('ActivityDetailDefinition', [])
|
||||
},
|
||||
changes: {
|
||||
label: 'Changes',
|
||||
type: 'textarea',
|
||||
ngHide: '!changes',
|
||||
type: 'lgtextarea',
|
||||
ngHide: "!changes || changes =='' || changes == 'null'",
|
||||
readonly: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user