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; ?>
" . $lang->kanban->fullScreen, '', "class='btn btn-link'");
$actions = '';
$printSettingBtn = (common::hasPriv('kanban', 'createRegion') or (common::hasPriv('kanban', 'setLaneHeight')) or (common::hasPriv('kanban', 'setColumnWidth')) or common::hasPriv('execution', 'edit') or common::hasPriv('execution', 'close') or common::hasPriv('execution', 'delete') or !empty($executionActions));
if($printSettingBtn)
{
$actions .= html::a('javascript:;', "" . $lang->kanban->setting, '', "data-toggle='dropdown' class='btn btn-link'");
$actions .= "
- ";
$width = $this->app->getClientLang() == 'en' ? '70%' : '60%';
if(common::hasPriv('kanban', 'createRegion')) $actions .= '
- ' . html::a(helper::createLink('kanban', 'createRegion', "kanbanID=$execution->id&from=execution", '', true), '' . $lang->kanban->createRegion, '', "class='iframe btn btn-link text-left'") . ' '; if(common::hasPriv('kanban', 'setLaneHeight')) $actions .= '
- ' . html::a(helper::createLink('kanban', 'setLaneHeight', "kanbanID=$execution->id&from=execution", '', true), '' . $lang->kanban->laneHeight, '', "class='iframe btn btn-link text-left' data-width=$width") . ' '; if(common::hasPriv('kanban', 'setColumnWidth')) $actions .= '
- ' . html::a(helper::createLink('kanban', 'setColumnWidth', "kanbanID=$execution->id&from=execution", '', true), '' . $lang->kanban->columnWidth, '', "class='iframe btn btn-link text-left' data-width=30%") . ' '; $kanbanActions = ''; if(common::hasPriv('execution', 'edit')) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'edit', "executionID=$execution->id", '', true), '' . $lang->kanban->edit, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; 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 .= ((common::hasPriv('kanban', 'createRegion') or common::hasPriv('kanban', 'setLaneHeight') or common::hasPriv('kanban', 'setColumnWidth')) and (common::hasPriv('execution', 'edit') or common::hasPriv('execution', 'delete') or !empty($executionActions))) ? "" . $kanbanActions : $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'") . '';?>
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'") . '';?> ' . html::a(helper::createLink('task', 'batchCreate', "execution=$execution->id", '', true), $lang->execution->batchCreateTask, '', "class='iframe'") . '';?>