Changeset 591
- Timestamp:
- Jun 10, 2010, 11:49:26 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/edit.gsp
r567 r591 177 177 </tr> 178 178 179 <tr class="prop"> 180 <td valign="top" class="name"> 181 <label for="assignedPersons">Assigned Groups:</label> 182 </td> 183 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedGroups','errors')}"> 184 185 <ul> 186 <g:each var="a" in="${taskInstance?.assignedGroups?}"> 187 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 188 </g:each> 189 </ul> 190 191 </td> 192 </tr> 193 194 <tr class="prop"> 195 <td valign="top" class="name"> 196 <label for="assignedPersons">Assigned Persons:</label> 197 </td> 198 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 199 200 <ul> 201 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 202 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 203 </g:each> 204 </ul> 205 206 </td> 207 </tr> 179 <g:if test="${taskInstance.assignedGroups}"> 180 <tr class="prop"> 181 <td valign="top" class="name"> 182 <label for="assignedPersons">Assigned Groups:</label> 183 </td> 184 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedGroups','errors')}"> 185 186 <ul> 187 <g:each var="a" in="${taskInstance?.assignedGroups?}"> 188 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 189 </g:each> 190 </ul> 191 192 </td> 193 </tr> 194 </g:if> 195 196 <g:if test="${taskInstance.assignedPersons}"> 197 <tr class="prop"> 198 <td valign="top" class="name"> 199 <label for="assignedPersons">Assigned Persons:</label> 200 </td> 201 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 202 203 <ul> 204 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 205 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 206 </g:each> 207 </ul> 208 209 </td> 210 </tr> 211 </g:if> 208 212 209 213 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.