Modified priority display to flow left to right and to sort by category

within priority rather than complexity.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1339 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2003-12-10 19:39:26 +00:00
parent 09f0f28705
commit 919377e18a
2 changed files with 19 additions and 25 deletions
+10 -12
View File
@@ -24,27 +24,18 @@ Outstanding tasks:
#end
</b>
<table><tr><td> <!-- two column table -->
<table border=0><tr><td valign="top"> <!-- two column table -->
<table cellpadding="2" cellspacing="0" border="0" width="100%">
#foreach ($xtask in $xtasks)
#if ($xtask.name == "On the list")
</table>
</td><td width="15">&nbsp;</td><td valign="top">
<table cellpadding="2" cellspacing="0" border="0" width="100%">
#else
#if ($vidx > 0)
<tr><td colspan="4">&nbsp;</td></tr>
#end
#end
<tr style="color: $fcolor" bgcolor="$scolor"><td colspan="2" align="left">$xtask.name</td>
<td colspan="2">&nbsp;</td></tr>
$xcats.clear()
#foreach ($task in $xtask.tasks)
#if ($xcats.checkCategory($task.complexity))
<tr><td colspan="4" class="small" style="border-bottom: 1px solid"><i>$task.complexity</i></td></tr>
#if ($xcats.checkCategory($task.category))
<tr><td colspan="4" class="small" style="border-bottom: 1px solid"><i>$task.category</i></td></tr>
#set ($border = "")
#else
#set ($border = 'style="border-top: 1px solid"')
@@ -64,6 +55,13 @@ $xcats.clear()
<img src="images/edit.png" border="0" alt="Edit this task"></a></td>
</tr>
#end
</table>
#if ($vidx%2 == 1)
</td></tr><tr><td valign="top">
#else
</td><td width="15">&nbsp;</td><td valign="top">
#end
#end
</table>
</table>