* Finish task #49289.

This commit is contained in:
zhouxudong
2022-02-23 14:11:38 +08:00
parent 2610958bf1
commit bf002dcd83
4 changed files with 6 additions and 1 deletions
-1
View File
@@ -407,7 +407,6 @@ class productplan extends control
$this->view->storyPager = $storyPager;
$this->view->bugPager = $bugPager;
$this->view->canBeChanged = $canBeChanged;
if($this->app->getViewType() == 'json')
{
unset($this->view->storyPager);
+1
View File
@@ -78,6 +78,7 @@ $lang->productplan->title = 'Title';
$lang->productplan->desc = 'Description';
$lang->productplan->begin = 'Begin';
$lang->productplan->end = 'End';
$lang->productplan->status = 'Status';
$lang->productplan->last = 'Last Plan';
$lang->productplan->future = 'TBD';
$lang->productplan->stories = 'Story';
+1
View File
@@ -78,6 +78,7 @@ $lang->productplan->title = '名称';
$lang->productplan->desc = '描述';
$lang->productplan->begin = '开始日期';
$lang->productplan->end = '结束日期';
$lang->productplan->status = '计划状态';
$lang->productplan->last = "上次计划";
$lang->productplan->future = '待定';
$lang->productplan->stories = "{$lang->SRCommon}数";
+4
View File
@@ -613,6 +613,10 @@
</tr>
<?php endif;?>
<?php $this->printExtendFields($plan, 'table', 'inForm=0');?>
<tr>
<th><?php echo $lang->productplan->status;?></th>
<td><?php echo $lang->productplan->statusList[$plan->status];?></td>
</tr>
<tr>
<th><?php echo $lang->productplan->desc;?></th>
<td><?php echo $plan->desc;?></td>