Making WordPress.org

Changeset 308


Ignore:
Timestamp:
01/24/2014 04:17:33 AM (11 years ago)
Author:
nacin
Message:

Trac: When showing the # of query results, place it immediately below the query form.

This previously placed it immediately above the first table. When tickets were grouped by a field, the group heading would appear above the results count.

fixes #294. see #266.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r299 r308  
    183183
    184184<!--! Show number of Query results even when they fit on one page -->
    185 <py:match path="div[@id='content' and @class='query']/div/table[@class='listing tickets']">
     185<py:match path="div[@id='content' and @class='query']/form[@id='query']">
     186    <form py:attrs="select('@*')">
     187    ${select('*|comment()|text()')}
     188    </form>
    186189    <h2 class="report-result" py:if="not paginator.has_more_pages">Results <span class="numresults">(${paginator.num_items})</span></h2>
    187     <table py:attrs="select('@*')">
    188     ${select('*|comment()|text()')}
    189     </table>
    190190</py:match>
    191191
Note: See TracChangeset for help on using the changeset viewer.