Changeset 241 for trunk/grails-app/views
- Timestamp:
- Dec 23, 2009, 3:05:12 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 2 deleted
- 4 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/task/edit.gsp
r240 r241 139 139 <tr class="prop"> 140 140 <td valign="top" class="name"> 141 <label for="assigned Groups">Assigned Groups:</label>142 </td> 143 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assigned Groups','errors')}">144 145 <ul> 146 <g:each var="a" in="${taskInstance?.assigned Groups?}">147 <li><g:link controller="assigned Group" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>148 </g:each> 149 </ul> 150 <g:link controller="assigned Group" params="['task.id':taskInstance?.id]" action="create">Add AssignedGroup</g:link>141 <label for="assignedPersons">Assigned Persons:</label> 142 </td> 143 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 144 145 <ul> 146 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 147 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 148 </g:each> 149 </ul> 150 <g:link controller="assignedPerson" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 151 151 152 152 </td> -
trunk/grails-app/views/task/show.gsp
r240 r241 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.assigned Groups}">121 <li><g:link controller="assigned Group" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>116 <td valign="top" class="name">Assigned Persons:</td> 117 118 <td valign="top" style="text-align:left;" class="value"> 119 <ul> 120 <g:each var="a" in="${taskInstance.assignedPersons}"> 121 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 122 122 </g:each> 123 123 </ul> -
trunk/grails-app/views/taskDetailed/edit.gsp
r240 r241 151 151 <tr class="prop"> 152 152 <td valign="top" class="name"> 153 <label for="assigned Groups">Assigned Groups:</label>153 <label for="assignedPersons">Assigned Persons:</label> 154 154 </td> 155 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assigned Groups','errors')}">155 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 156 156 157 157 <ul> 158 <g:each var="a" in="${taskInstance?.assigned Groups?}">159 <li><g:link controller="assigned GroupDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>158 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 159 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 160 160 </g:each> 161 161 </ul> -
trunk/grails-app/views/taskDetailed/show.gsp
r240 r241 183 183 184 184 <tr class="prop"> 185 <td valign="top" class="name">Assigned Groups:</td>185 <td valign="top" class="name">Assigned Persons:</td> 186 186 187 187 <td valign="top" style="text-align:left;" class="value"> 188 188 <ul> 189 <g:each var="a" in="${taskInstance.assigned Groups}">190 <li><g:link controller="assigned GroupDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>189 <g:each var="a" in="${taskInstance.assignedPersons}"> 190 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 191 191 </g:each> 192 192 </ul> 193 <g:link controller="assigned GroupDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Group</g:link>193 <g:link controller="assignedPersonDetailed" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 194 194 </td> 195 195
Note: See TracChangeset
for help on using the changeset viewer.