Changeset 96 for trunk/src/grails-app/views/task
- Timestamp:
- Mar 31, 2009, 5:43:09 AM (16 years ago)
- Location:
- trunk/src/grails-app/views/task
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/task/create.gsp
r70 r96 41 41 </td> 42 42 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 43 <input type="text" maxlength=" 50" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/>43 <input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 44 44 </td> 45 45 </tr> -
trunk/src/grails-app/views/task/edit.gsp
r93 r96 25 25 <g:form method="post" > 26 26 <input type="hidden" name="id" value="${taskInstance?.id}" /> 27 <input type="hidden" name="version" value="${taskInstance?.version}" /> 27 28 <div class="dialog"> 28 29 <table> … … 43 44 </td> 44 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 45 <input type="text" maxlength=" 50" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/>46 <input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 46 47 </td> 47 48 </tr> … … 100 101 <ul> 101 102 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 102 <li><g:link controller=" person" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>103 </g:each> 104 </ul> 105 <g:link controller=" person" params="['task.id':taskInstance?.id]" action="create">AddPerson</g:link>103 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 104 </g:each> 105 </ul> 106 <g:link controller="assignedPerson" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 106 107 107 108 </td> … … 153 154 <tr class="prop"> 154 155 <td valign="top" class="name"> 155 <label for="taskModifications">Modifications:</label>156 </td>157 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskModifications','errors')}">158 159 <ul>160 <g:each var="m" in="${taskInstance?.taskModifications?}">161 <li><g:link controller="taskModification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>162 </g:each>163 </ul>164 <g:link controller="taskModification" params="['task.id':taskInstance?.id]" action="create">Add Modification</g:link>165 166 </td>167 </tr>168 169 <tr class="prop">170 <td valign="top" class="name">171 156 <label for="subTasks">Sub Tasks:</label> 172 157 </td> … … 198 183 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskGroup','errors')}"> 199 184 <g:select optionKey="id" from="${TaskGroup.list()}" name="taskGroup.id" value="${taskInstance?.taskGroup?.id}" ></g:select> 185 </td> 186 </tr> 187 188 <tr class="prop"> 189 <td valign="top" class="name"> 190 <label for="taskModifications">Task Modifications:</label> 191 </td> 192 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskModifications','errors')}"> 193 194 <ul> 195 <g:each var="t" in="${taskInstance?.taskModifications?}"> 196 <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> 197 </g:each> 198 </ul> 199 <g:link controller="taskModification" params="['task.id':taskInstance?.id]" action="create">Add TaskModification</g:link> 200 200 201 </td> 201 202 </tr> -
trunk/src/grails-app/views/task/list.gsp
r70 r96 58 58 </div> 59 59 <div class="paginateButtons"> 60 <g:paginate total="${ Task.count()}" />60 <g:paginate total="${taskInstanceTotal}" /> 61 61 </div> 62 62 </div> -
trunk/src/grails-app/views/task/show.gsp
r93 r96 82 82 <td valign="top" class="name">Assigned Persons:</td> 83 83 84 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'assignedPersons')}</td> 84 <td valign="top" style="text-align:left;" class="value"> 85 <ul> 86 <g:each var="a" in="${taskInstance.assignedPersons}"> 87 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 88 </g:each> 89 </ul> 90 </td> 85 91 86 92 </tr> … … 121 127 122 128 <tr class="prop"> 123 <td valign="top" class="name">Modifications:</td>124 125 <td valign="top" style="text-align:left;" class="value">126 <ul>127 <g:each var="m" in="${taskInstance.taskModifications}">128 <li><g:link controller="taskModification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>129 </g:each>130 </ul>131 </td>132 133 </tr>134 135 <tr class="prop">136 129 <td valign="top" class="name">Sub Tasks:</td> 137 130 … … 161 154 162 155 <tr class="prop"> 156 <td valign="top" class="name">Task Modifications:</td> 157 158 <td valign="top" style="text-align:left;" class="value"> 159 <ul> 160 <g:each var="t" in="${taskInstance.taskModifications}"> 161 <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> 162 </g:each> 163 </ul> 164 </td> 165 166 </tr> 167 168 <tr class="prop"> 163 169 <td valign="top" class="name">Task Type:</td> 164 170
Note: See TracChangeset
for help on using the changeset viewer.