This commit is contained in:
liyuchun
2021-12-10 10:11:56 +08:00
parent 4ca00009d5
commit d121e2e01a
4 changed files with 3 additions and 2 deletions
-1
View File
@@ -455,7 +455,6 @@ class mr extends control
$this->view->modulePairs = $this->loadModel('tree')->getOptionMenu($product->id, 'story');
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->stories = $stories;
$this->view->summary = $this->loadModel('product')->summary($stories);
$this->view->bugs = $bugs;
$this->view->tasks = $tasks;
$this->view->product = $product;
+1
View File
@@ -95,6 +95,7 @@ $lang->mr->notFound = "Merge Request does not exist!";
$lang->mr->toCreatedMessage = "The merge request you submitted:<a href='%s'>%s</a>, the build task succeeded.";
$lang->mr->toReviewerMessage = "You have one merge request <a href='%s'>%s</a> waiting.";
$lang->mr->failMessage = "Your merge request <a href='%s'>%s</a> failed. Please check its execution result. ";
$lang->mr->storySummary = "Total <strong>%s</strong> {$lang->SRCommon} on this page.";
$lang->mr->apiError = new stdclass;
$lang->mr->apiError->createMR = "Failed to create a merge request through API. Reason: %s";
+1
View File
@@ -95,6 +95,7 @@ $lang->mr->notFound = "此{$lang->mr->common}不存在。";
$lang->mr->toCreatedMessage = "您提交的合并请求:<a href='%s'>%s</a> 构建任务执行通过。";
$lang->mr->toReviewerMessage = "有一个合并请求:<a href='%s'>%s</a> 待审核。";
$lang->mr->failMessage = "您提交的合并请求:<a href='%s'>%s</a> 构建任务执行失败,查看执行结果。";
$lang->mr->storySummary = "本页共 <strong>%s</strong> 个" . $lang->SRCommon;
$lang->mr->apiError = new stdclass;
$lang->mr->apiError->createMR = "通过API创建合并请求失败,失败原因:%s";
+1 -1
View File
@@ -129,7 +129,7 @@
</table>
<?php if($stories):?>
<div class='table-footer'>
<div class='table-statistic'><?php echo $summary;?></div>
<div class='table-statistic'><?php echo sprintf($lang->mr->storySummary, count($stories));?></div>
<?php
$this->app->rawParams['type'] = 'story';
$storyPager->show('right', 'pagerjs');