diff --git a/module/my/view/testcase.html.php b/module/my/view/testcase.html.php index c29818b943..4eedb2ed96 100644 --- a/module/my/view/testcase.html.php +++ b/module/my/view/testcase.html.php @@ -20,11 +20,9 @@
{$pager->recTotal}"; - echo "{$lang->testtask->common}: "; if($app->rawMethod == 'work') echo html::a(inlink($app->rawMethod, "mode=testtask&type=wait"), "{$lang->testtask->wait}", '', "class='btn btn-link'"); if($app->rawMethod == 'contribute') echo html::a(inlink($app->rawMethod, "mode=testtask&type=done"), "{$lang->testtask->done}", '', "class='btn btn-link'"); echo ""; - echo "{$lang->testcase->common}: "; echo html::a(inlink($app->rawMethod, "mode=$mode&type=assigntome"), "{$lang->testcase->assignToMe}" . ($type == 'assigntome' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'assigntome' ? ' btn-active-text' : '') . "'"); echo html::a(inlink($app->rawMethod, "mode=$mode&type=openedbyme"), "{$lang->testcase->openedByMe}" . ($type == 'openedbyme' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'openedbyme' ? ' btn-active-text' : '') . "'"); ?> diff --git a/module/my/view/testtask.html.php b/module/my/view/testtask.html.php index df96280270..54b0bd2f7b 100644 --- a/module/my/view/testtask.html.php +++ b/module/my/view/testtask.html.php @@ -17,11 +17,9 @@
{$pager->recTotal}"; - echo "{$lang->testtask->common}: "; if($app->rawMethod == 'work') echo html::a(inlink($app->rawMethod, "mode=$mode&type=wait"), "{$lang->testtask->wait}" . ($type == 'wait' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'wait' ? ' btn-active-text' : '') . "'"); if($app->rawMethod == 'contribute') echo html::a(inlink($app->rawMethod, "mode=$mode&type=done"), "{$lang->testtask->done}" . ($type == 'done' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'done' ? ' btn-active-text' : '') . "'"); echo ""; - echo "{$lang->testcase->common}: "; echo html::a(inlink($app->rawMethod, "mode=testcase&type=assigntome"), "{$lang->testcase->assignToMe}", '', "class='btn btn-link'"); echo html::a(inlink($app->rawMethod, "mode=testcase&type=openedbyme"), "{$lang->testcase->openedByMe}", '', "class='btn btn-link'"); ?>