Changeset 467 for trunk/grails-app/views/taskProcedureDetailed
- Timestamp:
- Mar 30, 2010, 7:29:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskProcedureDetailed/list.gsp
r450 r467 28 28 <filterpane:filterButton text="Search" appliedText="Change Search" /> 29 29 </span> 30 Results: ${taskProcedureInstanceTotal}30 Results: ${taskProcedureInstanceList.size()} / ${taskProcedureInstanceTotal} 31 31 </div> 32 32 33 <div class="list">34 <table>35 <thead>36 <tr>37 38 <g:sortableColumn property="id" title="Id" params="${filterParams}" />39 40 <g:sortableColumn property="name" title="Name" params="${filterParams}" />41 42 <g:sortableColumn property="description" title="Description" params="${filterParams}" />43 44 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" />45 33 46 <th></th> 47 48 </tr> 49 </thead> 50 <tbody> 51 <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> 52 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> 53 54 <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> 55 56 <td>${fieldValue(bean:taskProcedureInstance, field:'name')}</td> 57 58 <td>${fieldValue(bean:taskProcedureInstance, field:'description')}</td> 59 60 <td>${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> 34 <g:if test="${taskProcedureInstanceList.size() > 0}"> 35 <div class="list"> 36 <table> 37 <thead> 38 <tr> 61 39 62 <td> 63 <g:link action="show" id="${taskProcedureInstance.id}"> 64 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 65 </g:link> 66 </td> 67 68 </tr> 69 </g:each> 70 </tbody> 71 </table> 72 </div> 40 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 41 42 <g:sortableColumn property="name" title="Name" params="${filterParams}" /> 43 44 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 45 46 <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> 47 48 <th></th> 49 50 </tr> 51 </thead> 52 <tbody> 53 <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> 54 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> 55 56 <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> 57 58 <td>${fieldValue(bean:taskProcedureInstance, field:'name')}</td> 59 60 <td>${fieldValue(bean:taskProcedureInstance, field:'description')}</td> 61 62 <td>${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> 63 64 <td> 65 <g:link action="show" id="${taskProcedureInstance.id}"> 66 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 67 </g:link> 68 </td> 69 70 </tr> 71 </g:each> 72 </tbody> 73 </table> 74 </div> 75 </g:if> 73 76 74 77 <div class="paginateButtons">
Note: See TracChangeset
for help on using the changeset viewer.