- lifetime != 'ops' and !in_array($execution->attribute, array('request', 'review'))):?>
+ execution->menu->qa)):?>
" . html::a($link, $lang->execution->importTask, '', $misc) . " ";
- if($execution->lifetime != 'ops' and !in_array($execution->attribute, array('request', 'review')))
+ if(isset($lang->execution->menu->qa))
{
$misc = common::hasPriv('execution', 'importBug') ? '' : "class=disabled";
$link = common::hasPriv('execution', 'importBug') ? $this->createLink('execution', 'importBug', "execution=$execution->id") : '#';
@@ -102,12 +102,16 @@
kanban->type, $browseType, 'class="form-control chosen" data-max_drop_width="215"');?>
@@ -62,7 +62,7 @@
$link = common::hasPriv('execution', 'importTask') ? $this->createLink('execution', 'importTask', "execution=$execution->id") : '#';
echo "-
- lifetime != 'ops' and !in_array($execution->attribute, array('request', 'review'))):?>
+
+ execution->menu->story)):?>
' . 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%'") . '';?>
' . html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=0&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"') . '';?>
- ';?>
+
+
+ execution->menu->qa)):?>
+ ';?>
' . html::a(helper::createLink('bug', 'create', "productID=$productID&branch=0&extra=executionID=$execution->id", '', true), $lang->bug->create, '', "class='iframe'") . '';?>
1) $batchCreateBugLink = '
- ' . html::a('#batchCreateBug', $lang->bug->batchCreate, '', "data-toggle='modal'") . ' '; echo $batchCreateBugLink; }?> - ';?> ' . html::a(helper::createLink('execution', 'importBug', "execution=$execution->id", '', true), $lang->execution->importBug, '', "class='iframe' data-width='90%'") . '';?> + ';?> ' . html::a(helper::createLink('task', 'create', "execution=$execution->id", '', true), $lang->task->create, '', "class='iframe' data-width='80%'") . '';?> ' . html::a(helper::createLink('task', 'batchCreate', "execution=$execution->id", '', true), $lang->execution->batchCreateTask, '', "class='iframe' data-width=90%") . '';?>
- setCode) and $config->setCode == 0) ? 'hidden' : '';?>
+ setCode) or $config->setCode == 0) ? 'hidden' : '';?>