kanban->type['story']);
if(!$features['qa']) unset($lang->kanban->type['bug']);
?>
kanban->type, $browseType, 'class="form-control chosen" data-max_drop_width="215"');?>
kanban->group->$browseType, $groupBy, 'class="form-control chosen" data-max_drop_width="215"');?>
1execution->kanbanCardsUnit; ?>
";
$actions .= html::a('javascript:;', "", '', "data-toggle='dropdown' class='btn btn-link'");
$actions .= "
';
}
echo $actions;
?>
- ";
$kanbanActions = '';
if(common::hasPriv('execution', 'start')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'start', "executionID=$execution->id&from=kanban", '', true), '' . $lang->execution->start, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(common::hasPriv('execution', 'putoff')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'putoff', "executionID=$execution->id&from=kanban", '', true), '' . $lang->execution->putoff, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(common::hasPriv('execution', 'suspend')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'suspend', "executionID=$execution->id&from=kanban", '', true), '' . $lang->execution->suspend, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(common::hasPriv('execution', 'close')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'close', "executionID=$execution->id&from=kanban", '', true), '' . $lang->execution->close, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(common::hasPriv('execution', 'activate')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'activate', "executionID=$execution->id&from=kanban", '', true), '' . $lang->execution->activate, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(common::hasPriv('execution', 'delete')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'delete', "executionID=$execution->id"), '' . $lang->delete, 'hiddenwin', "class='btn btn-link text-left'") . ' '; if($kanbanActions) $actions .= $kanbanActions; $actions .= '
-
' . html::a(helper::createLink('story', 'create', "productID=$productID&branch=0&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->createStory, '', "class='iframe' data-width=80%") . '';?>
1)
{
echo '
- ' . html::a('#batchCreateStory', $lang->execution->batchCreateStory, '', 'data-toggle="modal"') . ' '; } else { echo '
- ' . html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=$branchID&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->batchCreateStory, '', "class='iframe' data-width='90%'") . ' '; } } ?> ' . html::a(helper::createLink('execution', 'linkStory', "execution=$execution->id", '', true), $lang->execution->linkStory, '', "class='iframe' data-width='90%'") . '';?> ' . html::a('#linkStoryByPlan', $lang->execution->linkStoryByPlan, '', 'data-toggle="modal"') . '';?> ';?> ' . html::a(helper::createLink('bug', 'create', "productID=$productID&branch=0&extra=executionID=$execution->id", '', true), $lang->bug->create, '', "class='iframe'") . '';?> ' . html::a(helper::createLink('bug', 'batchCreate', "productID=$productID&branch=$branchID&executionID=$execution->id", '', true), $lang->bug->batchCreate, '', "class='iframe'") . ''; if($productNum > 1) $batchCreateBugLink = '
- ' . html::a('#batchCreateBug', $lang->bug->batchCreate, '', "data-toggle='modal'") . ' '; echo $batchCreateBugLink; } ?> ';?> ' . html::a(helper::createLink('task', 'create', "execution=$execution->id", '', true), $lang->task->create, '', "class='iframe'") . '';?> ' . html::a(helper::createLink('execution', 'importBug', "executionID=$execution->id", '', true), $lang->execution->importBug, '', "class='iframe' data-width=90%") . '';?> ' . html::a(helper::createLink('execution', 'importTask', "toExecution=$execution->id", '', true), $lang->execution->importTask, '', "class='iframe' data-width=90%") . '';?> ' . html::a(helper::createLink('task', 'batchCreate', "execution=$execution->id", '', true), $lang->execution->batchCreateTask, '', "class='iframe' data-width=90%") . '';?>