Changeset 96 for trunk/src/grails-app/views/taskDetailed
- Timestamp:
- Mar 31, 2009, 5:43:09 AM (16 years ago)
- Location:
- trunk/src/grails-app/views/taskDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/taskDetailed/edit.gsp
r91 r96 151 151 <g:select optionKey="id" from="${TaskType.list()}" name="taskType.id" value="${taskInstance?.taskType?.id}" ></g:select> 152 152 </td> 153 </tr> 154 155 <tr class="prop"> 156 <td valign="top" class="name"> 157 <label for="assignedPersons">Assigned Persons:</label> 158 </td> 159 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 160 161 <ul> 162 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 163 <li><g:link controller="assignedPersonDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 164 </g:each> 165 </ul> 166 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 167 168 </td> 153 169 </tr> 170 171 154 172 155 173 </tbody> -
trunk/src/grails-app/views/taskDetailed/show.gsp
r91 r96 78 78 79 79 <tr class="prop"> 80 <td valign="top" class="name">Assigned Persons:</td>81 82 <td valign="top" style="text-align:left;" class="value">83 <ul>84 <g:each var="s" in="${taskInstance.assignedPersons}">85 <li>${s?.firstName} ${s?.lastName}</li>86 </g:each>87 </ul>88 </td>89 90 </tr>91 92 <tr class="prop">93 80 <td valign="top" class="name">Is Active:</td> 94 81 … … 142 129 143 130 <td valign="top" class="value">${taskInstance?.taskType?.encodeAsHTML()}</td> 131 132 </tr> 133 134 <tr class="prop"> 135 <td valign="top" class="name">Assigned Persons:</td> 136 137 <td valign="top" style="text-align:left;" class="value"> 138 <ul> 139 <g:each var="a" in="${taskInstance.assignedPersons}"> 140 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 141 </g:each> 142 </ul> 143 </td> 144 144 145 145 </tr>
Note: See TracChangeset
for help on using the changeset viewer.