Changeset 339
- Timestamp:
- Feb 9, 2010, 3:54:38 AM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/departmentDetailed/list.gsp
r268 r339 28 28 29 29 <g:sortableColumn property="isActive" title="Is Active" /> 30 31 <th></th> 30 32 31 33 </tr> … … 33 35 <tbody> 34 36 <g:each in="${departmentInstanceList}" status="i" var="departmentInstance"> 35 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">37 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'/> 36 38 37 <td> <g:link action="show" id="${departmentInstance.id}">${fieldValue(bean:departmentInstance, field:'id')}</g:link></td>39 <td>${fieldValue(bean:departmentInstance, field:'id')}</td> 38 40 39 41 <td>${fieldValue(bean:departmentInstance, field:'name')}</td> … … 42 44 43 45 <td>${fieldValue(bean:departmentInstance, field:'isActive')}</td> 46 47 <td> 48 <g:link action="show" id="${departmentInstance.id}"> 49 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 50 </g:link> 51 </td> 44 52 45 53 </tr> -
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> -
trunk/grails-app/views/siteDetailed/list.gsp
r268 r339 28 28 29 29 <g:sortableColumn property="isActive" title="Is Active" /> 30 31 <th></th> 30 32 31 33 </tr> … … 33 35 <tbody> 34 36 <g:each in="${siteInstanceList}" status="i" var="siteInstance"> 35 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">37 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'/> 36 38 37 <td> <g:link action="show" id="${siteInstance.id}">${fieldValue(bean:siteInstance, field:'id')}</g:link></td>39 <td>${fieldValue(bean:siteInstance, field:'id')}</td> 38 40 39 41 <td>${fieldValue(bean:siteInstance, field:'name')}</td> … … 42 44 43 45 <td>${fieldValue(bean:siteInstance, field:'isActive')}</td> 46 47 <td> 48 <g:link action="show" id="${siteInstance.id}"> 49 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 50 </g:link> 51 </td> 44 52 45 53 </tr>
Note: See TracChangeset
for help on using the changeset viewer.