Last change
on this file since 167 was
151,
checked in by gav, 15 years ago
|
Replace all deprecated "createLinkTo" links with "resource".
|
File size:
2.7 KB
|
Rev | Line | |
---|
[66] | 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>Task List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[151] | 11 | <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> |
---|
[66] | 12 | <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>Task 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 | |
---|
[131] | 26 | <g:sortableColumn property="description" title="Description" /> |
---|
| 27 | |
---|
| 28 | <g:sortableColumn property="comment" title="Comment" /> |
---|
| 29 | |
---|
[66] | 30 | <g:sortableColumn property="targetStartDate" title="Target Start Date" /> |
---|
| 31 | |
---|
[131] | 32 | <g:sortableColumn property="targetCompletionDate" title="Target Completion Date" /> |
---|
[66] | 33 | |
---|
| 34 | <th>Lead Person</th> |
---|
| 35 | |
---|
| 36 | </tr> |
---|
| 37 | </thead> |
---|
| 38 | <tbody> |
---|
| 39 | <g:each in="${taskInstanceList}" status="i" var="taskInstance"> |
---|
| 40 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 41 | |
---|
| 42 | <td><g:link action="show" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'id')}</g:link></td> |
---|
| 43 | |
---|
[131] | 44 | <td>${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
| 45 | |
---|
| 46 | <td>${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
| 47 | |
---|
[66] | 48 | <td>${fieldValue(bean:taskInstance, field:'targetStartDate')}</td> |
---|
| 49 | |
---|
[131] | 50 | <td>${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
[66] | 51 | |
---|
| 52 | <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td> |
---|
| 53 | |
---|
| 54 | </tr> |
---|
| 55 | </g:each> |
---|
| 56 | </tbody> |
---|
| 57 | </table> |
---|
| 58 | </div> |
---|
| 59 | <div class="paginateButtons"> |
---|
[96] | 60 | <g:paginate total="${taskInstanceTotal}" /> |
---|
[66] | 61 | </div> |
---|
| 62 | </div> |
---|
| 63 | </body> |
---|
| 64 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.