[Planner Dev] Patch for % complete in HTML report
- From: David Sundstrom <public peapod net>
- To: planner-dev lists imendio com
- Subject: [Planner Dev] Patch for % complete in HTML report
- Date: Fri, 25 Feb 2005 10:56:23 -0600
Richard,
Attached is a diff against current CVS that adds a % Complete column
to the HTML task list.
Best Regards,
David
On Mon, 2005-02-14 at 18:35 -0600, David Sundstrom wrote:
> Hello,
>
> We use planner for simple software development task planning under
> linux (and perhaps soon mac OSX).
>
> One item we need to see over time is how a project is progressing.
> The Gantt chart shows this, but we'd like to see a column in the
> tasks table that shows the percent-complete value for each task.
>
> The patch below does this.
>
--- html1_tasks.xsl.orig 2005-02-25 16:01:55.951949040 +0000
+++ html1_tasks.xsl 2005-02-25 16:07:13.550666696 +0000
@@ -53,6 +53,7 @@
<th><span>Finish</span></th>
<th><span>Work</span></th>
<th><span>Priority</span></th>
+ <th><span>% Complete</span></th>
<th><span>Cost</span></th>
<xsl:if test="$hasnotes">
<th><span>Notes</span></th>
@@ -132,6 +133,8 @@
<td>
</td>
<td>
+ </td>
+ <td>
<span>
<xsl:variable name="std-rates" select="/project/resources/resource[ id=/project/allocations/allocation[ task-id=$tid]/@resource-id]/@std-rate"/>
<xsl:variable name="units" select="/project/allocations/allocation[ task-id=$tid]/@units"/>
@@ -191,8 +194,10 @@
</span>
</td>
<td>
- </td>
- <td>
+ </td>
+ <td>
+ </td>
+ <td>
</td>
<td>
<span>
@@ -267,6 +272,11 @@
</xsl:if>
</span>
</td>
+ <td>
+ <span>
+ <xsl:value-of select="@percent-complete"/>%
+ </span>
+ </td>
<td align="right">
<span>
<xsl:variable name="std-rates" select="/project/resources/resource[ id=/project/allocations/allocation[ task-id=$tid]/@resource-id]/@std-rate"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]