Making WordPress.org


Ignore:
Timestamp:
01/03/2014 08:53:16 PM (13 years ago)
Author:
nacin
Message:

Trac: Demote the nav "Preferences" link to the footer, now that we're no longer relying on it for email notifications.

File:
1 edited

Legend:

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

    r210 r211  
    55
    66<?python
    7         scripts_version = 21
     7        scripts_version = 22
    88        project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99
    … …  
    167167</td>
    168168
     169<!--! Demote the nav "Preferences" link to the footer. To hide from header (trac.ini): [metanav] prefs = disabled -->
     170<div py:match="div[@id='altlinks']" py:attrs="select('@*')">
     171    <a class="preferences-link" href="${href.prefs()}">Trac UI Preferences</a>
     172    ${select('*|comment()|text()')}
     173</div>
     174
    169175<!--! remove anonymous 'Advanced' session management tab -->
    170176<py:match path="div[@id='content' and @class='prefs']/ul[@id='tabs']/li[@id='tab_advanced']" once="true" py:strip=""></py:match>
Note: See TracChangeset for help on using the changeset viewer.