diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php
index 8f55734d77..3444929dec 100644
--- a/module/story/view/view.html.php
+++ b/module/story/view/view.html.php
@@ -350,7 +350,8 @@
{
if(!isset($projects[$task->project])) continue;
$projectName = $projects[$task->project];
- echo "
" . html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), "[T]$task->id $task->name", '', "class='iframe' data-width='80%'");
+ $class = isonlybody() ? 'showinonlybody' : 'iframe';
+ echo "" . html::a($this->createLink('task', 'view', "taskID=$task->id", '', true), "[T]$task->id $task->name", '', "class=$class data-width='80%'");
echo html::a($this->createLink('project', 'browse', "projectID=$task->project"), $projectName, '', "class='text-muted'") . '';
}
}
diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php
index 40303a247a..b3b9fd2430 100644
--- a/module/task/view/view.html.php
+++ b/module/task/view/view.html.php
@@ -233,7 +233,8 @@
storyTitle) echo $lang->noData;
- if($task->storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle, '', "class='iframe' data-width='80%'", true, true)) echo $task->storyTitle;
+ $class = isonlybody() ? 'showinonlybody' : 'iframe';
+ if($task->storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle, '', "class=$class data-width='80%'", true, true)) echo $task->storyTitle;
if($task->needConfirm)
{
echo "({$lang->story->changed} ";
|