Last change
on this file since 243 was
242,
checked in by gav, 15 years ago
|
Re-implement AssignedGroups along side AssignedPersons manually taking the good stuff from r240.
As per revised ticket #37.
|
File size:
2.3 KB
|
Rev | Line | |
---|
[242] | 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>AssignedGroup List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <h1>Assigned Group List</h1> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:if test="${flash.message}"> |
---|
| 15 | <div class="message">${flash.message}</div> |
---|
| 16 | </g:if> |
---|
| 17 | <div class="list"> |
---|
| 18 | <table> |
---|
| 19 | <thead> |
---|
| 20 | <tr> |
---|
| 21 | |
---|
| 22 | <g:sortableColumn property="id" title="Id" /> |
---|
| 23 | |
---|
| 24 | <th>Task</th> |
---|
| 25 | |
---|
| 26 | <th>Group</th> |
---|
| 27 | |
---|
| 28 | <g:sortableColumn property="estimatedHour" title="Estimated Hour" /> |
---|
| 29 | |
---|
| 30 | <g:sortableColumn property="estimatedMinute" title="Estimated Minute" /> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
| 35 | <g:each in="${assignedGroupInstanceList}" status="i" var="assignedGroupInstance"> |
---|
| 36 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 37 | |
---|
| 38 | <td><g:link action="show" id="${assignedGroupInstance.id}">${fieldValue(bean:assignedGroupInstance, field:'id')}</g:link></td> |
---|
| 39 | |
---|
| 40 | <td>${fieldValue(bean:assignedGroupInstance, field:'task')}</td> |
---|
| 41 | |
---|
| 42 | <td>${fieldValue(bean:assignedGroupInstance, field:'personGroup')}</td> |
---|
| 43 | |
---|
| 44 | <td>${fieldValue(bean:assignedGroupInstance, field:'estimatedHour')}</td> |
---|
| 45 | |
---|
| 46 | <td>${fieldValue(bean:assignedGroupInstance, field:'estimatedMinute')}</td> |
---|
| 47 | |
---|
| 48 | </tr> |
---|
| 49 | </g:each> |
---|
| 50 | </tbody> |
---|
| 51 | </table> |
---|
| 52 | </div> |
---|
| 53 | <div class="paginateButtons"> |
---|
| 54 | <g:paginate total="${assignedGroupInstanceTotal}" /> |
---|
| 55 | </div> |
---|
| 56 | </div> |
---|
| 57 | </body> |
---|
| 58 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.