* Finish Task #78697

This commit is contained in:
lanzongjun
2022-12-07 15:17:35 +08:00
parent 5f3444278b
commit 29d8ff292a
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -950,6 +950,7 @@ class story extends control
$this->view->productStories = $productStories;
$this->view->branchOption = $branchOption;
$this->view->branchTagOption = $branchTagOption;
$this->view->branches = $product->type == 'normal' ? array() : $this->loadModel('branch')->getPairs($product->id);
$this->view->reviewers = array_keys($reviewerList);
$this->view->reviewedReviewer = $reviewedReviewer;
$this->view->lastReviewer = $this->story->getLastReviewer($story->id);
+1 -1
View File
@@ -14,7 +14,7 @@ foreach($siblings as $sibling)
{
$id = $sibling->id;
$title = '#' . $id . ' '. $sibling->title;
$branch = $branches[$sibling->branch];
$branch = isset($branches[$sibling->branch]) ? $branches[$sibling->branch] : '';
$stage = $lang->story->stageList[$sibling->stage];
$labelClass = $story->branch == $sibling->branch ? 'label-primary' : '';
-1
View File
@@ -109,7 +109,6 @@
<div class='form-group'>
<div>
<ul class='list-unstyled'>
<?php $branches = $branchTagOption;?>
<?php include './blocksibling.html.php';?>
</ul>
</div>