diff --git a/module/productplan/view/linkstory.html.php b/module/productplan/view/linkstory.html.php index 28fb01cc95..940ebdf9a8 100644 --- a/module/productplan/view/linkstory.html.php +++ b/module/productplan/view/linkstory.html.php @@ -50,7 +50,7 @@ module];?> parent > 0) echo "{$lang->story->childrenAB}"; + if($story->parent > 0) echo "story->children}>{$lang->story->childrenAB}"; echo html::a($this->createLink('story', 'view', "storyID=$story->id", '', true), $story->title, '', "data-toggle='modal' data-type='iframe' data-width='90%'"); ?> diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php index e13a32c3fc..6a24c90f64 100644 --- a/module/productplan/view/view.html.php +++ b/module/productplan/view/view.html.php @@ -148,7 +148,7 @@ module, '');?> parent > 0) echo "{$lang->story->childrenAB}"; + if($story->parent > 0) echo "story->children}>{$lang->story->childrenAB}"; echo html::a($viewLink , $story->title); ?>