diff --git a/module/project/lang/en.php b/module/project/lang/en.php index 4edc0155cc..d0e3db0bde 100644 --- a/module/project/lang/en.php +++ b/module/project/lang/en.php @@ -60,6 +60,10 @@ $lang->project->putoff = 'Putoff'; $lang->project->suspend = 'Suspend'; $lang->project->close = 'Close'; +$lang->project->typeList['sprint'] = 'Sprint'; +$lang->project->typeList['waterfall'] = 'Waterfall'; +$lang->project->typeList['ops'] = 'OPS'; + $lang->project->endList[14] = 'Two Weeks'; $lang->project->endList[31] = 'One Month'; $lang->project->endList[62] = 'Two Months'; diff --git a/module/project/lang/zh-cn.php b/module/project/lang/zh-cn.php index 36b3ae1dde..fb753808a8 100644 --- a/module/project/lang/zh-cn.php +++ b/module/project/lang/zh-cn.php @@ -60,6 +60,10 @@ $lang->project->putoff = '延期'; $lang->project->suspend = '挂起'; $lang->project->close = '结束'; +$lang->project->typeList['sprint'] = '短期迭代'; +$lang->project->typeList['waterfall'] = '长期项目'; +$lang->project->typeList['ops'] = '运营项目'; + $lang->project->endList[14] = '两星期'; $lang->project->endList[31] = '一个月'; $lang->project->endList[62] = '两个月'; diff --git a/module/project/view/create.html.php b/module/project/view/create.html.php index 2cc007658a..b99afaf0ae 100644 --- a/module/project/view/create.html.php +++ b/module/project/view/create.html.php @@ -72,6 +72,10 @@ $(document).ready(function() project->teamname;?> + + project->type;?> + project->typeList, '', "class='text-2'");?> + project->manageProducts;?> diff --git a/module/project/view/edit.html.php b/module/project/view/edit.html.php index 1bfcaa88b6..c22e6ef54d 100644 --- a/module/project/view/edit.html.php +++ b/module/project/view/edit.html.php @@ -37,6 +37,10 @@ project->days;?> days, "class='text-3'") . $lang->project->day;?> + + project->type;?> + project->typeList, $project->type, "class='text-2'");?> + project->teamname;?> team, "class='text-3'");?> diff --git a/module/project/view/view.html.php b/module/project/view/view.html.php index 42191ae542..da6afcdf19 100644 --- a/module/project/view/view.html.php +++ b/module/project/view/view.html.php @@ -74,6 +74,10 @@ project->days;?> days;?> + + project->type;?> + project->typeList[$project->type];?> + project->goal;?> goal;?>