Changeset 356 for trunk/grails-app/views
- Timestamp:
- Feb 15, 2010, 6:26:53 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetDetailed/search.gsp
r326 r356 87 87 88 88 <g:if test="${assetInstanceList.size() > 10}"> 89 <div class="paginateButtons"> 90 <g:paginate total="${assetInstanceTotal}" params="${filterParams}" /> 91 </div> 89 <g:if test="${assetInstanceTotal > assetInstanceList.size()}"> 90 <div class="paginateButtons"> 91 <g:paginate total="${assetInstanceTotal}" params="${filterParams}" /> 92 </div> 93 </g:if> 92 94 </g:if> 93 95 -
trunk/grails-app/views/assetSubItemDetailed/search.gsp
r336 r356 31 31 </span> 32 32 </div> 33 34 <jsUtil:toggleControl toggleId="options" 35 imageId="optionsImg" 36 closedImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_right.png')}" 37 openImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_down.png')}" 38 text="${g.message(code: 'default.options.text')}" 39 /> 40 41 <div id="options" style="display:none;"> 42 <g:form method="post"> 43 <g:hiddenField name="params" value="${filterParams}" /> 44 <div class="dialog"> 45 <table> 46 <tbody> 47 48 <tr class="prop"> 49 <td valign="top" class="name"> 50 <label for="max">Results per page:</label> 51 </td> 52 <td valign="top" class="value"> 53 <input type="text" maxlength="4" id="description" name="newMax" value="${params.max}"/> 54 55 <span class="buttons"> 56 <g:actionSubmit action="setSearchParamsMax" class="go" value="Update" /> 57 </span> 58 </td> 59 </tr> 60 61 </tbody> 62 </table> 63 </div> 64 </g:form> 65 <export:formats params="${filterParams}" formats="['csv', 'excel', 'pdf', 'rtf']"/> 66 </div> 67 68 <br /> 69 70 <g:if test="${assetSubItemInstanceList.size() > 10}"> 71 <g:if test="${assetSubItemInstanceTotal > assetSubItemInstanceList.size()}"> 72 <div class="paginateButtons"> 73 <g:paginate total="${assetSubItemInstanceTotal}" params="${filterParams}" /> 74 </div> 75 </g:if> 76 </g:if> 33 77 34 78 <div class="list"> … … 76 120 </div> 77 121 78 <export:formats params="${filterParams}" formats="['csv', 'excel', 'pdf', 'rtf']"/>79 80 122 <filterpane:filterPane domainBean="AssetSubItem" 81 123 title="Search" -
trunk/grails-app/views/taskDetailed/search.gsp
r326 r356 79 79 80 80 <g:if test="${taskInstanceList.size() > 10}"> 81 <div class="paginateButtons"> 82 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" /> 83 </div> 81 <g:if test="${taskInstanceTotal > taskInstanceList.size()}"> 82 <div class="paginateButtons"> 83 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" /> 84 </div> 85 </g:if> 84 86 </g:if> 85 87
Note: See TracChangeset
for help on using the changeset viewer.