* finish task #6166,#6149,6139
This commit is contained in:
@@ -116,7 +116,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php if(!common::checkEnLang()):?>
|
||||
<?php if(!common::checkNotCN()):?>
|
||||
<?php
|
||||
common::printLink('bug', 'batchCreate', "productID=$productID&branch=$branch&projectID=0&moduleID=$moduleID", "<i class='icon icon-plus'></i>" . $lang->bug->batchCreate, '', "class='btn btn-secondary'");
|
||||
if(commonModel::isTutorialMode())
|
||||
@@ -208,9 +208,9 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
|
||||
{
|
||||
if($value->show)
|
||||
{
|
||||
if(common::checkEnLang() and $value->id == 'severity') $value->name = $lang->bug->severity;
|
||||
if(common::checkEnLang() and $value->id == 'pri') $value->name = $lang->bug->pri;
|
||||
if(common::checkEnLang() and $value->id == 'confirmed') $value->name = $lang->bug->confirmed;
|
||||
if(common::checkNotCN() and $value->id == 'severity') $value->name = $lang->bug->severity;
|
||||
if(common::checkNotCN() and $value->id == 'pri') $value->name = $lang->bug->pri;
|
||||
if(common::checkNotCN() and $value->id == 'confirmed') $value->name = $lang->bug->confirmed;
|
||||
$this->datatable->printHead($value, $orderBy, $vars);
|
||||
$columns ++;
|
||||
}
|
||||
|
||||
@@ -212,7 +212,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
|
||||
<table class='table table-form'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php $colWidth = common::checkEnLang() ? 'w-100px' : 'w-80px';?>
|
||||
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
|
||||
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->openedBy;?></th>
|
||||
<td><?php echo $users[$bug->openedBy];?></td>
|
||||
</tr>
|
||||
@@ -266,7 +266,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
|
||||
<table class='table table-form'>
|
||||
<tbody>
|
||||
<tr class='text-top'>
|
||||
<?php $colWidth = common::checkEnLang() ? 'w-100px' : 'w-80px';?>
|
||||
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
|
||||
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->linkBug;?></th>
|
||||
<td><?php echo html::a($this->createLink('bug', 'linkBugs', "bugID=$bug->id", '', true), $lang->bug->linkBugs, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");?></td>
|
||||
</tr>
|
||||
|
||||
@@ -32,7 +32,7 @@ js::set('productID' , $bug->product);
|
||||
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
|
||||
<table class='table table-form'>
|
||||
<tr>
|
||||
<?php $colWidth = common::checkEnLang() ? 'w-130px' : 'w-100px';?>
|
||||
<?php $colWidth = common::checkNotCN() ? 'w-130px' : 'w-100px';?>
|
||||
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->resolution;?></th>
|
||||
<td class='w-p35-f'><?php echo html::select('resolution', $lang->bug->resolutionList, '', "class='form-control chosen' onchange=setDuplicate(this.value)");?></td>
|
||||
<td></td>
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
</ul>
|
||||
<div class='tab-content'>
|
||||
<div class='tab-pane active' id='legendBasicInfo'>
|
||||
<?php $widthClass = common::checkEnLang() ? 'w-110px' : 'w-70px';?>
|
||||
<?php $widthClass = common::checkNotCN() ? 'w-110px' : 'w-70px';?>
|
||||
<table class="table table-data">
|
||||
<tbody>
|
||||
<tr valign='middle'>
|
||||
@@ -271,7 +271,7 @@
|
||||
</ul>
|
||||
<div class='tab-content'>
|
||||
<div class='tab-pane active' id='legendLife'>
|
||||
<?php $widthClass = common::checkEnLang() ? 'w-100px' : 'w-90px';?>
|
||||
<?php $widthClass = common::checkNotCN() ? 'w-100px' : 'w-90px';?>
|
||||
<table class="table table-data">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user