Last change
on this file since 474 was
413,
checked in by gav, 15 years ago
|
Change views to use shared messages: ExtendedAttribute views for Asset, AssetSubItem?, Department, Section, Site.
|
File size:
2.8 KB
|
Rev | Line | |
---|
[268] | 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>DepartmentExtendedAttribute List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[413] | 11 | <h1>Department Extended Attribute List</h1> |
---|
[268] | 12 | </div> |
---|
| 13 | <div class="body"> |
---|
[413] | 14 | <g:render template="/shared/messages" /> |
---|
[268] | 15 | <div class="list"> |
---|
| 16 | <table> |
---|
| 17 | <thead> |
---|
| 18 | <tr> |
---|
| 19 | |
---|
| 20 | <g:sortableColumn property="id" title="Id" /> |
---|
| 21 | |
---|
| 22 | <g:sortableColumn property="value" title="Value" /> |
---|
| 23 | |
---|
| 24 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 25 | |
---|
| 26 | <th>Department</th> |
---|
| 27 | |
---|
| 28 | <th>Extended Attribute Type</th> |
---|
[413] | 29 | |
---|
| 30 | <th></th> |
---|
[268] | 31 | |
---|
| 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
| 35 | <g:each in="${departmentExtendedAttributeInstanceList}" status="i" var="departmentExtendedAttributeInstance"> |
---|
[413] | 36 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/departmentExtendedAttributeDetailed/show/${departmentExtendedAttributeInstance.id}"'/> |
---|
[268] | 37 | |
---|
[413] | 38 | <td>${fieldValue(bean:departmentExtendedAttributeInstance, field:'id')}</td> |
---|
[268] | 39 | |
---|
| 40 | <td>${fieldValue(bean:departmentExtendedAttributeInstance, field:'value')}</td> |
---|
| 41 | |
---|
| 42 | <td>${fieldValue(bean:departmentExtendedAttributeInstance, field:'isActive')}</td> |
---|
| 43 | |
---|
| 44 | <td>${fieldValue(bean:departmentExtendedAttributeInstance, field:'department')}</td> |
---|
| 45 | |
---|
| 46 | <td>${fieldValue(bean:departmentExtendedAttributeInstance, field:'extendedAttributeType')}</td> |
---|
[413] | 47 | |
---|
| 48 | <td> |
---|
| 49 | <g:link action="show" id="${departmentExtendedAttributeInstance.id}"> |
---|
| 50 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 51 | </g:link> |
---|
| 52 | </td> |
---|
[268] | 53 | |
---|
| 54 | </tr> |
---|
| 55 | </g:each> |
---|
| 56 | </tbody> |
---|
| 57 | </table> |
---|
| 58 | </div> |
---|
| 59 | <div class="paginateButtons"> |
---|
| 60 | <g:paginate total="${departmentExtendedAttributeInstanceTotal}" /> |
---|
| 61 | </div> |
---|
| 62 | </div> |
---|
| 63 | </body> |
---|
| 64 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.