* Finish task #8376.
This commit is contained in:
@@ -46,7 +46,7 @@ $status = $this->session->testTaskVersionStatus;
|
||||
<div class='datepicker-wrapper datepicker-date'><?php echo html::input('date', $endTime, "class='form-control form-date' onchange='changeDate(\"$beginTime\", this.value, \"$condition\")'");?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(!empty($this->config->CRProduct) or $product->status != 'closed'):?>
|
||||
<?php if(common::canModify('product', $product)):?>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php common::printLink('testtask', 'create', "product=$productID", "<i class='icon icon-plus'></i> " . $lang->testtask->create, '', "class='btn btn-primary'");?>
|
||||
</div>
|
||||
@@ -58,7 +58,7 @@ $status = $this->session->testTaskVersionStatus;
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $lang->testtask->noTesttask;?></span>
|
||||
<?php if((!empty($this->config->CRProduct) or $product->status != 'closed') and common::hasPriv('testtask', 'create')):?>
|
||||
<?php if(common::canModify('product', $product) and common::hasPriv('testtask', 'create')):?>
|
||||
<?php echo html::a($this->createLink('testtask', 'create', "product=$productID"), "<i class='icon icon-plus'></i> " . $lang->testtask->create, '', "class='btn btn-info'");?>
|
||||
<?php endif;?>
|
||||
</p>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<?php echo html::a(inlink('browseUnits', "productID=$productID&browseType=$key&orderBy=$orderBy"), "<span class='text'>$label</span>", '', "id='{$key}Tab' class='btn btn-link'");?>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
<?php if(!empty($this->config->CRProduct) or $product->status != 'closed'):?>
|
||||
<?php if(common::canModify('product', $product)):?>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php common::printLink('testtask', 'importUnitResult', "product=$productID", "<i class='icon icon-import'></i> " . $lang->testtask->importUnitResult, '', "class='btn btn-primary'");?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user