Last change
on this file since 417 was
412,
checked in by gav, 15 years ago
|
Add alt menu and shared messages to department detailed views.
|
File size:
2.4 KB
|
Rev | Line | |
---|
[162] | 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>Department List</title> |
---|
[412] | 8 | <nav:resources override="true"/> |
---|
[162] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[412] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[162] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[412] | 15 | <g:render template="/shared/messages" /> |
---|
[162] | 16 | <div class="list"> |
---|
| 17 | <table> |
---|
| 18 | <thead> |
---|
| 19 | <tr> |
---|
| 20 | |
---|
| 21 | <g:sortableColumn property="id" title="Id" /> |
---|
| 22 | |
---|
[164] | 23 | <g:sortableColumn property="name" title="Name" /> |
---|
[162] | 24 | |
---|
| 25 | <g:sortableColumn property="description" title="Description" /> |
---|
| 26 | |
---|
| 27 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
[339] | 28 | |
---|
| 29 | <th></th> |
---|
[162] | 30 | |
---|
| 31 | </tr> |
---|
| 32 | </thead> |
---|
| 33 | <tbody> |
---|
| 34 | <g:each in="${departmentInstanceList}" status="i" var="departmentInstance"> |
---|
[339] | 35 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'/> |
---|
[162] | 36 | |
---|
[339] | 37 | <td>${fieldValue(bean:departmentInstance, field:'id')}</td> |
---|
[162] | 38 | |
---|
[164] | 39 | <td>${fieldValue(bean:departmentInstance, field:'name')}</td> |
---|
[162] | 40 | |
---|
| 41 | <td>${fieldValue(bean:departmentInstance, field:'description')}</td> |
---|
| 42 | |
---|
| 43 | <td>${fieldValue(bean:departmentInstance, field:'isActive')}</td> |
---|
[339] | 44 | |
---|
| 45 | <td> |
---|
| 46 | <g:link action="show" id="${departmentInstance.id}"> |
---|
| 47 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 48 | </g:link> |
---|
| 49 | </td> |
---|
[162] | 50 | |
---|
| 51 | </tr> |
---|
| 52 | </g:each> |
---|
| 53 | </tbody> |
---|
| 54 | </table> |
---|
| 55 | </div> |
---|
| 56 | <div class="paginateButtons"> |
---|
| 57 | <g:paginate total="${departmentInstanceTotal}" /> |
---|
| 58 | </div> |
---|
| 59 | </div> |
---|
| 60 | </body> |
---|
| 61 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.