Last change
on this file since 312 was
280,
checked in by gav, 15 years ago
|
Generate-all for Asset and AssetSubItem.
|
File size:
2.4 KB
|
Rev | Line | |
---|
[118] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
[268] | 7 | <title>AssetSubItem List</title> |
---|
[118] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[268] | 11 | <span class="menuButton"><g:link class="create" action="create">New AssetSubItem</g:link></span> |
---|
[118] | 12 | </div> |
---|
| 13 | <div class="body"> |
---|
[268] | 14 | <h1>AssetSubItem List</h1> |
---|
[118] | 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <div class="list"> |
---|
| 19 | <table> |
---|
| 20 | <thead> |
---|
| 21 | <tr> |
---|
| 22 | |
---|
| 23 | <g:sortableColumn property="id" title="Id" /> |
---|
| 24 | |
---|
[268] | 25 | <g:sortableColumn property="name" title="Name" /> |
---|
[160] | 26 | |
---|
[118] | 27 | <g:sortableColumn property="description" title="Description" /> |
---|
| 28 | |
---|
| 29 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 30 | |
---|
[268] | 31 | <th>Parent Item</th> |
---|
| 32 | |
---|
[118] | 33 | </tr> |
---|
| 34 | </thead> |
---|
| 35 | <tbody> |
---|
[268] | 36 | <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance"> |
---|
[118] | 37 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 38 | |
---|
[268] | 39 | <td><g:link action="show" id="${assetSubItemInstance.id}">${fieldValue(bean:assetSubItemInstance, field:'id')}</g:link></td> |
---|
[118] | 40 | |
---|
[268] | 41 | <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td> |
---|
[160] | 42 | |
---|
[268] | 43 | <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td> |
---|
[118] | 44 | |
---|
[268] | 45 | <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> |
---|
[118] | 46 | |
---|
[268] | 47 | <td>${fieldValue(bean:assetSubItemInstance, field:'parentItem')}</td> |
---|
| 48 | |
---|
[118] | 49 | </tr> |
---|
| 50 | </g:each> |
---|
| 51 | </tbody> |
---|
| 52 | </table> |
---|
| 53 | </div> |
---|
| 54 | <div class="paginateButtons"> |
---|
[268] | 55 | <g:paginate total="${assetSubItemInstanceTotal}" /> |
---|
[118] | 56 | </div> |
---|
| 57 | </div> |
---|
| 58 | </body> |
---|
| 59 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.