- Timestamp:
- Feb 24, 2010, 2:44:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/sectionExtendedAttributeDetailed/list.gsp
r268 r413 9 9 <body> 10 10 <div class="nav"> 11 < span class="menuButton"><g:link class="create" action="create">New SectionExtendedAttribute</g:link></span>11 <h1>Section Extended Attribute List</h1> 12 12 </div> 13 13 <div class="body"> 14 <h1>SectionExtendedAttribute List</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 14 <g:render template="/shared/messages" /> 18 15 <div class="list"> 19 16 <table> … … 30 27 31 28 <th>Section</th> 29 30 <th></th> 32 31 33 32 </tr> … … 35 34 <tbody> 36 35 <g:each in="${sectionExtendedAttributeInstanceList}" status="i" var="sectionExtendedAttributeInstance"> 37 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">36 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionExtendedAttributeDetailed/show/${sectionExtendedAttributeInstance.id}"'/> 38 37 39 <td> <g:link action="show" id="${sectionExtendedAttributeInstance.id}">${fieldValue(bean:sectionExtendedAttributeInstance, field:'id')}</g:link></td>38 <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'id')}</td> 40 39 41 40 <td>${fieldValue(bean:sectionExtendedAttributeInstance, field:'value')}</td> … … 46 45 47 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> 48 53 49 54 </tr>
Note: See TracChangeset
for help on using the changeset viewer.