Changeset 199 for trunk/grails-app/views
- Timestamp:
- Nov 28, 2009, 2:17:34 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 10 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/taskDetailed/show.gsp
r196 r199 462 462 463 463 <td valign="top" class="value">${taskRecurringScheduleInstance.encodeAsHTML()}</td> 464 465 </tr> 466 467 <tr class="prop"> 468 <td valign="top" class="name">Start Date:</td> 464 </tr> 465 466 <tr class="prop"> 467 <td valign="top" class="name">Next Generation Date:</td> 469 468 470 469 <td valign="top" class="value"> 471 <g:formatDate date="${taskRecurringScheduleInstance. startDate}" format="EEE, dd-MMM-yyyy"/>470 <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd-MMM-yyyy"/> 472 471 </td> 473 472 </tr> 473 474 <tr class="prop"> 475 <td valign="top" class="name">Generate Ahead:</td> 476 477 <td valign="top" class="value"> 478 ${taskRecurringScheduleInstance?.generateAhead} ${Period.get(1).encodeAsHTML()} 479 </td> 480 </tr> 481 482 <tr class="prop"> 483 <td valign="top" class="name">Next Target Start Date:</td> 484 485 <td valign="top" class="value"> 486 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> 487 </td> 474 488 </tr> 475 489 … … 483 497 484 498 <tr class="prop"> 485 <td valign="top" class="name">Generate Ahead:</td> 486 487 <td valign="top" class="value"> 488 ${taskRecurringScheduleInstance?.generateAhead} ${taskRecurringScheduleInstance?.generateAheadPeriod} 489 </td> 490 491 </tr> 492 493 </tr> 494 495 <tr class="prop"> 496 <td valign="top" class="name">Is Enabled:</td> 497 498 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> 499 500 </tr> 501 502 </tbody> 503 </table> 504 505 <table> 506 <tbody> 507 508 <tr class="prop"> 509 <td valign="top" class="name">Next Target Start Date:</td> 510 511 <td valign="top" class="value"> 512 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> 513 </td> 514 515 </tr> 516 517 <tr class="prop"> 518 <td valign="top" class="name">Next Target Completion Date:</td> 499 <td valign="top" class="name">Next Target Completion Date:</td> 519 500 520 501 <td valign="top" class="value"> 521 502 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd-MMM-yyyy"/> 522 503 </td> 523 524 </tr> 525 526 <tr class="prop"> 527 <td valign="top" class="name">Next Generation Date:</td> 528 529 <td valign="top" class="value"> 530 <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd-MMM-yyyy"/> 531 </td> 532 </tr> 533 534 <tr class="prop"> 535 <td valign="top" class="name">Last Generated Date:</td> 536 537 <td valign="top" class="value"> 538 <g:formatDate date="${taskRecurringScheduleInstance.lastGeneratedDate}" format="EEE, dd-MMM-yyyy"/> 539 </td> 540 541 </tr> 542 543 <tr class="prop"> 544 <td valign="top" class="name">Last Generated Sub Task:</td> 545 546 <td valign="top" class="value"> 547 <g:link controller="taskDetailed" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}"> 548 ${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()} 549 </g:link> 550 </td> 551 </tr> 504 </tr> 505 506 <tr class="prop"> 507 <td valign="top" class="name">Enabled:</td> 508 509 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> 510 </tr> 511 552 512 </tbody> 553 513 </table> … … 557 517 <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> 558 518 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 519 <span class="button"><g:actionSubmit class="go" value="Show" /></span> 559 520 </g:form> 560 521 </div> -
trunk/grails-app/views/taskRecurringSchedule/create.gsp
r178 r199 55 55 <tr class="prop"> 56 56 <td valign="top" class="name"> 57 <label for="lastGeneratedDate">Last Generated Date:</label>58 </td>59 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">60 <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" precision="minute" noSelection="['':'']"></g:datePicker>61 </td>62 </tr>63 64 <tr class="prop">65 <td valign="top" class="name">66 57 <label for="lastGeneratedSubTask">Last Generated Sub Task:</label> 67 58 </td> … … 73 64 <tr class="prop"> 74 65 <td valign="top" class="name"> 75 <label for=" generateAheadPeriod">Generate Ahead Period:</label>66 <label for="enabled">Enabled:</label> 76 67 </td> 77 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> 78 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> 79 </td> 80 </tr> 81 82 <tr class="prop"> 83 <td valign="top" class="name"> 84 <label for="isEnabled">Is Enabled:</label> 85 </td> 86 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}"> 87 <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox> 68 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}"> 69 <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox> 88 70 </td> 89 71 </tr> … … 127 109 <tr class="prop"> 128 110 <td valign="top" class="name"> 129 <label for="s tartDate">Start Date:</label>111 <label for="subTasksGenerated">Sub Tasks Generated:</label> 130 112 </td> 131 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'s tartDate','errors')}">132 < g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" precision="minute" ></g:datePicker>113 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'subTasksGenerated','errors')}"> 114 <input type="text" id="subTasksGenerated" name="subTasksGenerated" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'subTasksGenerated')}" /> 133 115 </td> 134 116 </tr> -
trunk/grails-app/views/taskRecurringSchedule/edit.gsp
r178 r199 58 58 <tr class="prop"> 59 59 <td valign="top" class="name"> 60 <label for="lastGeneratedDate">Last Generated Date:</label>61 </td>62 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}">63 <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" precision="minute" noSelection="['':'']"></g:datePicker>64 </td>65 </tr>66 67 <tr class="prop">68 <td valign="top" class="name">69 60 <label for="lastGeneratedSubTask">Last Generated Sub Task:</label> 70 61 </td> … … 76 67 <tr class="prop"> 77 68 <td valign="top" class="name"> 78 <label for=" generateAheadPeriod">Generate Ahead Period:</label>69 <label for="enabled">Enabled:</label> 79 70 </td> 80 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> 81 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> 82 </td> 83 </tr> 84 85 <tr class="prop"> 86 <td valign="top" class="name"> 87 <label for="isEnabled">Is Enabled:</label> 88 </td> 89 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}"> 90 <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox> 71 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}"> 72 <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox> 91 73 </td> 92 74 </tr> … … 130 112 <tr class="prop"> 131 113 <td valign="top" class="name"> 132 <label for="s tartDate">Start Date:</label>114 <label for="subTasksGenerated">Sub Tasks Generated:</label> 133 115 </td> 134 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'s tartDate','errors')}">135 < g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" precision="minute" ></g:datePicker>116 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'subTasksGenerated','errors')}"> 117 <input type="text" id="subTasksGenerated" name="subTasksGenerated" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'subTasksGenerated')}" /> 136 118 </td> 137 119 </tr> -
trunk/grails-app/views/taskRecurringSchedule/list.gsp
r178 r199 29 29 <g:sortableColumn property="generateAhead" title="Generate Ahead" /> 30 30 31 <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" />32 33 31 <th>Last Generated Sub Task</th> 34 32 33 <g:sortableColumn property="enabled" title="Enabled" /> 34 35 35 </tr> 36 36 </thead> … … 47 47 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td> 48 48 49 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGenerated Date')}</td>49 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td> 50 50 51 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:' lastGeneratedSubTask')}</td>51 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> 52 52 53 53 </tr> -
trunk/grails-app/views/taskRecurringSchedule/show.gsp
r178 r199 51 51 52 52 <tr class="prop"> 53 <td valign="top" class="name">Last Generated Date:</td>54 55 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>56 57 </tr>58 59 <tr class="prop">60 53 <td valign="top" class="name">Last Generated Sub Task:</td> 61 54 … … 65 58 66 59 <tr class="prop"> 67 <td valign="top" class="name"> Generate Ahead Period:</td>60 <td valign="top" class="name">Enabled:</td> 68 61 69 <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}">${taskRecurringScheduleInstance?.generateAheadPeriod?.encodeAsHTML()}</g:link></td> 70 71 </tr> 72 73 <tr class="prop"> 74 <td valign="top" class="name">Is Enabled:</td> 75 76 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> 62 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> 77 63 78 64 </tr> … … 107 93 108 94 <tr class="prop"> 109 <td valign="top" class="name">S tart Date:</td>95 <td valign="top" class="name">Sub Tasks Generated:</td> 110 96 111 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'s tartDate')}</td>97 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'subTasksGenerated')}</td> 112 98 113 99 </tr> -
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.