Update notification logs table
This commit is contained in:
@@ -31,18 +31,18 @@ notification_log_table_options = {
|
||||
},
|
||||
{
|
||||
"targets": [1],
|
||||
"data": "agent_name",
|
||||
"data": "notifier_id",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"width": "7%",
|
||||
"width": "5%",
|
||||
"className": "no-wrap"
|
||||
},
|
||||
{
|
||||
"targets": [2],
|
||||
"data": "notify_action",
|
||||
"data": "agent_name",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
@@ -53,33 +53,34 @@ notification_log_table_options = {
|
||||
},
|
||||
{
|
||||
"targets": [3],
|
||||
"data": "notify_action",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"width": "5%",
|
||||
"className": "no-wrap"
|
||||
},
|
||||
{
|
||||
"targets": [4],
|
||||
"data": "subject_text",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"width": "20%"
|
||||
"width": "25%"
|
||||
},
|
||||
{
|
||||
"targets": [4],
|
||||
"targets": [5],
|
||||
"data": "body_text",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"width": "38%"
|
||||
},
|
||||
{
|
||||
"targets": [5],
|
||||
"data": "script_args",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"width": "20%"
|
||||
"width": "50%"
|
||||
}
|
||||
],
|
||||
"drawCallback": function (settings) {
|
||||
|
@@ -104,11 +104,11 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left" id="notification_timestamp">Timestamp</th>
|
||||
<th align="left" id="notification_notifier_id">Notifier ID</th>
|
||||
<th align="left" id="notification_agent_name">Agent</th>
|
||||
<th align="left" id="notification_action">Action</th>
|
||||
<th align="left" id="notification_poster_url">Subject Text</th>
|
||||
<th align="left" id="notification_poster_url">Body Text</th>
|
||||
<th align="left" id="notification_poster_url">Script Args</th>
|
||||
<th align="left" id="notification_notify_action">Action</th>
|
||||
<th align="left" id="notification_subject_text">Subject Text</th>
|
||||
<th align="left" id="notification_body_text">Body Text</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
|
Reference in New Issue
Block a user