- Timestamp:
- Jul 15, 2010, 11:08:27 AM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskDetailedController.groovy
r615 r630 711 711 } 712 712 else { 713 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100)713 params.max = Math.min( params.max ? params.max.toInteger() : 200, 200) 714 714 def subTaskInstanceList = Task.findAllByParentTaskAndTrash(parentTaskInstance, false, params) 715 715 def subTaskInstanceTotal = Task.countByParentTaskAndTrash(parentTaskInstance, false) -
trunk/grails-app/views/taskDetailed/listSubTasks.gsp
r196 r630 11 11 </div> 12 12 <div class="body"> 13 <g:link action="show" id="${parentTaskInstance.id}"> 14 <h1>Task #${parentTaskInstance.id} sub tasks.</h1> 15 </g:link> 13 14 <h1>Sub Tasks for: 15 <g:link action="show" id="${parentTaskInstance.id}" params="[showTab:'showSubTasksTab']"> 16 Task #${parentTaskInstance.id} 17 </g:link> 18 </h1> 19 ${parentTaskInstance.description} 20 16 21 <g:if test="${flash.message}"> 17 22 <div class="message">${flash.message}</div> … … 19 24 20 25 <div class="paginateButtons"> 21 Results:${taskInstanceTotal} 26 Results: ${taskInstanceList.size()} / ${taskInstanceTotal} 27 </div> 28 <div class="paginateButtons"> 29 <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" /> 22 30 </div> 23 31 <div class="list">
Note: See TracChangeset
for help on using the changeset viewer.