diff --git a/install/cws-ui/processes.ftl b/install/cws-ui/processes.ftl index 24055108..2ed1a510 100644 --- a/install/cws-ui/processes.ftl +++ b/install/cws-ui/processes.ftl @@ -328,18 +328,20 @@ orderable: false }, { - data: "procInstId", + data: { procInstId: "procInstId", status: "status" }, defaultContent: '', className: 'details-control', orderable: false, render: function (data, type) { if (type === 'display') { - if (data == null) { - return '' + - ""; + var isDisabled = (data.status === 'pending' || data.status === 'disabled'); + + if (data == null || isDisabled) { + return '' + + ""; } - return '' + - ""; + return '' + + ""; } return data; }