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

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

Update listSubTasks view to use list template, part 2.

File size: 1.4 KB
RevLine 
[134]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>
[139]6        <nav:resources override="true"/>
[134]7    </head>
8    <body>
9        <div class="nav">
[139]10            <nav:renderSubItems group="nav"/>
[134]11        </div>
12        <div class="body">
[630]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>
[869]19            <g:if test="${parentTaskInstance.primaryAsset}">
20                ${fieldValue(bean:parentTaskInstance, field:'primaryAsset')}:
21            </g:if>
[630]22            ${parentTaskInstance.description}
23
[134]24            <g:if test="${flash.message}">
25                <div class="message">${flash.message}</div>
26            </g:if>
[196]27
28            <div class="paginateButtons">
[630]29                Results: ${taskInstanceList.size()} / ${taskInstanceTotal}
[196]30            </div>
[630]31            <div class="paginateButtons">
32                <g:paginate action="listSubTasks" id="${parentTaskInstance?.id}" total="${taskInstanceTotal}" />
33            </div>
[134]34
[867]35            <g:render template="list" />
[134]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.