diff --git a/module/bug/css/linkbugs.css b/module/bug/css/linkbugs.css index c7e5a58b26..94b286b4eb 100644 --- a/module/bug/css/linkbugs.css +++ b/module/bug/css/linkbugs.css @@ -1 +1 @@ -#linkBugsForm {min-height: 300px} +#mainContent {min-height: 300px} diff --git a/module/bug/view/batchcreate.html.php b/module/bug/view/batchcreate.html.php index 6942d5687d..b6e8d1b501 100644 --- a/module/bug/view/batchcreate.html.php +++ b/module/bug/view/batchcreate.html.php @@ -19,7 +19,7 @@
createLink('file', 'uploadImages', 'module=bug¶ms=' . helper::safe64Encode("productID=$productID&projectID=$projectID&moduleID=$moduleID")), $lang->uploadImages, '', "data-toggle='modal' data-type='iframe' class='btn btn-info' data-width='70%'")?> - pasteText, "data-toggle='importLinesModal'", 'btn btn-info')?> + createLink('custom', 'ajaxSaveCustomFields', 'module=bug§ion=custom&key=batchCreateFields')?>
diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index edd10051ec..43d7823737 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -255,44 +255,6 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow $misc = common::hasPriv('bug', 'batchActivate') ? "onclick=\"setFormAction('$actionLink')\"" : $class; if($misc) echo "
  • " . html::a('javascript:;', $lang->bug->activate, '', $misc) . "
  • "; - if(common::hasPriv('bug', 'batchChangeBranch') and $this->session->currentProductType != 'normal') - { - $withSearch = count($branches) > 8; - echo "'; - } - - if(common::hasPriv('bug', 'batchChangeModule')) - { - $withSearch = count($modules) > 8; - echo "'; - } - else - { - echo '
  • ' . html::a('javascript:;', $lang->bug->moduleAB, '', $class) . '
  • '; - } - $misc = common::hasPriv('bug', 'batchResolve') ? "id='resolveItem'" : ''; if($misc) { @@ -330,37 +292,89 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow } echo ''; } - else - { - echo "
  • " . html::a('javascript:;', $lang->bug->resolve, '', $class); - } - - $canBatchAssignTo = common::hasPriv('bug', 'batchAssignTo'); - if($canBatchAssignTo && count($bugs)) - { - $withSearch = count($memberPairs) > 10; - $actionLink = $this->createLink('bug', 'batchAssignTo', "productID={$productID}&type=product"); - echo html::select('assignedTo', $memberPairs, '', 'class="hidden"'); - echo "
  • "; - } - else - { - echo "
  • " . html::a('javascript:;', $lang->bug->assignedTo, '', $class); - } ?> + session->currentProductType != 'normal'):?> +
    + + 8;?> + + + + +
    + + 8;?> + + + + +
    + + 10;?> + + +
    show('right', 'pagerjs');?>
    diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php index 76cf0449ff..43086c9240 100644 --- a/module/bug/view/edit.html.php +++ b/module/bug/view/edit.html.php @@ -264,8 +264,11 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild); bug->linkBug;?> + createLink('bug', 'linkBugs', "bugID=$bug->id", '', true), $lang->bug->linkBugs, '', "data-toggle='modal' data-type='iframe' data-width='95%'");?> + + + - createLink('bug', 'linkBugs', "bugID=$bug->id", '', true), $lang->bug->linkBugs, '', "data-toggle='modal' data-type='iframe' data-width='95%'");?>