source: trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp @ 145

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

Update to grails-1.1.1 release.
Fix WorkDone? and Fault entries not showing after update, now using criteria.
Work on TaskRecurringSchedule, add DateUtilService class, regenerate views to suite.
Finally have correct rollback behaviour on TaskRecurringSchedule? domain object updates by using transactions.
Added name to copyright since the license has no meaning without it.

File size: 3.2 KB
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>TaskRecurringSchedule List</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
12            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
13        </div>
14        <div class="body">
15            <h1>TaskRecurringSchedule List</h1>
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                       
26                                <g:sortableColumn property="taskId" title="Recurring Schedule for Task" />
27                       
28                                <g:sortableColumn property="recurEvery" title="Recur Every" />
29                               
30                                <g:sortableColumn property="recurPeriod" title="Recur Period" />
31                               
32                                <g:sortableColumn property="isEnabled" title="Is Enabled" />
33
34                            <th></th>
35                           
36                        </tr>
37                    </thead>
38                    <tbody>
39                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
40                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>
41
42                       
43                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
44                       
45                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
46                       
47                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
48                       
49                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
50                       
51                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>
52
53                            <td>
54                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
55                                    <img  src="${createLinkTo(dir:'images/skin',file:'database_go.png')}" alt="Show" />
56                                </g:link>
57                            </td>
58                       
59                        </tr>
60                    </g:each>
61                    </tbody>
62                </table>
63            </div>
64            <div class="paginateButtons">
65                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
66            </div>
67        </div>
68    </body>
69</html>
Note: See TracBrowser for help on using the repository browser.