Ignore:
Timestamp:
Feb 10, 2011, 12:17:55 PM (14 years ago)
Author:
gav
Message:

Task trash improvements.
Allow trashed parentTask to break subTask links (only with auth).
Prevent trashing of tasks linked to taskProcedure or Parent PM type tasks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/show.gsp

    r799 r802  
    282282
    283283                                        <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    284                                         <span class="button"><g:actionSubmit class="trash" onclick="return confirm('Are you sure?');" value="Trash" /></span>
     284                                        <span class="button">
     285                                            <g:actionSubmit class="trash"
     286                                                                        onclick="return confirm('${message(code:'task.trash.confirm')}');"
     287                                                                        value="Trash" />
     288                                        </span>
    285289
    286290                                    </g:if>
Note: See TracChangeset for help on using the changeset viewer.