mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
38 lines
974 B
JavaScript
38 lines
974 B
JavaScript
/*********************************************
|
|
* Copyright (c) 2014 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',
|
|
formFieldSize: 'col-lg-10',
|
|
formLabelSize: 'col-lg-2',
|
|
|
|
fields: {
|
|
user: {
|
|
label: "Initiated by",
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
operation: {
|
|
label: 'Action',
|
|
type: 'text',
|
|
readonly: true
|
|
},
|
|
changes: {
|
|
label: 'Changes',
|
|
type: 'textarea',
|
|
ngHide: "!changes || changes =='' || changes == 'null'",
|
|
readonly: true
|
|
}
|
|
}
|
|
|
|
}); //Form
|