[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" /> |
---|
| 7 | <title>AssetExtendedAttribute List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><g:link class="create" action="create">New AssetExtendedAttribute</g:link></span> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <h1>AssetExtendedAttribute List</h1> |
---|
| 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 | |
---|
| 25 | <th>Asset Extended Attribute Type</th> |
---|
| 26 | |
---|
[124] | 27 | <th>Asset</th> |
---|
[122] | 28 | |
---|
| 29 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 30 | |
---|
| 31 | <g:sortableColumn property="value" title="Value" /> |
---|
[124] | 32 | |
---|
| 33 | <th></th> |
---|
[122] | 34 | |
---|
| 35 | </tr> |
---|
| 36 | </thead> |
---|
| 37 | <tbody> |
---|
| 38 | <g:each in="${assetExtendedAttributeInstanceList}" status="i" var="assetExtendedAttributeInstance"> |
---|
[124] | 39 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetExtendedAttributeDetailed/show/${assetExtendedAttributeInstance.id}"'/> |
---|
| 40 | |
---|
[122] | 41 | |
---|
| 42 | <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td> |
---|
| 43 | |
---|
| 44 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td> |
---|
| 45 | |
---|
[124] | 46 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> |
---|
[122] | 47 | |
---|
| 48 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td> |
---|
| 49 | |
---|
| 50 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> |
---|
[124] | 51 | |
---|
| 52 | <td> |
---|
| 53 | <g:link action="show" id="${assetExtendedAttributeInstance.id}"> |
---|
[151] | 54 | <img src="${resource(dir:'images/skin',file:'database_table.png')}" alt="Show" /> |
---|
[124] | 55 | </g:link> |
---|
| 56 | </td> |
---|
[122] | 57 | |
---|
| 58 | </tr> |
---|
| 59 | </g:each> |
---|
| 60 | </tbody> |
---|
| 61 | </table> |
---|
| 62 | </div> |
---|
| 63 | <div class="paginateButtons"> |
---|
| 64 | <g:paginate total="${assetExtendedAttributeInstanceTotal}" /> |
---|
| 65 | </div> |
---|
| 66 | </div> |
---|
| 67 | </body> |
---|
| 68 | </html> |
---|