* Change no batch edit access style.

This commit is contained in:
caoyanyi
2023-05-30 15:41:40 +08:00
parent 9cddb600cf
commit 6542a29b03
+3 -2
View File
@@ -180,12 +180,13 @@ if($canBatchAction)
);
}
if($canBatchClose || $canBatchCancel)
if($canBatchClose || $canBatchCancel || $canBatchEdit)
{
$editClass = $canBatchEdit ? 'batch-btn' : 'disabled';
$footToolbar['items'][] = array(
'type' => 'btn-group',
'items' => array(
array('text' => $lang->edit, 'className' => 'batch-btn','btnType' => 'primary', 'data-url' => createLink('task', 'batchEdit', "executionID={$executionID}")),
array('text' => $lang->edit, 'class' => "btn primary size-sm {$editClass}", 'btnType' => 'primary', 'data-url' => createLink('task', 'batchEdit', "executionID={$executionID}")),
array('caret' => 'up', 'btnType' => 'primary', 'url' => '#navActions', 'data-toggle' => 'dropdown', 'data-placement' => 'top-start'),
)
);