WordPress.org

Making WordPress.org

Changeset 220


Ignore:
Timestamp:
01/06/2014 11:53:43 PM (7 years ago)
Author:
nacin
Message:

Trac: Show number of Query results even when they fit on one page. fixes #266.

File:
1 edited

Legend:

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

    r219 r220  
    168168</td>
    169169
     170<!--! Show number of Query results even when they fit on one page -->
     171<py:match path="div[@id='content' and @class='query']/div/table[@class='listing tickets']">
     172    <h2 class="report-result" py:if="not paginator.has_more_pages">Results <span class="numresults">(${paginator.num_items})</span></h2>
     173    <table py:attrs="select('@*')">
     174    ${select('*|comment()|text()')}
     175    </table>
     176</py:match>
     177
    170178<!--! Demote the nav "Preferences" link to the footer. To hide from header (trac.ini): [metanav] prefs = disabled -->
    171179<div py:match="div[@id='altlinks']" py:attrs="select('@*')">
Note: See TracChangeset for help on using the changeset viewer.