From 4158cec2aea6f2aa2aeb8926709c84aeff52ba51 Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Tue, 9 Mar 2021 10:05:55 +0800 Subject: [PATCH] * Finish task#36471. --- module/productplan/view/linkstory.html.php | 2 +- module/productplan/view/view.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); ?>