Changeset 467 for trunk/grails-app/views/assetSubItemDetailed
- Timestamp:
- Mar 30, 2010, 7:29:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetSubItemDetailed/search.gsp
r450 r467 75 75 </g:if> 76 76 77 <div class="list"> 78 <table> 79 <thead> 80 <tr> 81 82 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 77 <g:if test="${assetSubItemInstanceList.size() > 0}"> 78 <div class="list"> 79 <table> 80 <thead> 81 <tr> 82 83 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 83 84 84 <g:sortableColumn property="name" title="Name" params="${filterParams}" />85 86 <g:sortableColumn property="description" title="Description" params="${filterParams}" />85 <g:sortableColumn property="name" title="Name" params="${filterParams}" /> 86 87 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 87 88 88 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" />89 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> 89 90 90 <th></th>91 92 </tr>93 </thead>94 <tbody>95 <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance">96 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'/>97 98 <td>${fieldValue(bean:assetSubItemInstance, field:'id')}</td>91 <th></th> 92 93 </tr> 94 </thead> 95 <tbody> 96 <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance"> 97 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'/> 98 99 <td>${fieldValue(bean:assetSubItemInstance, field:'id')}</td> 99 100 100 <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td>101 <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td> 101 102 102 <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td>103 <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td> 103 104 104 <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td>105 <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> 105 106 106 <td> 107 <g:link action="show" id="${assetSubItemInstance.id}"> 108 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 109 </g:link> 110 </td> 111 112 </tr> 113 </g:each> 114 </tbody> 115 </table> 116 </div> 107 <td> 108 <g:link action="show" id="${assetSubItemInstance.id}"> 109 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 110 </g:link> 111 </td> 112 113 </tr> 114 </g:each> 115 </tbody> 116 </table> 117 </div> 118 </g:if> 117 119 <div class="paginateButtons"> 118 120 <g:paginate total="${assetSubItemInstanceTotal}" params="${filterParams}" />
Note: See TracChangeset
for help on using the changeset viewer.