Changeset 242 for trunk/grails-app/views
- Timestamp:
- Dec 23, 2009, 5:12:17 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 10 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assignedPersonDetailed/create.gsp
r147 r242 30 30 <label for="task">Task:</label> 31 31 </td> 32 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'task','errors')}"> 33 ${assignedPersonInstance?.task} 32 <td valign="top" class="name"> 33 <g:link controller="taskDetailed" action="show" id="${assignedPersonInstance.task.id}" > 34 ${assignedPersonInstance?.task.encodeAsHTML()} 35 </g:link> 34 36 </td> 35 </tr> 37 </tr> 36 38 37 39 <tr class="prop"> -
trunk/grails-app/views/assignedPersonDetailed/edit.gsp
r147 r242 31 31 <label for="task">Task:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'task','errors')}"> 34 <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${assignedPersonInstance?.task?.id}" ></g:select> 33 <td valign="top" class="name"> 34 <g:link controller="taskDetailed" action="show" id="${assignedPersonInstance.task.id}" > 35 ${assignedPersonInstance?.task.encodeAsHTML()} 36 </g:link> 35 37 </td> 36 </tr> 38 </tr> 37 39 38 40 <tr class="prop"> -
trunk/grails-app/views/task/edit.gsp
r241 r242 139 139 <tr class="prop"> 140 140 <td valign="top" class="name"> 141 <label for="assignedGroups">Assigned Groups:</label> 142 </td> 143 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedGroups','errors')}"> 144 145 <ul> 146 <g:each var="a" in="${taskInstance?.assignedGroups?}"> 147 <li><g:link controller="assignedGroup" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 148 </g:each> 149 </ul> 150 <g:link controller="assignedGroup" params="['task.id':taskInstance?.id]" action="create">Add AssignedGroup</g:link> 151 152 </td> 153 </tr> 154 155 <tr class="prop"> 156 <td valign="top" class="name"> 141 157 <label for="assignedPersons">Assigned Persons:</label> 142 158 </td> -
trunk/grails-app/views/task/show.gsp
r241 r242 114 114 115 115 <tr class="prop"> 116 <td valign="top" class="name">Assigned Groups:</td> 117 118 <td valign="top" style="text-align:left;" class="value"> 119 <ul> 120 <g:each var="a" in="${taskInstance.assignedGroups}"> 121 <li><g:link controller="assignedGroup" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 122 </g:each> 123 </ul> 124 </td> 125 126 </tr> 127 128 <tr class="prop"> 116 129 <td valign="top" class="name">Assigned Persons:</td> 117 130 -
trunk/grails-app/views/taskDetailed/edit.gsp
r241 r242 151 151 <tr class="prop"> 152 152 <td valign="top" class="name"> 153 <label for="assignedPersons">Assigned Groups:</label> 154 </td> 155 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedGroups','errors')}"> 156 157 <ul> 158 <g:each var="a" in="${taskInstance?.assignedGroups?}"> 159 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 160 </g:each> 161 </ul> 162 163 </td> 164 </tr> 165 166 <tr class="prop"> 167 <td valign="top" class="name"> 153 168 <label for="assignedPersons">Assigned Persons:</label> 154 169 </td> -
trunk/grails-app/views/taskDetailed/show.gsp
r241 r242 183 183 184 184 <tr class="prop"> 185 <td valign="top" class="name">Assigned Groups:</td> 186 187 <td valign="top" style="text-align:left;" class="value"> 188 <ul> 189 <g:each var="a" in="${taskInstance.assignedGroups}"> 190 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 191 </g:each> 192 </ul> 193 <g:link controller="assignedGroupDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Group</g:link> 194 </td> 195 196 </tr> 197 198 199 <tr class="prop"> 185 200 <td valign="top" class="name">Assigned Persons:</td> 186 201 … … 191 206 </g:each> 192 207 </ul> 193 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Person</g:link>208 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Person</g:link> 194 209 </td> 195 210
Note: See TracChangeset
for help on using the changeset viewer.