+ add the feature of confirm story changed bugs.

This commit is contained in:
wangchunsheng
2010-03-30 03:45:21 +00:00
parent bc54e61272
commit 6c4e2cc06b
6 changed files with 45 additions and 5 deletions

View File

@@ -180,7 +180,17 @@
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->story;?></td>
<td><?php if($bug->story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story"), $bug->storyTitle);?></td>
<td>
<?php
if($bug->story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story"), $bug->storyTitle);
if($bug->storyStatus == 'active' and $bug->latestStoryVersion > $bug->storyVersion)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->task;?></td>