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('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") . ' '; $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(in_array('start', $executionActions)) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'start', "executionID=$execution->id", '', true), '' . $lang->execution->start, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(in_array('putoff', $executionActions)) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'putoff', "executionID=$execution->id", '', true), '' . $lang->execution->putoff, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(in_array('suspend', $executionActions)) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'suspend', "executionID=$execution->id", '', true), '' . $lang->execution->suspend, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(in_array('close', $executionActions)) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'close', "executionID=$execution->id", '', true), '' . $lang->execution->close, '', "class='iframe btn btn-link text-left' data-width='75%'") . ' '; if(in_array('activate', $executionActions)) $kanbanActions .= '
- ' . html::a(helper::createLink('execution', 'activate', "executionID=$execution->id", '', 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')) and (common::hasPriv('execution', 'edit') or common::hasPriv('execution', 'delete') or !empty($executionActions))) ? "" . $kanbanActions : $kanbanActions; } $actions .= "