diff --git a/module/todo/lang/en.php b/module/todo/lang/en.php index c4e6afe076..6036b661c6 100644 --- a/module/todo/lang/en.php +++ b/module/todo/lang/en.php @@ -25,6 +25,7 @@ $lang->todo->browse = "Browse"; $lang->todo->import2Today = "Import to today"; $lang->todo->import = "Import to"; $lang->todo->changeStatus = "Change"; +$lang->todo->legendBasic = "Basic Info"; $lang->todo->id = 'ID'; $lang->todo->account = 'Owner'; diff --git a/module/todo/lang/zh-cn.php b/module/todo/lang/zh-cn.php index adc394349a..ce0ad45cec 100644 --- a/module/todo/lang/zh-cn.php +++ b/module/todo/lang/zh-cn.php @@ -25,6 +25,7 @@ $lang->todo->browse = "浏览待办"; $lang->todo->import2Today = "导入到今天"; $lang->todo->import = "导入"; $lang->todo->changeStatus = "更改"; +$lang->todo->legendBasic = "基本信息"; $lang->todo->id = '编号'; $lang->todo->account = '所有者'; diff --git a/module/todo/view/view.html.php b/module/todo/view/view.html.php index 6f9f09bb87..254b53e017 100644 --- a/module/todo/view/view.html.php +++ b/module/todo/view/view.html.php @@ -19,72 +19,81 @@ name;?> -
-
-
- type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), $todo->name); - if($todo->type == 'task') echo html::a($this->createLink('task', 'view', "id={$todo->idvalue}"), $todo->name); - if($todo->type == 'custom') echo $todo->name; - ?> -
- todo->beginAndEnd;?>: - begin])) echo $times[$todo->begin]; - if(isset($times[$todo->end])) echo ' ~ ' . $times[$todo->end]; - ?> -
-
todo->statusList[$todo->status];?>
+
+
+
+
+ + todo->desc; + if($todo->type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), ' BUG#' . $todo->idvalue); + if($todo->type == 'task') echo html::a($this->createLink('task', 'view', "id={$todo->idvalue}"), ' TASK#' . $todo->idvalue); + ?> + +
desc;?>
+
+
-
-
desc;?>
-
- - - - - - - - - - - - - -
todo->account;?>account;?>todo->date;?>date == '20300101' ? $lang->todo->periods['future'] : date(DT_DATE1, strtotime($todo->date));?>
todo->type;?>todo->typeList[$todo->type];?>todo->pri;?>todo->priList[$todo->pri];?>
-
- +
+
+
+ todo->legendBasic;?> + + + + + + + + + + + + + + + + + + + + + + + + + +
todo->pri;?>todo->priList[$todo->pri];?>
todo->status;?>todo->statusList[$todo->status];?>
todo->type;?>todo->typeList[$todo->type];?>
todo->account;?>account;?>
todo->date;?>date == '20300101' ? $lang->todo->periods['future'] : date(DT_DATE1, strtotime($todo->date));?>
todo->beginAndEnd;?>begin])) echo $times[$todo->begin]; if(isset($times[$todo->end])) echo ' ~ ' . $times[$todo->end];?>
-
- - - todo->thisIsPrivate;?> - +
+ +todo->thisIsPrivate;?> +