Changeset 339 for trunk/grails-app/views/sectionDetailed
- Timestamp:
- Feb 9, 2010, 3:54:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/sectionDetailed/list.gsp
r273 r339 32 32 33 33 <th>Site</th> 34 35 <th></th> 34 36 35 37 </tr> … … 37 39 <tbody> 38 40 <g:each in="${sectionInstanceList}" status="i" var="sectionInstance"> 39 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">41 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'/> 40 42 41 <td> <g:link action="show" id="${sectionInstance.id}">${fieldValue(bean:sectionInstance, field:'id')}</g:link></td>43 <td>${fieldValue(bean:sectionInstance, field:'id')}</td> 42 44 43 45 <td>${fieldValue(bean:sectionInstance, field:'name')}</td> … … 50 52 51 53 <td>${fieldValue(bean:sectionInstance, field:'site')}</td> 54 55 <td> 56 <g:link action="show" id="${sectionInstance.id}"> 57 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 58 </g:link> 59 </td> 52 60 53 61 </tr>
Note: See TracChangeset
for help on using the changeset viewer.