source: branches/features/grailsUpgrade/grails-app/views/taskDetailed/listSubTasks.gsp @ 889

Last change on this file since 889 was 869, checked in by gav, 14 years ago

Update listSubTasks view to use list template, part 2.

File size: 1.4 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            <g:if test="${parentTaskInstance.primaryAsset}">
20                ${fieldValue(bean:parentTaskInstance, field:'primaryAsset')}:
21            </g:if>
22            ${parentTaskInstance.description}
23
24            <g:if test="${flash.message}">
25                <div class="message">${flash.message}</div>
26            </g:if>
27
28            <div class="paginateButtons">
29                Results: ${taskInstanceList.size()} / ${taskInstanceTotal}
30            </div>
31            <div class="paginateButtons">
32                <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
33            </div>
34
35            <g:render template="list" />
36
37            <div class="paginateButtons">
38                <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
39            </div>
40        </div>
41    </body>
42</html>
Note: See TracBrowser for help on using the repository browser.