mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-24 17:53:36 -05:00
based on the user's locale. short and long date format filters adding long date format to appropriate files in doing a grep for the long date format, i found these files could instead use the londDate filter Removing short hand abbreviation for dates. We will now include the year in all our date formats updating jshint to ignore moment updating long date filter
63 lines
1.6 KiB
JavaScript
63 lines
1.6 KiB
JavaScript
/*********************************************
|
|
* Copyright (c) 2014 AnsibleWorks, Inc.
|
|
*
|
|
* LogViewerStatus.js
|
|
*
|
|
* Form definition for LogViewer.js helper
|
|
*
|
|
*/
|
|
/**
|
|
* @ngdoc function
|
|
* @name forms.function:LogViewerStatus
|
|
* @description Form definition for LogViewer.js helper
|
|
*/
|
|
|
|
export default
|
|
angular.module('LogViewerStatusDefinition', [])
|
|
.value('LogViewerStatusForm', {
|
|
|
|
name: 'status',
|
|
well: false,
|
|
|
|
fields: {
|
|
"name": {
|
|
label: "Name",
|
|
type: "text",
|
|
readonly: true,
|
|
},
|
|
"status": {
|
|
label: "Status",
|
|
type: "text",
|
|
readonly: true
|
|
},
|
|
"license_error": {
|
|
label: "License Error",
|
|
type: "text",
|
|
readonly: true
|
|
},
|
|
"started": {
|
|
label: "Started",
|
|
type: "date",
|
|
"filter": "longDate",
|
|
readonly: true
|
|
},
|
|
"finished": {
|
|
label: "Finished",
|
|
type: "date",
|
|
"filter": "longDate",
|
|
readonly: true
|
|
},
|
|
"elapsed": {
|
|
label: "Elapsed",
|
|
type: "text",
|
|
readonly: true
|
|
},
|
|
"launch_type": {
|
|
label: "Launch Type",
|
|
type: "text",
|
|
readonly: true
|
|
}
|
|
}
|
|
|
|
});
|