Remove poster url from notification logs table

This commit is contained in:
JonnyWong16 2016-02-21 16:42:29 -08:00
parent 177902a286
commit 8b27c7e01a
2 changed files with 3 additions and 14 deletions

View file

@ -54,7 +54,7 @@ notification_log_table_options = {
$(td).html(cellData); $(td).html(cellData);
} }
}, },
"width": "16%" "width": "20%"
}, },
{ {
"targets": [4], "targets": [4],
@ -64,7 +64,7 @@ notification_log_table_options = {
$(td).html(cellData); $(td).html(cellData);
} }
}, },
"width": "35%" "width": "38%"
}, },
{ {
"targets": [5], "targets": [5],
@ -74,17 +74,7 @@ notification_log_table_options = {
$(td).html(cellData); $(td).html(cellData);
} }
}, },
"width": "15%" "width": "20%"
},
{
"targets": [6],
"data": "poster_url",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
$(td).html(cellData);
}
},
"width": "12%"
} }
], ],
"drawCallback": function (settings) { "drawCallback": function (settings) {

View file

@ -81,7 +81,6 @@ from plexpy import helpers
<th align='left' id="notification_poster_url">Subject Text</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">Body Text</th>
<th align='left' id="notification_poster_url">Script Args</th> <th align='left' id="notification_poster_url">Script Args</th>
<th align='left' id="notification_poster_url">Poster URL</th>
</tr> </tr>
</thead> </thead>
<tbody></tbody> <tbody></tbody>