Changeset 69 for branches/TaskRewrite/src/grails-app/views
- Timestamp:
- Mar 9, 2009, 10:31:40 AM (16 years ago)
- Location:
- branches/TaskRewrite/src/grails-app/views
- Files:
-
- 10 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/views/task/create.gsp
r66 r69 60 60 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskStatus','errors')}"> 61 61 <g:select optionKey="id" from="${TaskStatus.list()}" name="taskStatus.id" value="${taskInstance?.taskStatus?.id}" ></g:select> 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name"> 67 <label for="parentTask">Parent Task:</label> 68 </td> 69 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}"> 70 <g:select optionKey="id" from="${Task.list()}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'']"></g:select> 62 71 </td> 63 72 </tr> -
branches/TaskRewrite/src/grails-app/views/task/edit.gsp
r66 r69 67 67 <tr class="prop"> 68 68 <td valign="top" class="name"> 69 <label for="parentTask">Parent Task:</label> 70 </td> 71 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}"> 72 <g:select optionKey="id" from="${Task.list()}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'']"></g:select> 73 </td> 74 </tr> 75 76 <tr class="prop"> 77 <td valign="top" class="name"> 69 78 <label for="comment">Comment:</label> 70 79 </td> … … 145 154 </ul> 146 155 <g:link controller="modification" params="['task.id':taskInstance?.id]" action="create">Add Modification</g:link> 156 157 </td> 158 </tr> 159 160 <tr class="prop"> 161 <td valign="top" class="name"> 162 <label for="subTasks">Sub Tasks:</label> 163 </td> 164 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'subTasks','errors')}"> 165 166 <ul> 167 <g:each var="s" in="${taskInstance?.subTasks?}"> 168 <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 169 </g:each> 170 </ul> 171 <g:link controller="task" params="['task.id':taskInstance?.id]" action="create">Add Task</g:link> 147 172 148 173 </td> -
branches/TaskRewrite/src/grails-app/views/task/list.gsp
r66 r69 32 32 <th>Task Status</th> 33 33 34 < g:sortableColumn property="comment" title="Comment" />35 34 <th>Parent Task</th> 35 36 36 </tr> 37 37 </thead> … … 50 50 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 51 51 52 <td>${fieldValue(bean:taskInstance, field:' comment')}</td>52 <td>${fieldValue(bean:taskInstance, field:'parentTask')}</td> 53 53 54 54 </tr> -
branches/TaskRewrite/src/grails-app/views/task/show.gsp
r66 r69 55 55 56 56 <td valign="top" class="value"><g:link controller="taskStatus" action="show" id="${taskInstance?.taskStatus?.id}">${taskInstance?.taskStatus?.encodeAsHTML()}</g:link></td> 57 58 </tr> 59 60 <tr class="prop"> 61 <td valign="top" class="name">Parent Task:</td> 62 63 <td valign="top" class="value"><g:link controller="task" action="show" id="${taskInstance?.parentTask?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td> 57 64 58 65 </tr> … … 120 127 121 128 <tr class="prop"> 129 <td valign="top" class="name">Sub Tasks:</td> 130 131 <td valign="top" style="text-align:left;" class="value"> 132 <ul> 133 <g:each var="s" in="${taskInstance.subTasks}"> 134 <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 135 </g:each> 136 </ul> 137 </td> 138 139 </tr> 140 141 <tr class="prop"> 122 142 <td valign="top" class="name">Target Completion Date:</td> 123 143
Note: See TracChangeset
for help on using the changeset viewer.