- Timestamp:
- Mar 13, 2011, 6:52:17 PM (14 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/_showTaskTab.gsp
r859 r861 153 153 </div> 154 154 155 <div class="buttons"> 156 <g:form> 157 <input type="hidden" name="id" value="${taskInstance?.id}" /> 158 159 <g:if test="${taskInstance.trash}" > 160 <span class="button"><g:actionSubmit class="restore" onclick="return confirm('Are you sure?');" value="Restore"/></span> 161 </g:if> 162 <g:else> 163 164 <g:if test="${taskInstance.taskStatus.id != 3}" > 165 166 <g:if test="${taskInstance.attentionFlag}" > 167 <span class="button"><g:actionSubmit class="flag" value="Clear" action="clearAttentionFlag"/></span> 168 </g:if> 169 <g:else> 170 <span class="button"><g:actionSubmit class="flag" value="Unresolved" action="setAttentionFlag"/></span> 171 <g:helpBalloon class="helpballoon" code="task.status.unresolved" /> 172 </g:else> 173 174 <span class="button"> 175 <g:if test="${taskInstance.attentionFlag}" > 176 <g:actionSubmit class="complete" 177 value="Resolved" 178 onclick="return confirm('${message(code:'task.clear.attention.flag.on.completion.confirm')}');" 179 action="complete"/> 180 </g:if> 181 <g:else> 182 <g:actionSubmit class="complete" value="Resolved" action="complete"/> 183 </g:else> 184 </span> 185 <g:helpBalloon class="helpballoon" code="task.status.resolved" /> 186 187 <g:if test="${taskInstance.approved}" > 188 <span class="button"><g:actionSubmit class="renegeApproval" value="Renege Approval" action="renegeApproval" /></span> 189 </g:if> 190 <g:else> 191 <span class="button"><g:actionSubmit class="approve" value="Approve" /></span> 192 </g:else> 193 194 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 195 <span class="button"> 196 <g:actionSubmit class="trash" 197 onclick="return confirm('${message(code:'task.trash.confirm')}');" 198 value="Trash" /> 199 </span> 200 201 </g:if> 202 <g:else> 203 <span class="button"><g:actionSubmit class="reopen" value="Reopen" /></span> 204 </g:else> 205 206 </g:else> 207 </g:form> 155 <div class="buttons" id="taskControlButtons"> 156 <g:render template="showTaskControlButtons" /> 208 157 </div> 209 158
Note: See TracChangeset
for help on using the changeset viewer.