This commit is contained in:
fujia
2010-05-28 09:19:15 +00:00
parent fab1aa34c3
commit d0a6819626
2 changed files with 7 additions and 5 deletions

View File

@@ -186,16 +186,16 @@
<td class='rowhead w-p20'><?php echo $lang->bug->project;?></td>
<td><?php if($bug->project) echo html::a($this->createLink('project', 'browse', "projectid=$bug->project"), $bug->projectName);?></td>
</tr>
<tr>
<tr class='nofixed'>
<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);
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 ")";
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
</td>

View File

@@ -78,8 +78,10 @@ caption {border:1px solid #b3c8dc; background:#cbd5d9; margin:0; padding:5
.rowhead {font-weight:bold; text-align:right; width:100px}
.fixed {table-layout:fixed}
.nobr {overflow:hidden; white-space:nowrap;}
.nobr {overflow:hidden; white-space:nowrap;}
.fixed th, .fixed td {overflow:hidden; white-space:nowrap;}
.nofixed th, .nofixed td {overflow:visible; white-space:normal}
.odd {background:#fff;}
.even {background:#ebf0f4;}