Merge "Add time column in events page"
This commit is contained in:
commit
5a1d1eb218
@ -274,13 +274,15 @@
|
||||
"Event type",
|
||||
"Output",
|
||||
"Host name",
|
||||
"Service"
|
||||
"Service",
|
||||
"Time"
|
||||
],
|
||||
"name": [
|
||||
"status_event_event_type",
|
||||
"status_event_output",
|
||||
"status_event_host_name",
|
||||
"status_event_service"
|
||||
"status_event_service",
|
||||
"status_event_time"
|
||||
]
|
||||
},
|
||||
"inputSource": {
|
||||
|
@ -0,0 +1,3 @@
|
||||
<td class="data-table__time">
|
||||
<time class="data-table__data">{{entry.time}}</time>
|
||||
</td>
|
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('bansho.table.cell_status_event_time', ['bansho.table'])
|
||||
|
||||
.controller('CellStatusEventTime', [function () {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.run(['tableGlobalConfig', function (tableGlobalConfig) {
|
||||
tableGlobalConfig.cellToFieldsMap.status_time = ['time'];
|
||||
}]);
|
@ -74,6 +74,7 @@
|
||||
<script src="components/table/cell_status_event_output/cell_status_event_output.js"></script>
|
||||
<script src="components/table/cell_status_event_host_name/cell_status_event_host_name.js"></script>
|
||||
<script src="components/table/cell_status_event_service/cell_status_event_service.js"></script>
|
||||
<script src="components/table/cell_status_event_time/cell_status_event_time.js"></script>
|
||||
|
||||
<script src="components/table/cell_status_host/cell_status_host.js"></script>
|
||||
<script src="components/table/cell_status_last_check/cell_status_last_check.js"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user