Ignore:
Timestamp:
Feb 15, 2010, 6:26:53 PM (14 years ago)
Author:
gav
Message:

Add options div to AssetSubItem search view.
Prevent display of top paginate div in search views if there are no pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/search.gsp

    r326 r356  
    7979
    8080            <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>
    8486            </g:if>
    8587
Note: See TracChangeset for help on using the changeset viewer.