* add multi-language support, and fix UI of table statistic.
This commit is contained in:
@@ -388,7 +388,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="text"><?php echo $summary;?></div>
|
||||
<div class="table-statistic"><?php echo $summary;?></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "buildID={$build->id}&type=bug"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</form>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "buildID={$build->id}&type=story"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</form>
|
||||
|
||||
@@ -160,7 +160,7 @@ tbody tr td:first-child input{display:none;}
|
||||
<?php echo html::submitButton($lang->build->batchUnlink, '', 'btn');?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<div class='text'><?php echo sprintf($lang->build->finishStories, $countStories);?></div>
|
||||
<div class='table-statistic'><?php echo sprintf($lang->build->finishStories, $countStories);?></div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</form>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}
|
||||
include 'header.lite.html.php';
|
||||
include 'chosen.html.php';
|
||||
include 'pager.html.php';
|
||||
//include 'validation.html.php';
|
||||
?>
|
||||
<?php
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
<script>
|
||||
$.extend($.fn.pager.Constructor.LANG,
|
||||
{
|
||||
'<?php echo $app->getClientLang();?>':
|
||||
{
|
||||
'pageOfText': "<?php echo $lang->pager->pageOfText;?>",
|
||||
'prev': "<?php echo $lang->pager->previousPage;?>",
|
||||
'next': "<?php echo $lang->pager->nextPage;?>",
|
||||
'first': "<?php echo $lang->pager->firstPage;?>",
|
||||
'last': "<?php echo $lang->pager->lastPage;?>",
|
||||
'goto': "<?php echo $lang->pager->goto;?>",
|
||||
'pageOf': "<?php echo $lang->pager->pageOf;?>",
|
||||
'totalPage': "<?php echo $lang->pager->totalPage;?>",
|
||||
'totalCount': "<?php echo $lang->pager->totalCount;?>",
|
||||
'pageSize': "<?php echo $lang->pager->pageSize;?>",
|
||||
'itemsRange': "<?php echo $lang->pager->itemsRange;?>",
|
||||
'pageOfTotal': "<?php echo $lang->pager->pageOfTotal;?>"
|
||||
}
|
||||
});
|
||||
$.extend($.fn.colorPicker.Constructor.LANG,
|
||||
{
|
||||
'<?php echo $app->getClientLang();?>':
|
||||
{
|
||||
'errorTip': "<?php echo $lang->colorPicker->errorTip;?>"
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "planID=$plan->id&type=bug&orderBy=$orderBy"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "planID=$plan->id&type=story&orderBy=$orderBy"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -68,7 +68,7 @@ $formID = $type == 'leftBug' ? 'unlinkedLeftBugsForm' : 'unlinkedBugsForm';
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "releaseID=$release->id&type=$type"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::a(inlink('view', "releaseID=$release->id&type=story"), $lang->goback, '', "class='btn'");?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -214,7 +214,7 @@ js::set('suiteID', $suiteID);
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="text"><?php echo $summary;?></div>
|
||||
<div class="table-statistic"><?php echo $summary;?></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<div class="btn-toolbar">
|
||||
<?php echo html::linkButton($lang->goback, $this->session->caseList);?>
|
||||
</div>
|
||||
<div class='text'></div>
|
||||
<div class='table-statistic'></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<div class='table-actions btn-toolbar show-always'>
|
||||
<?php echo html::submitButton('', '', 'btn btn-secondary');?>
|
||||
</div>
|
||||
<div class="text"></div>
|
||||
<div class="table-statistic"></div>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
+13
-12
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user