Changeset 137 for trunk/grails-app/views/taskRecurringScheduleDetailed
- Timestamp:
- Sep 1, 2009, 10:10:43 PM (15 years ago)
- Location:
- trunk/grails-app/views/taskRecurringScheduleDetailed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskRecurringScheduleDetailed/create.gsp
r135 r137 53 53 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}" 54 54 id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 55 <g:select optionKey="id" from="${Period.list()}" name="period.id" value="${taskRecurringScheduleInstance?.period?.id}" ></g:select> 55 <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> 56 </td> 57 </tr> 58 59 <tr class="prop"> 60 <td valign="top" class="name"> 61 <label for="recurEvery">Task Duration:</label> 62 </td> 63 <td valign="top" class="value" > 64 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}" 65 id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> 66 <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> 67 </td> 68 </tr> 69 70 <tr class="prop"> 71 <td valign="top" class="name"> 72 <label for="recurEvery">Generate Ahead:</label> 73 </td> 74 <td valign="top" class="value" > 75 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}" 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> 56 78 </td> 57 79 </tr> -
trunk/grails-app/views/taskRecurringScheduleDetailed/edit.gsp
r135 r137 55 55 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}" 56 56 id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 57 <g:select optionKey="id" from="${Period.list()}" name=" period.id" value="${taskRecurringScheduleInstance?.period?.id}" ></g:select>57 <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> 58 58 </td> 59 </tr> 59 </tr> 60 61 <tr class="prop"> 62 <td valign="top" class="name"> 63 <label for="recurEvery">Task Duration:</label> 64 </td> 65 <td valign="top" class="value" > 66 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}" 67 id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> 68 <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> 69 </td> 70 </tr> 71 72 <tr class="prop"> 73 <td valign="top" class="name"> 74 <label for="recurEvery">Generate Ahead:</label> 75 </td> 76 <td valign="top" class="value" > 77 <input type="text" class="time ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}" 78 id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 79 <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> 80 </td> 81 </tr> 60 82 61 83 <tr class="prop"> … … 73 95 <div class="buttons"> 74 96 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 75 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>97 <!-- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> --> 76 98 </div> 77 99 </g:form> -
trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp
r135 r137 28 28 <g:sortableColumn property="recurEvery" title="Recur Every" /> 29 29 30 <g:sortableColumn property=" period" title="Period" />30 <g:sortableColumn property="recurPeriod" title="Recur Period" /> 31 31 32 32 <g:sortableColumn property="isEnabled" title="Is Enabled" /> … … 47 47 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td> 48 48 49 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:' period')}</td>49 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td> 50 50 51 51 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td> -
trunk/grails-app/views/taskRecurringScheduleDetailed/show.gsp
r135 r137 39 39 40 40 <tr class="prop"> 41 <td valign="top" class="name">Start Date:</td> 42 43 <td valign="top" class="value"> 44 <g:formatDate date="${taskRecurringScheduleInstance.startDate}" format="EEE, dd MMM yyyy"/> 45 </td> 46 </tr> 47 48 <tr class="prop"> 41 49 <td valign="top" class="name">Recur Every:</td> 42 50 43 51 <td valign="top" class="value"> 44 ${taskRecurringScheduleInstance?.recurEvery} ${taskRecurringScheduleInstance?. period}52 ${taskRecurringScheduleInstance?.recurEvery} ${taskRecurringScheduleInstance?.recurPeriod} 45 53 </td> 46 54 … … 48 56 49 57 <tr class="prop"> 50 <td valign="top" class="name"> Start Date:</td>58 <td valign="top" class="name">Task Duration:</td> 51 59 52 <td valign="top" class="value"> 53 <g:formatDate date="${taskRecurringScheduleInstance.startDate}" format="EEE, dd MMM yyyy"/> 54 </td> 60 <td valign="top" class="value"> 61 ${taskRecurringScheduleInstance?.taskDuration} ${taskRecurringScheduleInstance?.taskDurationPeriod} 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name">Generate Ahead:</td> 67 68 <td valign="top" class="value"> 69 ${taskRecurringScheduleInstance?.generateAhead} ${taskRecurringScheduleInstance?.generateAheadPeriod} 70 </td> 71 55 72 </tr> 56 73 … … 61 78 62 79 </tr> 80 </tbody> 81 </table> 82 83 <table> 84 <tbody> 85 <tr class="prop"> 86 <td valign="top" class="name">Next Target Start Date:</td> 87 88 <td valign="top" class="value"> 89 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd MMM yyyy"/> 90 </td> 91 92 </tr> 93 94 <tr class="prop"> 95 <td valign="top" class="name">Next Target Completion Date:</td> 96 97 <td valign="top" class="value"> 98 <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd MMM yyyy"/> 99 </td> 100 101 </tr> 63 102 64 103 <tr class="prop"> 65 <td></td> 66 </tr> 67 68 <tr class="prop"> 69 <td></td> 70 </tr> 71 72 <tr class="prop"> 73 <td valign="top" class="name">Next Due Date:</td> 104 <td valign="top" class="name">Next Generation Date:</td> 74 105 75 106 <td valign="top" class="value"> 76 <g:formatDate date="${taskRecurringScheduleInstance.nextDueDate}" format="EEE, dd MMM yyyy"/> 77 </td> 78 107 <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd MMM yyyy"/> 108 </td> 79 109 </tr> 80 110 … … 105 135 <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> 106 136 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 107 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>137 <!-- <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> --> 108 138 </g:form> 109 139 </div>
Note: See TracChangeset
for help on using the changeset viewer.