Make Task Stop Action green (marked as clickable)
This commit is contained in:
parent
069dc2766f
commit
6e783cd7ee
|
@ -643,7 +643,7 @@ function TaskActions (value, row) {
|
||||||
var cancellableStats = [0, 1, 2];
|
var cancellableStats = [0, 1, 2];
|
||||||
if (row.task_id && row.is_cancellable && cancellableStats.includes(row.stat)) {
|
if (row.task_id && row.is_cancellable && cancellableStats.includes(row.stat)) {
|
||||||
return [
|
return [
|
||||||
"<div class=\"task-cancel\" data-toggle=\"modal\" data-target=\"#cancelTaskModal\" data-task-id=\"" + row.task_id + "\" title=\"Cancel\">",
|
"<div class=\"danger task-cancel\" data-toggle=\"modal\" data-target=\"#cancelTaskModal\" data-task-id=\"" + row.task_id + "\" title=\"Cancel\">",
|
||||||
"<i class=\"glyphicon glyphicon-ban-circle\"></i>",
|
"<i class=\"glyphicon glyphicon-ban-circle\"></i>",
|
||||||
"</div>"
|
"</div>"
|
||||||
].join("");
|
].join("");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user