source: trunk/grails-app/views/taskRecurringSchedule/list.gsp @ 159

Last change on this file since 159 was 159, checked in by gav, 15 years ago

Regen non-detailed TaskRecurringSchedule? views with new templates.

File size: 2.9 KB
RevLine 
[122]1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
[131]7        <title>TaskRecurringSchedule List</title>
[122]8    </head>
9    <body>
10        <div class="nav">
[159]11            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
[131]12            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
[122]13        </div>
14        <div class="body">
[131]15            <h1>TaskRecurringSchedule List</h1>
[122]16            <g:if test="${flash.message}">
17            <div class="message">${flash.message}</div>
18            </g:if>
19            <div class="list">
20                <table>
21                    <thead>
22                        <tr>
23                       
24                                <g:sortableColumn property="id" title="Id" />
25                       
[157]26                                <g:sortableColumn property="recurEvery" title="Recur Every" />
27                       
28                                <g:sortableColumn property="taskDuration" title="Task Duration" />
29                       
30                                <g:sortableColumn property="generateAhead" title="Generate Ahead" />
31                       
[131]32                                <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" />
33                       
34                                <th>Last Generated Sub Task</th>
[122]35                           
36                        </tr>
37                    </thead>
38                    <tbody>
[131]39                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
[122]40                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
41                       
[131]42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
[122]43                       
[157]44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
[122]45                       
[157]46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'taskDuration')}</td>
[123]47                       
[137]48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td>
[123]49                       
[157]50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td>
[122]51                       
[157]52                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td>
[122]53                       
54                        </tr>
55                    </g:each>
56                    </tbody>
57                </table>
58            </div>
59            <div class="paginateButtons">
[131]60                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
[122]61            </div>
62        </div>
63    </body>
64</html>
Note: See TracBrowser for help on using the repository browser.