Changeset 196 for trunk/grails-app/views
- Timestamp:
- Nov 24, 2009, 7:57:30 AM (15 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/create.gsp
r181 r196 122 122 </td> 123 123 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}"> 124 <g:select optionKey="id" from="${Task. list()}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'--None--']"></g:select>124 <g:select optionKey="id" from="${Task.findAllByTrash(false)}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'--None--']"></g:select> 125 125 </td> 126 126 </tr> -
trunk/grails-app/views/taskDetailed/edit.gsp
r181 r196 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Edit Task </title>7 <title>Edit Task #${taskInstance.id}</title> 8 8 <nav:resources override="true"/> 9 9 <resource:dateChooser /> -
trunk/grails-app/views/taskDetailed/listSubTasks.gsp
r151 r196 11 11 </div> 12 12 <div class="body"> 13 <h1>Task #${parentTaskInstance.id} sub tasks</h1> 13 <g:link action="show" id="${parentTaskInstance.id}"> 14 <h1>Task #${parentTaskInstance.id} sub tasks.</h1> 15 </g:link> 14 16 <g:if test="${flash.message}"> 15 17 <div class="message">${flash.message}</div> 16 18 </g:if> 19 20 <div class="paginateButtons"> 21 Results:${taskInstanceTotal} 22 </div> 17 23 <div class="list"> 18 24 <input type="hidden" name="parentTaskId" value="${parentTaskInstance?.id}" /> -
trunk/grails-app/views/taskDetailed/show.gsp
r191 r196 3 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 4 4 <meta name="layout" content="main" /> 5 <title>Show Task </title>5 <title>Show Task #${taskInstance.id}</title> 6 6 <g:javascript src="overlayPane.js" /> 7 7 <nav:resources override="true"/> … … 677 677 <div class="buttons"> 678 678 <g:form> 679 < input type="hidden"name="id" value="${taskInstance?.id}" />679 <g:hiddenField name="id" value="${taskInstance?.id}" /> 680 680 <g:if test="${subTaskInstanceTotal > subTaskInstanceMax}"> 681 681 Showing ${subTaskInstanceMax} of ${subTaskInstanceTotal} … … 686 686 <br /> 687 687 </g:else> 688 <span class="button"><g:actionSubmit action="listSubTasks" class="table" value="Sortable List" /></span> 688 <span class="button"><g:actionSubmit action="listSubTasks" class="table" value="List" /></span> 689 <span class="button"><g:actionSubmit action="createSubTask" class="add" value="Add" /></span> 689 690 </g:form> 690 691 </div> … … 694 695 <br /> 695 696 No Sub Tasks. 697 <br /> 698 <br /> 699 700 <div class="buttons"> 701 <g:form> 702 <g:hiddenField name="id" value="${taskInstance?.id}" /> 703 <span class="button"><g:actionSubmit action="createSubTask" class="add" value="Add" /></span> 704 </g:form> 705 </div> 696 706 </g:else> 697 707
Note: See TracChangeset
for help on using the changeset viewer.