This commit is contained in:
Zongjun Lan
2022-03-21 09:33:00 +08:00
parent 79deb1dd03
commit d03533c2fc
+3 -3
View File
@@ -180,9 +180,6 @@
</ul>
<?php endif;?>
</div>
<?php if($this->app->rawMethod == 'browseunits' and (empty($productID) or common::canModify('product', $product))):?>
<?php common::printLink('testtask', 'importUnitResult', "product=$productID", "<i class='icon icon-import'></i> " . $lang->testtask->importUnitResult, '', "class='btn btn-primary' data-app='{$this->app->tab}'");?>
<?php endif;?>
<?php else:?>
<div class='btn-group dropdown-hover'>
<?php
@@ -201,6 +198,9 @@
</ul>
</div>
<?php endif;?>
<?php if($this->app->rawMethod == 'browseunits' and (empty($productID) or common::canModify('product', $product))):?>
<?php common::printLink('testtask', 'importUnitResult', "product=$productID", "<i class='icon icon-import'></i> " . $lang->testtask->importUnitResult, '', "class='btn btn-primary' data-app='{$this->app->tab}'");?>
<?php endif;?>
<?php endif;?>
</div>
<?php endif;?>