* Finish task #8797.

This commit is contained in:
holan20180123
2020-12-23 14:28:44 +08:00
parent 5038567a2c
commit 6efc361133
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ $lang->my->noTodo = '暂时没有待办。';
$lang->my->myExecutions = "我参与的阶段/冲刺/迭代";
$lang->my->name = '名称';
$lang->my->code = '代号';
$lang->my->projects = '项目';
$lang->my->projects = '所属项目';
$lang->my->executionMenu = new stdclass();
$lang->my->executionMenu->undone = '未结束';
+1 -1
View File
@@ -30,7 +30,7 @@ $lang->my->noTodo = '暫時沒有待辦。';
$lang->my->myExecutions = "我參與的階段/衝刺/迭代";
$lang->my->name = '名稱';
$lang->my->code = '代號';
$lang->my->projects = '項目';
$lang->my->projects = '所屬項目';
$lang->my->taskMenu = new stdclass();
$lang->my->taskMenu->assignedToMe = '指派給我';
+2 -2
View File
@@ -16,8 +16,8 @@
<div class="btn-toolbar pull-left">
<?php
$recTotalLabel = " <span class='label label-light label-badge'>{$pager->recTotal}</span>";
echo html::a(inlink('contribute', "mode=execution&type=undone"), "<span class='text'>{$lang->my->executionMenu->undone}</span>" . ($type == 'undone' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'undone' ? ' btn-active-text' : '') . "'");
echo html::a(inlink('contribute', "mode=execution&type=done"), "<span class='text'>{$lang->my->executionMenu->done}</span>" . ($type == 'done' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'done' ? ' btn-active-text' : '') . "'");
echo html::a(inlink('contribute', "mode=execution&type=undone&orderBy=id_desc&recTotal=0&recPerPage={$pager->recPerPage}"), "<span class='text'>{$lang->my->executionMenu->undone}</span>" . ($type == 'undone' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'undone' ? ' btn-active-text' : '') . "'");
echo html::a(inlink('contribute', "mode=execution&type=done&orderBy=id_desc&recTotal=0&recPerPage={$pager->recPerPage}"), "<span class='text'>{$lang->my->executionMenu->done}</span>" . ($type == 'done' ? $recTotalLabel : ''), '', "class='btn btn-link" . ($type == 'done' ? ' btn-active-text' : '') . "'");
?>
</div>
</div>
+1 -1
View File
@@ -958,7 +958,7 @@ class userModel extends model
*
* @param string $account
* @param string $type
* @param string $status all|undone|done
* @param string $status
* @access public
* @return array
*/