* fix a bug: if delete a story/task/testcase actionLinks can't show.
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
<div id='main' <?php if($story->deleted) echo "class='deleted'";?>>STORY #<?php echo $story->id . ' ' . $story->title;?></div>
|
||||
<div>
|
||||
<?php
|
||||
$browseLink = $app->session->storyList != false ? $app->session->storyList : $this->createLink('product', 'browse', "productID=$story->product&moduleID=$story->module");
|
||||
$browseLink = $app->session->storyList != false ? $app->session->storyList : $this->createLink('product', 'browse', "productID=$story->product&moduleID=$story->module");
|
||||
$actionLinks = '';
|
||||
if(!$story->deleted)
|
||||
{
|
||||
ob_start();
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
<?php endif;?>
|
||||
<div>
|
||||
<?php
|
||||
$browseLink = $app->session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project");
|
||||
$browseLink = $app->session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project");
|
||||
$actionLinks = '';
|
||||
if(!$task->deleted)
|
||||
{
|
||||
ob_start();
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<div id='main'>CASE #<?php echo $case->id . ' ' . $case->title;?></div>
|
||||
<div>
|
||||
<?php
|
||||
$browseLink = $app->session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID=$case->product");
|
||||
$browseLink = $app->session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID=$case->product");
|
||||
$actionLinks = '';
|
||||
if(!$case->deleted)
|
||||
{
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user