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:
Chris Houseknecht
2013-11-15 16:28:54 +00:00
parent 8448c5b4d5
commit 4b111d61c1
10 changed files with 338 additions and 57 deletions

View 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