Ignore:
Timestamp:
Mar 16, 2010, 5:18:20 PM (14 years ago)
Author:
gav
Message:

Add maxSubTasks and useTargetCompletionDate to TaskRecurringSchedule as features to end subTask generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp

    r213 r445  
    8181                                </td>
    8282                            </tr>
     83                     
     84                            <tr class="prop">
     85                                <td valign="top" class="name">
     86                                    <label for="maxSubTasks">Max Sub Tasks:</label>
     87                                </td>
     88                                <td valign="top" class="value" >
     89                                    <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'maxSubTasks','errors')}"
     90                                        id="maxSubTasks" name="maxSubTasks" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'maxSubTasks')}" />
     91                                        <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.maxSubTasks" />
     92                                </td>
     93                            </tr>
     94                       
     95                            <tr class="prop">
     96                                <td valign="top" class="name">
     97                                    <label for="useTargetCompletionDate">Use Target Completion Date:</label>
     98                                </td>
     99                                <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'useTargetCompletionDate','errors')}">
     100                                    <g:checkBox name="useTargetCompletionDate"
     101                                                            value="${taskRecurringScheduleInstance?.useTargetCompletionDate}" >
     102                                    </g:checkBox>
     103                                    <g:helpBalloon class="helpballoon" code="taskRecurringSchedule.useTargetCompletionDate" />
     104                                    <g:formatDate date="${taskRecurringScheduleInstance.task.targetCompletionDate}"
     105                                                                    format="EEE, dd-MMM-yyyy"/>
     106                                </td>
     107                            </tr>
    83108                       
    84109                            <tr class="prop">
Note: See TracChangeset for help on using the changeset viewer.