Changeset 199 for trunk/grails-app/views/taskRecurringSchedule
- 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/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>
Note: See TracChangeset
for help on using the changeset viewer.