diff --git a/module/story/view/blocksibling.html.php b/module/story/view/blocksibling.html.php index 000fe2211f..7b7152b54e 100644 --- a/module/story/view/blocksibling.html.php +++ b/module/story/view/blocksibling.html.php @@ -12,12 +12,16 @@ $class = isonlybody() ? 'showinonlybody' : 'iframe'; foreach($siblings as $sibling) { - $id = $sibling->id; - $title = $id . ' '. $sibling->title; - $branch = $story->branch == $sibling->branch ? $lang->story->currentBranch : $branches[$sibling->branch]; + $id = $sibling->id; + $title = '#' . $id . ' '. $sibling->title; + $branch = $branches[$sibling->branch]; + $stage = $lang->story->stageList[$sibling->stage]; + $labelClass = $story->branch == $sibling->branch ? 'label-primary' : ''; + echo "
  • "; - echo "{$branch} "; - echo ($canViewLinkStory ? html::a($this->createLink('story', 'view', "id=$id", '', true), "$title", '', "class='$class viewlink' data-width='80%'") : "$id $title"); + echo "{$branch} "; + echo "{$stage} "; + echo ($canViewLinkStory ? html::a($this->createLink('story', 'view', "id=$id", '', true), "$title", '', "class='$class viewlink' data-width='80%'") : "$title"); if($canRelieved) echo ""; echo "
  • "; }