mirror of
https://github.com/ansible/awx.git
synced 2026-04-07 02:59:21 -02:30
AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab.
This commit is contained in:
59
awx/ui/static/js/forms/ActivityDetail.js
Normal file
59
awx/ui/static/js/forms/ActivityDetail.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*********************************************
|
||||
* Copyright (c) 2013 AnsibleWorks, Inc.
|
||||
*
|
||||
* ActivityDetail.js
|
||||
* Form definition for Activity Stream detail
|
||||
*
|
||||
*/
|
||||
angular.module('ActivityDetailDefinition', [])
|
||||
.value(
|
||||
'ActivityDetailForm', {
|
||||
|
||||
name: 'activity',
|
||||
editTitle: 'Activity Detail',
|
||||
well: false,
|
||||
'class': 'horizontal-narrow',
|
||||
|
||||
fields: {
|
||||
timestamp: {
|
||||
label: 'Time',
|
||||
type: 'text',
|
||||
readonly: true
|
||||
},
|
||||
operation: {
|
||||
label: 'Operation',
|
||||
type: 'text',
|
||||
readonly: true
|
||||
},
|
||||
object1: {
|
||||
label: 'Object 1',
|
||||
type: 'text',
|
||||
ngHide: '!object1',
|
||||
readonly: true
|
||||
},
|
||||
object1_name: {
|
||||
label: 'Name',
|
||||
type: 'text',
|
||||
ngHide: '!object1',
|
||||
readonly: true
|
||||
},
|
||||
object2: {
|
||||
label: 'Object 2',
|
||||
type: 'text',
|
||||
ngHide: '!object2',
|
||||
readonly: true
|
||||
},
|
||||
object2_name: {
|
||||
label: 'Name',
|
||||
type: 'text',
|
||||
ngHide: '!object2',
|
||||
readonly: true
|
||||
},
|
||||
changes: {
|
||||
label: 'Changes',
|
||||
type: 'textarea',
|
||||
readonly: true
|
||||
}
|
||||
}
|
||||
|
||||
}); //Form
|
||||
Reference in New Issue
Block a user