From: Jeff J. <jef...@us...> - 2006-08-05 04:05:14
|
jeffjensen 06/08/04 21:05:13 Modified: tasks/src/plugin-resources tasks.jsl Log: Correct so works with Maven 1.1 b3. Also changed to support HTML in task element. Revision Changes Path 1.5 +2 -2 maven-plugins/tasks/src/plugin-resources/tasks.jsl Index: tasks.jsl =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/src/plugin-resources/tasks.jsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- tasks.jsl 22 May 2004 05:17:42 -0000 1.4 +++ tasks.jsl 5 Aug 2006 04:05:13 -0000 1.5 @@ -57,7 +57,7 @@ <tr> <td><a href="team-list.html#${creator}">${creator}</a></td> <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> - <td><x:expr select="string(.)"/></td> + <td><jsl:applyTemplates select="$task"/></td> <td>${startdate}</td> <td>${enddate}</td> <td>${effort}</td> @@ -91,7 +91,7 @@ <tr> <td><a href="team-list.html#${creator}">${creator}</a></td> <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> - <td><x:expr select="string(.)"/></td> + <td><jsl:applyTemplates select="$task"/></td> <td>${startdate}</td> <td>${enddate}</td> <td>${effort}</td> |
From: Jeff J. <jef...@us...> - 2006-08-05 16:40:20
|
jeffjensen 06/08/05 09:40:19 Modified: tasks/src/plugin-resources tasks.jsl Log: Reformat only; no code changes. Revision Changes Path 1.6 +189 -117 maven-plugins/tasks/src/plugin-resources/tasks.jsl Index: tasks.jsl =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/src/plugin-resources/tasks.jsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- tasks.jsl 5 Aug 2006 04:05:13 -0000 1.5 +++ tasks.jsl 5 Aug 2006 16:40:19 -0000 1.6 @@ -1,120 +1,192 @@ <?xml version="1.0"?> - -<jsl:stylesheet - select="$doc" - xmlns:j="jelly:core" - xmlns:jsl="jelly:jsl" - xmlns:x="jelly:xml" - xmlns="dummy" trim="false"> - <jsl:template match="document"> - <document> - <jsl:applyTemplates select="*"/> - </document> - </jsl:template> - - <jsl:template match="body" trim="false"> - <body> - <!-- Index of categories --> - <section name="Task Categories"> - <table> - <tr><th style='width:50px'>Category</th><th>Description</th><th style='width:50px'>Owner</th></tr> - <x:forEach select="category"> - <tr> - <j:set var="name"><x:expr select="@name"/></j:set> - <j:set var="description"><x:expr select="@description"/></j:set> - <j:set var="owner"><x:expr select="@owner"/></j:set> - <td><a href="#${name}">${name}</a></td> - <td>${description}</td> - <td><a href="team-list.html#${owner}">${owner}</a></td> - </tr> - </x:forEach> - </table> - </section> - - <!-- Category details --> - <x:forEach select="category"> - <j:set var="category"><x:expr select="@name"/></j:set> - <section name="Tasks : ${category}"> - <a name="${category}"/> - <!-- Tasks for the category --> - <table> - <tr><th style='width:60px'>Creator</th><th style='width:60px'>Assigned to</th><th>Task</th><th style='width:50px'>Start Date</th><th style='width:50px'>End Date</th><th style='width:30px'>Effort</th><th style='width:50px'>Status</th><th>Version</th></tr> - <x:forEach var="task" select="task"> - <j:set var="creator"><x:expr select="@creator"/></j:set> - <j:if test="${empty(creator)}"> - <j:set var="creator">Unknown</j:set> - </j:if> - <j:set var="assignedto"><x:expr select="@assignedto"/></j:set> - <j:set var="startdate"><x:expr select="@startdate"/></j:set> - <j:set var="enddate"><x:expr select="@enddate"/></j:set> - <j:set var="effort"><x:expr select="@effort"/></j:set> - <j:set var="status"><x:expr select="@status"/></j:set> - <j:if test="${empty(status)}"> - <j:set var="status">Not started</j:set> - </j:if> - <j:set var="version"><x:expr select="@version"/></j:set> - <tr> - <td><a href="team-list.html#${creator}">${creator}</a></td> - <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> - <td><jsl:applyTemplates select="$task"/></td> - <td>${startdate}</td> - <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> - <td>${version}</td> - </tr> - </x:forEach> - </table> - - <!-- Subcategories --> - <x:forEach select="subcategory"> - <j:set var="subcategory"><x:expr select="@name"/></j:set> - <subsection name="Tasks : ${category} - ${subcategory}"> - <!-- Tasks for the subcategory --> - <table> - <tr><th style='width:60px'>Creator</th><th style='width:60px'>Assigned to</th><th>Task</th><th style='width:50px'>Start Date</th><th style='width:50px'>End Date</th><th style='width:30px'>Effort</th><th style='width:50px'>Status</th><th>Version</th></tr> - <x:forEach var="task" select="task"> - <j:set var="creator"><x:expr select="@creator"/></j:set> - <j:if test="${empty(creator)}"> - <j:set var="creator">Unknown</j:set> - </j:if> - <j:set var="assignedto"><x:expr select="@assignedto"/></j:set> - <j:set var="startdate"><x:expr select="@startdate"/></j:set> - <j:set var="enddate"><x:expr select="@enddate"/></j:set> - <j:set var="effort"><x:expr select="@effort"/></j:set> - <j:set var="status"><x:expr select="@status"/></j:set> - <j:if test="${empty(status)}"> - <j:set var="status">Not started</j:set> - </j:if> - <j:set var="version"><x:expr select="@version"/></j:set> - <tr> - <td><a href="team-list.html#${creator}">${creator}</a></td> - <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> - <td><jsl:applyTemplates select="$task"/></td> - <td>${startdate}</td> - <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> - <td>${version}</td> - </tr> - </x:forEach> - </table> - </subsection> - </x:forEach> - </section> +<jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" + xmlns:x="jelly:xml" xmlns="dummy" trim="false"> + + <jsl:template match="document"> + <document> + <jsl:applyTemplates select="*"/> + </document> + </jsl:template> + + <jsl:template match="body" trim="false"> + <body> + <!-- Index of categories --> + <section name="Task Categories"> + <table> + <tr> + <th style='width:50px'>Category</th> + <th>Description</th> + <th style='width:50px'>Owner</th> + </tr> + <x:forEach select="category"> + <tr> + <j:set var="name"> + <x:expr select="@name"/> + </j:set> + <j:set var="description"> + <x:expr select="@description"/> + </j:set> + <j:set var="owner"> + <x:expr select="@owner"/> + </j:set> + <td> + <a href="#${name}">${name}</a> + </td> + <td>${description}</td> + <td> + <a href="team-list.html#${owner}">${owner}</a> + </td> + </tr> + </x:forEach> + </table> + </section> + + <!-- Category details --> + <x:forEach select="category"> + <j:set var="category"> + <x:expr select="@name"/> + </j:set> + <section name="Tasks : ${category}"> + <a name="${category}"/> + <!-- Tasks for the category --> + <table> + <tr> + <th style='width:60px'>Creator</th> + <th style='width:60px'>Assigned to</th> + <th>Task</th> + <th style='width:50px'>Start Date</th> + <th style='width:50px'>End Date</th> + <th style='width:30px'>Effort</th> + <th style='width:50px'>Status</th> + <th>Version</th> + </tr> + <x:forEach var="task" select="task"> + <j:set var="creator"> + <x:expr select="@creator"/> + </j:set> + <j:if test="${empty(creator)}"> + <j:set var="creator">Unknown</j:set> + </j:if> + <j:set var="assignedto"> + <x:expr select="@assignedto"/> + </j:set> + <j:set var="startdate"> + <x:expr select="@startdate"/> + </j:set> + <j:set var="enddate"> + <x:expr select="@enddate"/> + </j:set> + <j:set var="effort"> + <x:expr select="@effort"/> + </j:set> + <j:set var="status"> + <x:expr select="@status"/> + </j:set> + <j:if test="${empty(status)}"> + <j:set var="status">Not started</j:set> + </j:if> + <j:set var="version"> + <x:expr select="@version"/> + </j:set> + <tr> + <td> + <a href="team-list.html#${creator}">${creator}</a> + </td> + <td> + <a href="team-list.html#${assignedto}">${assignedto}</a> + </td> + <td> + <jsl:applyTemplates select="$task"/> + </td> + <td>${startdate}</td> + <td>${enddate}</td> + <td>${effort}</td> + <td>${status}</td> + <td>${version}</td> + </tr> </x:forEach> - </body> - </jsl:template> - - <!-- copy any other elements through --> - <jsl:template match="*" trim="false"> - <jsl:copy trim="false"> - <jsl:applyTemplates trim="false"/> - </jsl:copy> - </jsl:template> - - <!-- element values don't pass through as text --> - <jsl:template match="@*"/> - -</jsl:stylesheet> + </table> + + <!-- Subcategories --> + <x:forEach select="subcategory"> + <j:set var="subcategory"> + <x:expr select="@name"/> + </j:set> + <subsection name="Tasks : ${category} - ${subcategory}"> + <!-- Tasks for the subcategory --> + <table> + <tr> + <th style='width:60px'>Creator</th> + <th style='width:60px'>Assigned to</th> + <th>Task</th> + <th style='width:50px'>Start Date</th> + <th style='width:50px'>End Date</th> + <th style='width:30px'>Effort</th> + <th style='width:50px'>Status</th> + <th>Version</th> + </tr> + <x:forEach var="task" select="task"> + <j:set var="creator"> + <x:expr select="@creator"/> + </j:set> + <j:if test="${empty(creator)}"> + <j:set var="creator">Unknown</j:set> + </j:if> + <j:set var="assignedto"> + <x:expr select="@assignedto"/> + </j:set> + <j:set var="startdate"> + <x:expr select="@startdate"/> + </j:set> + <j:set var="enddate"> + <x:expr select="@enddate"/> + </j:set> + <j:set var="effort"> + <x:expr select="@effort"/> + </j:set> + <j:set var="status"> + <x:expr select="@status"/> + </j:set> + <j:if test="${empty(status)}"> + <j:set var="status">Not started</j:set> + </j:if> + <j:set var="version"> + <x:expr select="@version"/> + </j:set> + <tr> + <td> + <a href="team-list.html#${creator}">${creator}</a> + </td> + <td> + <a href="team-list.html#${assignedto}">${assignedto}</a> + </td> + <td> + <jsl:applyTemplates select="$task"/> + </td> + <td>${startdate}</td> + <td>${enddate}</td> + <td>${effort}</td> + <td>${status}</td> + <td>${version}</td> + </tr> + </x:forEach> + </table> + </subsection> + </x:forEach> + </section> + </x:forEach> + </body> + </jsl:template> + + <!-- copy any other elements through --> + <jsl:template match="*" trim="false"> + <jsl:copy trim="false"> + <jsl:applyTemplates trim="false"/> + </jsl:copy> + </jsl:template> + + <!-- element values don't pass through as text --> + <jsl:template match="@*"/> + +</jsl:stylesheet> \ No newline at end of file |
From: Jeff J. <jef...@us...> - 2006-08-06 02:11:42
|
jeffjensen 06/08/05 19:11:40 Modified: tasks/src/plugin-resources tasks.jsl Log: Undo reformat by starting with revision 1.5 (use of default values when blank stopped working for an unknown reason after reformat). Contains only reformat header code in prep for column changes. Revision Changes Path 1.7 +135 -189 maven-plugins/tasks/src/plugin-resources/tasks.jsl Index: tasks.jsl =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/src/plugin-resources/tasks.jsl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- tasks.jsl 5 Aug 2006 16:40:19 -0000 1.6 +++ tasks.jsl 6 Aug 2006 02:11:40 -0000 1.7 @@ -1,192 +1,138 @@ <?xml version="1.0"?> + +<jsl:stylesheet + select="$doc" + xmlns:j="jelly:core" + xmlns:jsl="jelly:jsl" + xmlns:x="jelly:xml" + xmlns="dummy" trim="false"> -<jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" - xmlns:x="jelly:xml" xmlns="dummy" trim="false"> - - <jsl:template match="document"> - <document> - <jsl:applyTemplates select="*"/> - </document> - </jsl:template> - - <jsl:template match="body" trim="false"> - <body> - <!-- Index of categories --> - <section name="Task Categories"> - <table> - <tr> - <th style='width:50px'>Category</th> - <th>Description</th> - <th style='width:50px'>Owner</th> - </tr> - <x:forEach select="category"> - <tr> - <j:set var="name"> - <x:expr select="@name"/> - </j:set> - <j:set var="description"> - <x:expr select="@description"/> - </j:set> - <j:set var="owner"> - <x:expr select="@owner"/> - </j:set> - <td> - <a href="#${name}">${name}</a> - </td> - <td>${description}</td> - <td> - <a href="team-list.html#${owner}">${owner}</a> - </td> - </tr> - </x:forEach> - </table> - </section> - - <!-- Category details --> - <x:forEach select="category"> - <j:set var="category"> - <x:expr select="@name"/> - </j:set> - <section name="Tasks : ${category}"> - <a name="${category}"/> - <!-- Tasks for the category --> - <table> - <tr> - <th style='width:60px'>Creator</th> - <th style='width:60px'>Assigned to</th> - <th>Task</th> - <th style='width:50px'>Start Date</th> - <th style='width:50px'>End Date</th> - <th style='width:30px'>Effort</th> - <th style='width:50px'>Status</th> - <th>Version</th> - </tr> - <x:forEach var="task" select="task"> - <j:set var="creator"> - <x:expr select="@creator"/> - </j:set> - <j:if test="${empty(creator)}"> - <j:set var="creator">Unknown</j:set> - </j:if> - <j:set var="assignedto"> - <x:expr select="@assignedto"/> - </j:set> - <j:set var="startdate"> - <x:expr select="@startdate"/> - </j:set> - <j:set var="enddate"> - <x:expr select="@enddate"/> - </j:set> - <j:set var="effort"> - <x:expr select="@effort"/> - </j:set> - <j:set var="status"> - <x:expr select="@status"/> - </j:set> - <j:if test="${empty(status)}"> - <j:set var="status">Not started</j:set> - </j:if> - <j:set var="version"> - <x:expr select="@version"/> - </j:set> - <tr> - <td> - <a href="team-list.html#${creator}">${creator}</a> - </td> - <td> - <a href="team-list.html#${assignedto}">${assignedto}</a> - </td> - <td> - <jsl:applyTemplates select="$task"/> - </td> - <td>${startdate}</td> - <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> - <td>${version}</td> - </tr> + <jsl:template match="document"> + <document> + <jsl:applyTemplates select="*"/> + </document> + </jsl:template> + + <jsl:template match="body" trim="false"> + <body> + <!-- Index of categories --> + <section name="Task Categories"> + <table> + <tr><th style='width:50px'>Category</th><th>Description</th><th style='width:50px'>Owner</th></tr> + <x:forEach select="category"> + <tr> + <j:set var="name"><x:expr select="@name"/></j:set> + <j:set var="description"><x:expr select="@description"/></j:set> + <j:set var="owner"><x:expr select="@owner"/></j:set> + <td><a href="#${name}">${name}</a></td> + <td>${description}</td> + <td><a href="team-list.html#${owner}">${owner}</a></td> + </tr> + </x:forEach> + </table> + </section> + + <!-- Category details --> + <x:forEach select="category"> + <j:set var="category"><x:expr select="@name"/></j:set> + <section name="Tasks : ${category}"> + <a name="${category}"/> + <!-- Tasks for the category --> + <table> + <tr> + <th style='width:60px'>Creator</th> + <th style='width:60px'>Assigned to</th> + <th>Task</th> + <th style='width:50px'>Start Date</th> + <th style='width:50px'>End Date</th> + <th style='width:30px'>Effort</th> + <th style='width:50px'>Status</th> + <th>Version</th> + </tr> + <x:forEach var="task" select="task"> + <j:set var="creator"><x:expr select="@creator"/></j:set> + <j:if test="${empty(creator)}"> + <j:set var="creator">Unknown</j:set> + </j:if> + <j:set var="assignedto"><x:expr select="@assignedto"/></j:set> + <j:set var="startdate"><x:expr select="@startdate"/></j:set> + <j:set var="enddate"><x:expr select="@enddate"/></j:set> + <j:set var="effort"><x:expr select="@effort"/></j:set> + <j:set var="status"><x:expr select="@status"/></j:set> + <j:if test="${empty(status)}"> + <j:set var="status">Not started</j:set> + </j:if> + <j:set var="version"><x:expr select="@version"/></j:set> + <tr> + <td><a href="team-list.html#${creator}">${creator}</a></td> + <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> + <td><jsl:applyTemplates select="$task"/></td> + <td>${startdate}</td> + <td>${enddate}</td> + <td>${effort}</td> + <td>${status}</td> + <td>${version}</td> + </tr> + </x:forEach> + </table> + + <!-- Subcategories --> + <x:forEach select="subcategory"> + <j:set var="subcategory"><x:expr select="@name"/></j:set> + <subsection name="Tasks : ${category} - ${subcategory}"> + <!-- Tasks for the subcategory --> + <table> + <tr> + <th style='width:60px'>Creator</th> + <th style='width:60px'>Assigned to</th> + <th>Task</th> + <th style='width:50px'>Start Date</th> + <th style='width:50px'>End Date</th> + <th style='width:30px'>Effort</th> + <th style='width:50px'>Status</th> + <th>Version</th> + </tr> + <x:forEach var="task" select="task"> + <j:set var="creator"><x:expr select="@creator"/></j:set> + <j:if test="${empty(creator)}"> + <j:set var="creator">Unknown</j:set> + </j:if> + <j:set var="assignedto"><x:expr select="@assignedto"/></j:set> + <j:set var="startdate"><x:expr select="@startdate"/></j:set> + <j:set var="enddate"><x:expr select="@enddate"/></j:set> + <j:set var="effort"><x:expr select="@effort"/></j:set> + <j:set var="status"><x:expr select="@status"/></j:set> + <j:if test="${empty(status)}"> + <j:set var="status">Not started</j:set> + </j:if> + <j:set var="version"><x:expr select="@version"/></j:set> + <tr> + <td><a href="team-list.html#${creator}">${creator}</a></td> + <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> + <td><jsl:applyTemplates select="$task"/></td> + <td>${startdate}</td> + <td>${enddate}</td> + <td>${effort}</td> + <td>${status}</td> + <td>${version}</td> + </tr> + </x:forEach> + </table> + </subsection> + </x:forEach> + </section> </x:forEach> - </table> - - <!-- Subcategories --> - <x:forEach select="subcategory"> - <j:set var="subcategory"> - <x:expr select="@name"/> - </j:set> - <subsection name="Tasks : ${category} - ${subcategory}"> - <!-- Tasks for the subcategory --> - <table> - <tr> - <th style='width:60px'>Creator</th> - <th style='width:60px'>Assigned to</th> - <th>Task</th> - <th style='width:50px'>Start Date</th> - <th style='width:50px'>End Date</th> - <th style='width:30px'>Effort</th> - <th style='width:50px'>Status</th> - <th>Version</th> - </tr> - <x:forEach var="task" select="task"> - <j:set var="creator"> - <x:expr select="@creator"/> - </j:set> - <j:if test="${empty(creator)}"> - <j:set var="creator">Unknown</j:set> - </j:if> - <j:set var="assignedto"> - <x:expr select="@assignedto"/> - </j:set> - <j:set var="startdate"> - <x:expr select="@startdate"/> - </j:set> - <j:set var="enddate"> - <x:expr select="@enddate"/> - </j:set> - <j:set var="effort"> - <x:expr select="@effort"/> - </j:set> - <j:set var="status"> - <x:expr select="@status"/> - </j:set> - <j:if test="${empty(status)}"> - <j:set var="status">Not started</j:set> - </j:if> - <j:set var="version"> - <x:expr select="@version"/> - </j:set> - <tr> - <td> - <a href="team-list.html#${creator}">${creator}</a> - </td> - <td> - <a href="team-list.html#${assignedto}">${assignedto}</a> - </td> - <td> - <jsl:applyTemplates select="$task"/> - </td> - <td>${startdate}</td> - <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> - <td>${version}</td> - </tr> - </x:forEach> - </table> - </subsection> - </x:forEach> - </section> - </x:forEach> - </body> - </jsl:template> - - <!-- copy any other elements through --> - <jsl:template match="*" trim="false"> - <jsl:copy trim="false"> - <jsl:applyTemplates trim="false"/> - </jsl:copy> - </jsl:template> - - <!-- element values don't pass through as text --> - <jsl:template match="@*"/> - -</jsl:stylesheet> \ No newline at end of file + </body> + </jsl:template> + + <!-- copy any other elements through --> + <jsl:template match="*" trim="false"> + <jsl:copy trim="false"> + <jsl:applyTemplates trim="false"/> + </jsl:copy> + </jsl:template> + + <!-- element values don't pass through as text --> + <jsl:template match="@*"/> + +</jsl:stylesheet> |
From: Jeff J. <jef...@us...> - 2006-08-06 02:35:14
|
jeffjensen 06/08/05 19:35:13 Modified: tasks/src/plugin-resources tasks.jsl Log: Reorder columns on report to have most significant columns first. Revision Changes Path 1.8 +22 -22 maven-plugins/tasks/src/plugin-resources/tasks.jsl Index: tasks.jsl =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/src/plugin-resources/tasks.jsl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- tasks.jsl 6 Aug 2006 02:11:40 -0000 1.7 +++ tasks.jsl 6 Aug 2006 02:35:13 -0000 1.8 @@ -40,14 +40,14 @@ <!-- Tasks for the category --> <table> <tr> - <th style='width:60px'>Creator</th> - <th style='width:60px'>Assigned to</th> <th>Task</th> + <th style='width:50px'>Status</th> + <th style='width:30px'>Effort</th> + <th style='width:60px'>Assigned to</th> + <th style='width:60px'>Creator</th> <th style='width:50px'>Start Date</th> <th style='width:50px'>End Date</th> - <th style='width:30px'>Effort</th> - <th style='width:50px'>Status</th> - <th>Version</th> + <th style='width:30px'>Version</th> </tr> <x:forEach var="task" select="task"> <j:set var="creator"><x:expr select="@creator"/></j:set> @@ -64,13 +64,13 @@ </j:if> <j:set var="version"><x:expr select="@version"/></j:set> <tr> - <td><a href="team-list.html#${creator}">${creator}</a></td> - <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> <td><jsl:applyTemplates select="$task"/></td> + <td>${status}</td> + <td>${effort}</td> + <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> + <td><a href="team-list.html#${creator}">${creator}</a></td> <td>${startdate}</td> <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> <td>${version}</td> </tr> </x:forEach> @@ -83,14 +83,14 @@ <!-- Tasks for the subcategory --> <table> <tr> - <th style='width:60px'>Creator</th> - <th style='width:60px'>Assigned to</th> <th>Task</th> + <th style='width:50px'>Status</th> + <th style='width:30px'>Effort</th> + <th style='width:60px'>Assigned to</th> + <th style='width:60px'>Creator</th> <th style='width:50px'>Start Date</th> <th style='width:50px'>End Date</th> - <th style='width:30px'>Effort</th> - <th style='width:50px'>Status</th> - <th>Version</th> + <th style='width:30px'>Version</th> </tr> <x:forEach var="task" select="task"> <j:set var="creator"><x:expr select="@creator"/></j:set> @@ -107,14 +107,14 @@ </j:if> <j:set var="version"><x:expr select="@version"/></j:set> <tr> - <td><a href="team-list.html#${creator}">${creator}</a></td> - <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> - <td><jsl:applyTemplates select="$task"/></td> - <td>${startdate}</td> - <td>${enddate}</td> - <td>${effort}</td> - <td>${status}</td> - <td>${version}</td> + <td><jsl:applyTemplates select="$task"/></td> + <td>${status}</td> + <td>${effort}</td> + <td><a href="team-list.html#${assignedto}">${assignedto}</a></td> + <td><a href="team-list.html#${creator}">${creator}</a></td> + <td>${startdate}</td> + <td>${enddate}</td> + <td>${version}</td> </tr> </x:forEach> </table> |
From: Jeff J. <jef...@us...> - 2006-08-06 02:41:45
|
jeffjensen 06/08/05 19:41:44 Modified: tasks/src/plugin-resources tasks.jsl Log: Add priority column. Revision Changes Path 1.9 +6 -0 maven-plugins/tasks/src/plugin-resources/tasks.jsl Index: tasks.jsl =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/tasks/src/plugin-resources/tasks.jsl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- tasks.jsl 6 Aug 2006 02:35:13 -0000 1.8 +++ tasks.jsl 6 Aug 2006 02:41:44 -0000 1.9 @@ -40,6 +40,7 @@ <!-- Tasks for the category --> <table> <tr> + <th style='width:30px'>Priority</th> <th>Task</th> <th style='width:50px'>Status</th> <th style='width:30px'>Effort</th> @@ -50,6 +51,7 @@ <th style='width:30px'>Version</th> </tr> <x:forEach var="task" select="task"> + <j:set var="priority"><x:expr select="@priority"/></j:set> <j:set var="creator"><x:expr select="@creator"/></j:set> <j:if test="${empty(creator)}"> <j:set var="creator">Unknown</j:set> @@ -64,6 +66,7 @@ </j:if> <j:set var="version"><x:expr select="@version"/></j:set> <tr> + <td>${priority}</td> <td><jsl:applyTemplates select="$task"/></td> <td>${status}</td> <td>${effort}</td> @@ -83,6 +86,7 @@ <!-- Tasks for the subcategory --> <table> <tr> + <th style='width:30px'>Priority</th> <th>Task</th> <th style='width:50px'>Status</th> <th style='width:30px'>Effort</th> @@ -93,6 +97,7 @@ <th style='width:30px'>Version</th> </tr> <x:forEach var="task" select="task"> + <j:set var="priority"><x:expr select="@priority"/></j:set> <j:set var="creator"><x:expr select="@creator"/></j:set> <j:if test="${empty(creator)}"> <j:set var="creator">Unknown</j:set> @@ -107,6 +112,7 @@ </j:if> <j:set var="version"><x:expr select="@version"/></j:set> <tr> + <td>${priority}</td> <td><jsl:applyTemplates select="$task"/></td> <td>${status}</td> <td>${effort}</td> |