* adjust for task #5783

This commit is contained in:
wangyidong
2019-06-05 16:16:21 +08:00
parent 4feb3090e3
commit 1fbf720cae
10 changed files with 22 additions and 33 deletions
+7 -7
View File
@@ -16,7 +16,7 @@
<nav id='contentNav'>
<ul class='nav nav-default'>
<?php
$that = $app->getClientLang() == 'en' ? zget($lang->user->thirdPerson, $app->user->gender) : '';
$that = $app->getClientLang() == 'en' ? zget($lang->user->thirdPerson, $user->gender) : '';
echo "<li class='active'>" . html::a($this->createLink('user', 'testtask', "account=$account"), $lang->user->testTask2Him . $that) . "</li>";
echo "<li>" . html::a($this->createLink('user', 'testcase', "account=$account&type=case2Him"), $lang->user->case2Him . $that) . "</li>";
echo "<li>" . html::a($this->createLink('user', 'testcase', "account=$account&type=caseByHim"), $lang->user->caseByHim . $that) . "</li>";
@@ -28,14 +28,14 @@
<table class='table has-sort-head'>
<?php $vars = "account=$account&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<thead>
<tr class='colhead'>
<th class='w-id'> <?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></th>
<th> <?php common::printOrderLink('name', $orderBy, $vars, $lang->testtask->name);?></th>
<th> <?php common::printOrderLink('project', $orderBy, $vars, $lang->testtask->project);?></th>
<th> <?php common::printOrderLink('build', $orderBy, $vars, $lang->testtask->build);?></th>
<tr>
<th class='w-id'> <?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></th>
<th> <?php common::printOrderLink('name', $orderBy, $vars, $lang->testtask->name);?></th>
<th> <?php common::printOrderLink('project', $orderBy, $vars, $lang->testtask->project);?></th>
<th> <?php common::printOrderLink('build', $orderBy, $vars, $lang->testtask->build);?></th>
<th class='w-100px'><?php common::printOrderLink('begin', $orderBy, $vars, $lang->testtask->begin);?></th>
<th class='w-100px'><?php common::printOrderLink('end', $orderBy, $vars, $lang->testtask->end);?></th>
<th class='w-80px'><?php common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);?></th>
<th class='w-80px'> <?php common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);?></th>
</tr>
</thead>
<tbody>