Changeset 567
- Timestamp:
- Jun 4, 2010, 8:42:08 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskDetailedController.groovy
r554 r567 637 637 def scheduledTaskTypes = taskService.scheduledTaskTypes 638 638 def scheduledTaskPriorities = taskService.scheduledTaskPriorities 639 taskInstance.scheduled = true640 639 taskInstance.taskPriority = scheduledTaskPriorities.default 641 640 return ['taskInstance': taskInstance, -
trunk/grails-app/domain/Task.groovy
r472 r567 19 19 Date targetStartDate = new Date() 20 20 Date targetCompletionDate = new Date() 21 boolean scheduled = false22 21 boolean approved = false 23 22 boolean trash = false -
trunk/grails-app/services/TaskService.groovy
r515 r567 189 189 p.targetStartDate = params.targetStartDate ?: dateUtilService.today 190 190 p.targetCompletionDate = params.targetCompletionDate ?: dateUtilService.today 191 p.scheduled = params.scheduled ?: parentTask.scheduled192 191 193 192 p.taskGroup = params.taskGroup ?: parentTask.taskGroup -
trunk/grails-app/views/taskDetailed/create.gsp
r487 r567 122 122 <tr class="prop"> 123 123 <td valign="top" class="name"> 124 <label for="scheduled">Scheduled:</label>125 </td>126 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}">127 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox>128 </td>129 </tr>130 131 <tr class="prop">132 <td valign="top" class="name">133 124 <label for="taskGroup">Task Group:</label> 134 125 </td> -
trunk/grails-app/views/taskDetailed/edit.gsp
r487 r567 153 153 <tr class="prop"> 154 154 <td valign="top" class="name"> 155 <label for="scheduled">Scheduled:</label>156 </td>157 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}">158 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox>159 </td>160 </tr>161 162 <tr class="prop">163 <td valign="top" class="name">164 155 <label for="taskGroup">Task Group:</label> 165 156 </td> -
trunk/grails-app/views/taskDetailed/show.gsp
r500 r567 168 168 169 169 <tr class="prop"> 170 <td valign="top" class="name">Scheduled:</td>171 172 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduled')}</td>173 174 </tr>175 176 <tr class="prop">177 170 <td valign="top" class="name">Group:</td> 178 171
Note: See TracChangeset
for help on using the changeset viewer.