* Fix bug#16188.

This commit is contained in:
xieqiyu
2021-11-14 10:47:12 +08:00
parent 77b697c991
commit cce14cef80
9 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
<div class='main-header'>
<h2>
<?php echo $lang->bug->batchCreate;?>
<?php if($this->session->currentProductType !== 'normal') echo '<span class="label label-info">' . $branches[$branch] . '</span>';?>
<?php if($this->session->currentProductType !== 'normal' and $branch !== 'all') echo '<span class="label label-info">' . $branches[$branch] . '</span>';?>
</h2>
<div class="pull-right btn-toolbar">
<?php if(common::hasPriv('file', 'uploadImages')) echo html::a($this->createLink('file', 'uploadImages', 'module=bug&params=' . helper::safe64Encode("productID=$productID&executionID=$executionID&moduleID=$moduleID")), $lang->uploadImages, '', "data-toggle='modal' data-type='iframe' class='btn btn-primary' data-width='70%'")?>