Index: trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp
===================================================================
--- trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp	(revision 213)
+++ trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp	(revision 445)
@@ -81,4 +81,29 @@
                                 </td>
                             </tr>
+                      
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="maxSubTasks">Max Sub Tasks:</label>
+                                </td>
+                                <td valign="top" class="value" >
+                                    <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'maxSubTasks','errors')}"
+                                        id="maxSubTasks" name="maxSubTasks" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'maxSubTasks')}" />
+                                        <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.maxSubTasks" />
+                                </td>
+                            </tr>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="useTargetCompletionDate">Use Target Completion Date:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'useTargetCompletionDate','errors')}">
+                                    <g:checkBox name="useTargetCompletionDate"
+                                                            value="${taskRecurringScheduleInstance?.useTargetCompletionDate}" >
+                                    </g:checkBox>
+                                    <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.useTargetCompletionDate" />
+                                    <g:formatDate date="${taskRecurringScheduleInstance.task.targetCompletionDate}"
+                                                                    format="EEE, dd-MMM-yyyy"/>
+                                </td>
+                            </tr>
                         
                             <tr class="prop">
Index: trunk/grails-app/views/taskRecurringScheduleDetailed/edit.gsp
===================================================================
--- trunk/grails-app/views/taskRecurringScheduleDetailed/edit.gsp	(revision 213)
+++ trunk/grails-app/views/taskRecurringScheduleDetailed/edit.gsp	(revision 445)
@@ -34,4 +34,14 @@
                                 <td valign="top" name="recForTask" class="value">
                                     <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.task?.id}">${taskRecurringScheduleInstance?.task?.encodeAsHTML()}</g:link>
+                                </td>
+                            </tr>
+                        
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="enabled">Enabled:</label>
+                                </td>
+                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}">
+                                    <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox>
+                                        <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.enabled" />
                                 </td>
                             </tr>
@@ -82,12 +92,27 @@
                                 </td>
                             </tr>
+                      
+                            <tr class="prop">
+                                <td valign="top" class="name">
+                                    <label for="maxSubTasks">Max Sub Tasks:</label>
+                                </td>
+                                <td valign="top" class="value" >
+                                    <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'maxSubTasks','errors')}"
+                                        id="maxSubTasks" name="maxSubTasks" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'maxSubTasks')}" />
+                                        <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.maxSubTasks" />
+                                </td>
+                            </tr>
                         
                             <tr class="prop">
                                 <td valign="top" class="name">
-                                    <label for="enabled">Enabled:</label>
+                                    <label for="useTargetCompletionDate">Use Target Completion Date:</label>
                                 </td>
-                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}">
-                                    <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox>
-                                        <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.enabled" />
+                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'useTargetCompletionDate','errors')}">
+                                    <g:checkBox name="useTargetCompletionDate"
+                                                                value="${taskRecurringScheduleInstance?.useTargetCompletionDate}" >
+                                    </g:checkBox>
+                                    <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.useTargetCompletionDate" />
+                                    <g:formatDate date="${taskRecurringScheduleInstance.task.targetCompletionDate}"
+                                                                    format="EEE, dd-MMM-yyyy"/>
                                 </td>
                             </tr>
Index: trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp
===================================================================
--- trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp	(revision 213)
+++ trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp	(revision 445)
@@ -33,4 +33,21 @@
                             <td valign="top" class="value">${taskRecurringScheduleInstance.encodeAsHTML()}</td>
                         </tr>
+
+                        <tr class="prop">
+                            <td valign="top" class="name">Enabled:</td>
+
+                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td>
+                        </tr>
+
+                        <g:if test="${taskRecurringScheduleInstance.useTargetCompletionDate}" >
+                            <tr class="prop">
+                                <td valign="top" class="name">Task Target Completion:</td>
+
+                                <td valign="top" class="value">
+                                    <g:formatDate date="${taskRecurringScheduleInstance.task.targetCompletionDate}"
+                                                                    format="EEE, dd-MMM-yyyy"/>
+                                </td>
+                            </tr>
+                        </g:if>
 
                         <tr class="prop">
@@ -74,10 +91,4 @@
                         </tr>
 
-                        <tr class="prop">
-                            <td valign="top" class="name">Enabled:</td>
-
-                            <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td>
-                        </tr>
-
                     </tbody>
                 </table>
@@ -100,4 +111,14 @@
                             </td>
                         </tr>
+
+                        <g:if test="${taskRecurringScheduleInstance.maxSubTasks > 0}" >
+                            <tr class="prop">
+                                <td valign="top" class="name">Max Sub Tasks:</td>
+
+                                <td valign="top" class="value">
+                                    ${fieldValue(bean:taskRecurringScheduleInstance, field:'maxSubTasks')}
+                                </td>
+                            </tr>
+                        </g:if>
 
                         <g:if test="${taskRecurringScheduleInstance.lastGeneratedSubTask}">
