r308: Changing index row display.
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 11 Jul 2005 00:09:43 +0000 (00:09 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 11 Jul 2005 00:09:43 +0000 (00:09 +0000)
index.php
templates/trackerhome.tpl
templates/trackerhome_bits.tpl

index 5a797bab73cd045256d514cbddc982ef6ef98ce8..2779cd823b14dc658eef658e147c334c5ad961de 100644 (file)
--- a/index.php
+++ b/index.php
@@ -56,7 +56,7 @@ while ($bug = $db->fetch_array($bugs_fetch))
        $bug['lastposttime'] = (($bug['hiddendisplay']) ? $bug['hiddenlastposttime'] : $bug['lastposttime']);
        $bug['lastpost'] = (($bug['hiddendisplay']) ? $bug['hiddenlastpost'] : $bug['lastpost']);
        
-       $bug['lastpostinfo'] = $datef->format($bugsys->options['dateformat'], $bug['lastposttime']) . ' by ' . $bug['lastpost'];
+       $bug['lastposttime'] = $datef->format($bugsys->options['dateformat'], $bug['lastposttime']);
        
        eval('$bugs .= "' . $template->fetch('trackerhome_bits') . '";');
 }
index f6836da86ca26bc5183f9906dd78acaa2642b43f..232bec77553ad8212c366ed1668c1d6a9b7b6c30 100644 (file)
@@ -4,11 +4,10 @@ $header
 
 <table border="1" cellspacing="2" cellpadding="4" width="100%">
 <tr style="background-color:#EEEEEE">
-       <td>Bug ID</td>
-       <td>Title</td>
-       <td>Reporter</td>
-       <td>Product/Version</td>
+       <td>ID</td>
+       <td>Summary/Reporter</td>
        <td>Status/Resolution</td>
+       <td>Product/Version</td>
        <td>Last Post</td>
 </tr>
 $bugs
index 712c1e9ddcf32c94d4c37b60a513612e08c54918..abd32708dfcf8cdfcb327236df7c5f1e13647fbe 100644 (file)
@@ -1,8 +1,19 @@
 <tr style="background-color: $bug[bgcolour]">
        <td>$bug[bugid]</td>
-       <td><a href="showreport.php?bugid=$bug[bugid]$bug[urladd]">$bug[summary]</a></td>
-       <td>$bug[firstreport]</td>
-       <td>$bug[product] / $bug[version]</td>
-       <td>$bug[status]/$bug[resolution]</td>
-       <td>$bug[lastpostinfo]</td>
+       <td>
+               <div><a href="showreport.php?bugid=$bug[bugid]$bug[urladd]">$bug[summary]</a></div>
+               <div>$bug[firstreport]</div>
+       </td>
+       <td>
+               <div>$bug[status]</div>
+               <div>$bug[resolution]</div>
+       </td>
+       <td>
+               <div>$bug[product]</div>
+               <div>$bug[version]</div>
+       </td>
+       <td>
+               <div>$bug[lastposttime]</div>
+               <div>by $bug[lastpost]</div>
+       </td>
 </tr>
\ No newline at end of file