source: trunk/grails-app/views/taskDetailed/listSubTasks.gsp @ 868

Last change on this file since 868 was 867, checked in by gav, 14 years ago

Update listSubTasks view to use list template.

File size: 1.3 KB
Line 
1<html>
2    <head>
3        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4        <meta name="layout" content="main" />
5        <title>Task List</title>
6        <nav:resources override="true"/>
7    </head>
8    <body>
9        <div class="nav">
10            <nav:renderSubItems group="nav"/>
11        </div>
12        <div class="body">
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
21            <g:if test="${flash.message}">
22                <div class="message">${flash.message}</div>
23            </g:if>
24
25            <div class="paginateButtons">
26                Results: ${taskInstanceList.size()} / ${taskInstanceTotal}
27            </div>
28            <div class="paginateButtons">
29                <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
30            </div>
31
32            <g:render template="list" />
33
34            <div class="paginateButtons">
35                <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
36            </div>
37        </div>
38    </body>
39</html>
Note: See TracBrowser for help on using the repository browser.