Changeset 181 for trunk/grails-app/views/taskDetailed/show.gsp
- Timestamp:
- Nov 5, 2009, 4:01:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/show.gsp
r180 r181 16 16 <div class="message">${flash.message}</div> 17 17 </g:if> 18 <g:if test="${taskInstance.trash}" > 19 <div class="errors"> 20 This task is in the trash bin, but can be restored if required. 21 </div> 22 </g:if> 18 23 <g:hasErrors bean="${taskInstance}"> 19 24 <div class="errors"> … … 75 80 showElement('modControlOpened'); 76 81 hideElement('modControlClosed'); return false;"> 77 Modifications <img src="${resource(dir:'images/skin',file:' sorted_asc.gif')}" alt="Show" />82 Modifications <img src="${resource(dir:'images/skin',file:'bullet_toggle_plus.png')}" alt="Show" /> 78 83 </a> 79 84 </div> … … 83 88 showElement('modControlClosed'); 84 89 return false;"> 85 Modifications <img src="${resource(dir:'images/skin',file:' sorted_desc.gif')}" alt="Show" />90 Modifications <img src="${resource(dir:'images/skin',file:'bullet_toggle_minus.png')}" alt="Show" /> 86 91 </a> 87 92 </div> … … 142 147 143 148 <tr class="prop"> 144 <td valign="top" class="name">Active:</td>145 146 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td>147 148 </tr>149 150 <tr class="prop">151 149 <td valign="top" class="name">Approved:</td> 152 150 153 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:' isApproved')}</td>151 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'approved')}</td> 154 152 155 153 </tr> … … 158 156 <td valign="top" class="name">Scheduled:</td> 159 157 160 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:' isScheduled')}</td>158 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduled')}</td> 161 159 162 160 </tr> … … 204 202 <g:form> 205 203 <input type="hidden" name="id" value="${taskInstance?.id}" /> 206 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 207 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 204 205 <g:if test="${taskInstance.trash}" > 206 <span class="button"><g:actionSubmit class="restore" onclick="return confirm('Are you sure?');" value="Restore" /></span> 207 </g:if> 208 <g:else> 209 210 <g:if test="${taskInstance.taskStatus.id != 3}" > 211 <span class="button"><g:actionSubmit class="complete" value="Complete" /></span> 212 213 <g:if test="${taskInstance.approved}" > 214 <span class="button"><g:actionSubmit class="renegeApproval" value="Renege Approval" action="renegeApproval" /></span> 215 </g:if> 216 <g:else> 217 <span class="button"><g:actionSubmit class="approve" value="Approve" /></span> 218 </g:else> 219 220 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 221 <span class="button"><g:actionSubmit class="trash" onclick="return confirm('Are you sure?');" value="Trash" /></span> 222 223 </g:if> 224 <g:else> 225 <span class="button"><g:actionSubmit class="reopen" value="Reopen" /></span> 226 </g:else> 227 228 </g:else> 208 229 </g:form> 209 230 </div> … … 252 273 <th>Entered By</th> 253 274 <th></th> 254 255 <!-- <g:sortableColumn property="commentW" title="Comment" />256 257 <g:sortableColumn property="dateDoneW" title="Date Done" />258 259 <g:sortableColumn property="enteredByW" title="Entered By" />-->260 275 </tr> 261 276 </thead>
Note: See TracChangeset
for help on using the changeset viewer.