Last change
on this file since 425 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.7 KB
|
Line | |
---|
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>SectionExtendedAttribute List</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Section Extended Attribute List</h1> |
---|
12 | </div> |
---|
13 | <div class="body"> |
---|
14 | <g:render template="/shared/messages" /> |
---|
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>Extended Attribute Type</th> |
---|
27 | |
---|
28 | <th>Section</th> |
---|
29 | |
---|
30 | <th></th> |
---|
31 | |
---|
32 | </tr> |
---|
33 | </thead> |
---|
34 | <tbody> |
---|
35 | <g:each in="${sectionExtendedAttributeInstanceList}" status="i" var="sectionExtendedAttributeInstance"> |
---|
36 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionExtendedAttributeDetailed/show/${sectionExtendedAttributeInstance.id}"'/> |
---|
37 | |
---|
38 | <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'id')}</td> |
---|
39 | |
---|
40 | <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'value')}</td> |
---|
41 | |
---|
42 | <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'isActive')}</td> |
---|
43 | |
---|
44 | <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'extendedAttributeType')}</td> |
---|
45 | |
---|
46 | <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'section')}</td> |
---|
47 | |
---|
48 | <td> |
---|
49 | <g:link action="show" id="${sectionExtendedAttributeInstance.id}"> |
---|
50 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
51 | </g:link> |
---|
52 | </td> |
---|
53 | |
---|
54 | </tr> |
---|
55 | </g:each> |
---|
56 | </tbody> |
---|
57 | </table> |
---|
58 | </div> |
---|
59 | <div class="paginateButtons"> |
---|
60 | <g:paginate total="${sectionExtendedAttributeInstanceTotal}" /> |
---|
61 | </div> |
---|
62 | </div> |
---|
63 | </body> |
---|
64 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.