Moved the complete checkbox to completed, made a new complete checkbox.

Fixed bug with category helper not being reset.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@932 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-11-12 23:00:15 +00:00
parent d45494e867
commit 818c3a7682
4 changed files with 11 additions and 2 deletions
@@ -1,5 +1,5 @@
//
// $Id: index.java,v 1.6 2002/11/12 22:50:54 mdb Exp $
// $Id: index.java,v 1.7 2002/11/12 23:00:14 mdb Exp $
package com.samskivert.twodue.logic;
@@ -212,6 +212,12 @@ public class index extends UserLogic
return true;
}
}
public void clear ()
{
_category = null;
}
protected String _category;
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

+4 -1
View File
@@ -28,6 +28,7 @@ Outstanding tasks:
#end
<tr><td colspan="4" align="left" bgcolor="$scolor">$otask.name</td></tr>
$ocats.clear()
#foreach ($task in $otask.tasks)
<form action="index.wm">
$form.fixedHidden("action", "complete")
@@ -59,7 +60,7 @@ $form.imageSubmit("submit", "", "images/complete.png", "Mark as completed")
</table>
<p>
<center class="small">Click the check box to mark a task as completed.</center>
<center class="small">Check the box to mark a task as completed.</center>
</td><td valign="top">
@@ -77,6 +78,7 @@ $form.imageSubmit("submit", "", "images/complete.png", "Mark as completed")
#end
</td></tr>
$xcats.clear()
#foreach ($task in $xtask.tasks)
<form action="index.wm">
$form.fixedHidden("task", "$task.taskId")
@@ -135,6 +137,7 @@ Filter on single word:<br>
#set ($rowcolor = "#FFFFFF")
#end
<tr bgcolor="$rowcolor">
<td valign="top"><img src="images/completed.png"></td>
<td valign="top" align="center">$task.completion<br>[$task.completor]</td>
<td>$task.summary</td>
<td valign="top">$task.getDisplayCategory()</td>