Changeset 199 for trunk/grails-app/views/taskRecurringScheduleDetailed
- Timestamp:
- Nov 28, 2009, 2:17:34 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 stacktrace.log1 *.log 2 2 *.war
-
- Property svn:ignore
-
trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp
r157 r199 38 38 <tr class="prop"> 39 39 <td valign="top" class="name"> 40 <label for=" startDate">Start Date:</label>40 <label for="nextTargetStartDate">Next Target Start Date:</label> 41 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' startDate','errors')}">43 <richui:dateChooser name=" startDate" format="dd-MM-yyyy" value="${taskRecurringScheduleInstance?.startDate}" />42 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> 43 <richui:dateChooser name="nextTargetStartDate" format="dd-MM-yyyy" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" /> 44 44 </td> 45 45 </tr> … … 74 74 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}" 75 75 id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 76 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select>76 ${Period.get(1).encodeAsHTML()} 77 77 </td> 78 78 </tr> … … 80 80 <tr class="prop"> 81 81 <td valign="top" class="name"> 82 <label for=" isEnabled">IsEnabled:</label>82 <label for="enabled">Enabled:</label> 83 83 </td> 84 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' isEnabled','errors')}">85 <g:checkBox name=" isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox>84 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}"> 85 <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox> 86 86 </td> 87 87 </tr> -
trunk/grails-app/views/taskRecurringScheduleDetailed/edit.gsp
r157 r199 39 39 <tr class="prop"> 40 40 <td valign="top" class="name"> 41 <label for=" startDate">Start Date:</label>41 <label for="nextTargetStartDate">Next Target Start Date:</label> 42 42 </td> 43 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' startDate','errors')}">44 <richui:dateChooser name=" startDate" format="dd-MM-yyyy" value="${taskRecurringScheduleInstance?.startDate}" />43 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> 44 <richui:dateChooser name="nextTargetStartDate" format="dd-MM-yyyy" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" /> 45 45 </td> 46 46 </tr> … … 75 75 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}" 76 76 id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 77 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select>77 ${Period.get(1).encodeAsHTML()} 78 78 </td> 79 79 </tr> … … 81 81 <tr class="prop"> 82 82 <td valign="top" class="name"> 83 <label for=" isEnabled">IsEnabled:</label>83 <label for="enabled">Enabled:</label> 84 84 </td> 85 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:' isEnabled','errors')}">86 <g:checkBox name=" isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox>85 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}"> 86 <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox> 87 87 </td> 88 88 </tr> -
trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp
r178 r199 29 29 <g:sortableColumn property="recurPeriod" title="Recur Period" /> 30 30 31 <g:sortableColumn property=" isEnabled" title="IsEnabled" />31 <g:sortableColumn property="enabled" title="Enabled" /> 32 32 33 33 <th></th> … … 48 48 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td> 49 49 50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:' isEnabled')}</td>50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> 51 51 52 52 <td> -
trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp
r157 r199 13 13 <div class="body"> 14 14 <g:if test="${flash.message}"> 15 <div class="message">${flash.message}</div>15 <div class="message">${flash.message}</div> 16 16 </g:if> 17 17 <div class="dialog"> 18 18 <table> 19 <tbody> 20 19 <tbody> 21 20 <tr class="prop"> 22 <td valign="top" class="name">Id:</td> 23 24 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</td> 25 21 <td valign="top" class="name">Recurring Schedule for task:</td> 22 23 <td valign="top" class="value"> 24 <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance.task?.id}"> 25 ${taskRecurringScheduleInstance.task.encodeAsHTML()} 26 </g:link> 27 </td> 26 28 </tr> 27 29 28 <tr class="prop">29 <td valign="top" class="name">30 <label for="recForTask">Recurring Schedule for Task:</label>31 </td>32 <td valign="top" name="recForTask" class="value">33 <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.task?.id}">${taskRecurringScheduleInstance?.task?.encodeAsHTML()}</g:link>34 </td>35 </tr>36 37 30 <tr class="prop"> 38 <td valign="top" class="name">Start Date:</td> 39 40 <td valign="top" class="value"> 41 <g:formatDate date="${taskRecurringScheduleInstance.startDate}" format="EEE, dd-MMM-yyyy"/> 42 </td> 31 <td valign="top" class="name"></td> 32 33 <td valign="top" class="value">${taskRecurringScheduleInstance.encodeAsHTML()}</td> 43 34 </tr> 44 45 <tr class="prop"> 46 <td valign="top" class="name">Recur Every:</td> 47 48 <td valign="top" class="value"> 49 ${taskRecurringScheduleInstance?.recurEvery} ${taskRecurringScheduleInstance?.recurPeriod} 50 </td> 51 52 </tr> 53 54 <tr class="prop"> 55 <td valign="top" class="name">Task Duration:</td> 56 57 <td valign="top" class="value"> 58 ${taskRecurringScheduleInstance?.taskDuration} ${taskRecurringScheduleInstance?.taskDurationPeriod} 59 </td> 60 </tr> 61 62 <tr class="prop"> 63 <td valign="top" class="name">Generate Ahead:</td> 64 65 <td valign="top" class="value"> 66 ${taskRecurringScheduleInstance?.generateAhead} ${taskRecurringScheduleInstance?.generateAheadPeriod} 67 </td> 68 69 </tr> 70 71 <tr class="prop"> 72 <td valign="top" class="name">Is Enabled:</td> 73 74 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> 75 76 </tr> 77 </tbody> 78 </table> 79 80 <table> 81 <tbody> 82 <tr class="prop"> 83 <td valign="top" class="name">Next Target Start Date:</td> 84 85 <td valign="top" class="value"> 86 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> 87 </td> 88 89 </tr> 90 91 <tr class="prop"> 92 <td valign="top" class="name">Next Target Completion Date:</td> 93 94 <td valign="top" class="value"> 95 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd-MMM-yyyy"/> 96 </td> 97 98 </tr> 99 35 100 36 <tr class="prop"> 101 37 <td valign="top" class="name">Next Generation Date:</td> 102 38 103 39 <td valign="top" class="value"> 104 40 <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd-MMM-yyyy"/> 105 41 </td> 106 42 </tr> 107 43 108 44 <tr class="prop"> 109 <td valign="top" class="name"> Last Generated Date:</td>110 45 <td valign="top" class="name">Generate Ahead:</td> 46 111 47 <td valign="top" class="value"> 112 <g:formatDate date="${taskRecurringScheduleInstance.lastGeneratedDate}" format="EEE, dd-MMM-yyyy"/>113 48 ${taskRecurringScheduleInstance.generateAhead} ${Period.get(1).encodeAsHTML()} 49 </td> 114 50 </tr> 115 51 116 52 <tr class="prop"> 117 <td valign="top" class="name"> Last Generated Sub Task:</td>118 53 <td valign="top" class="name">Next Target Start Date:</td> 54 119 55 <td valign="top" class="value"> 120 <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}"> 121 ${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()} 122 </g:link> 123 </td> 124 56 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> 57 </td> 125 58 </tr> 126 59 60 <tr class="prop"> 61 <td valign="top" class="name">Task Duration:</td> 62 63 <td valign="top" class="value"> 64 ${taskRecurringScheduleInstance.taskDuration} ${taskRecurringScheduleInstance.taskDurationPeriod} 65 </td> 66 </tr> 67 68 <tr class="prop"> 69 <td valign="top" class="name">Next Target Completion Date:</td> 70 71 <td valign="top" class="value"> 72 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd-MMM-yyyy"/> 73 </td> 74 </tr> 75 76 <tr class="prop"> 77 <td valign="top" class="name">Enabled:</td> 78 79 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> 80 </tr> 81 82 </tbody> 83 </table> 84 <table> 85 <tbody> 86 87 <tr class="prop"> 88 <td valign="top" class="name">Note:</td> 89 90 <td valign="top" class="value"> 91 Recurring Schedules are reviewed and Sub Tasks generated every ${grailsApplication.config.taskRecurringScheduleJob.repeatInterval.encodeAsHTML()} seconds. 92 </td> 93 </tr> 94 95 <tr class="prop"> 96 <td valign="top" class="name">Sub Tasks Generated:</td> 97 98 <td valign="top" class="value"> 99 ${fieldValue(bean:taskRecurringScheduleInstance, field:'subTasksGenerated')} 100 </td> 101 </tr> 102 103 <g:if test="${taskRecurringScheduleInstance.lastGeneratedSubTask}"> 104 105 <tr class="prop"> 106 <td valign="top" class="name">Last Generated Sub Task:</td> 107 108 <td valign="top" class="value"> 109 <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance.lastGeneratedSubTask?.id}"> 110 ${taskRecurringScheduleInstance.lastGeneratedSubTask?.encodeAsHTML()} 111 </g:link> 112 </td> 113 </tr> 114 115 <tr class="prop"> 116 <td valign="top" class="name"></td> 117 118 <td valign="top" class="value"> 119 ${TaskModification.findByTaskAndTaskModificationType(taskRecurringScheduleInstance.lastGeneratedSubTask, TaskModificationType.get(1))} 120 </td> 121 </tr> 122 123 <tr class="prop"> 124 <td valign="top" class="name"></td> 125 126 <td valign="top" class="value"> 127 With target start date: 128 <g:formatDate date="${taskRecurringScheduleInstance.lastGeneratedSubTask?.targetStartDate}" format="EEE, dd-MMM-yyyy"/> 129 </td> 130 </tr> 131 132 </g:if> 133 127 134 </tbody> 128 135 </table> … … 130 137 <div class="buttons"> 131 138 <g:form> 132 <input type="hidden" name="id" value="${taskRecurringScheduleInstance ?.id}" />139 <input type="hidden" name="id" value="${taskRecurringScheduleInstance.id}" /> 133 140 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 134 141 <!-- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> -->
Note: See TracChangeset
for help on using the changeset viewer.