WordPress.org

Making WordPress.org

Changeset 351


Ignore:
Timestamp:
01/31/2014 07:27:04 AM (6 years ago)
Author:
nacin
Message:

Trac: Add new 'administration' and 'template' focuses. see #287.

Location:
sites/trunk/wordpress.org/public_html/style/trac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css

    r350 r351  
    11381138}
    11391139#properties table td#focuses {
    1140     padding: .6em 0 .3em 100px;
     1140    padding: .6em 0 .3em 60px;
    11411141    height: 66px;
    11421142}
     
    11461146#focuses ul {
    11471147    float: left;
    1148     width: 256px;
     1148    width: 296px;
    11491149    margin: 0;
    11501150    padding: 0;
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r340 r351  
    2828        'javascript' : 'Heavy JavaScript focus.',
    2929        // 'unit tests' : 'PHP or JS unit tests.',
    30         // 'administration' : 'Dashboard related, but assigned a more specifc component.',
    31         // 'template' : 'Relating to theme template functions, but assigned a more specific component.',
    3230        'docs' : 'Inline documentation focus.',
     31        'rtl' : 'Right-to-left languages.',
     32        'administration' : 'Administration related, but assigned a more specifc component.',
     33        'template' : 'Relating to theme templating, but assigned a more specific component.',
    3334        'multisite' : 'Relating to multisite, but assigned a more specific component.',
    34         'performance' : 'Performance or caching (but not the Cache API component).',
    35         'rtl' : 'Right-to-left languages.'
     35        'performance' : 'Performance or caching (but not the Cache API component).'
    3636    };
    3737
     
    611611                        title: description,
    612612                        class: classes
    613                     } ).html( '<a href="#">' + focus + '</a>' ) );
     613                    } ).html( '<a href="#">' + ( focus === 'administration' ? 'admin' : focus ) + '</a>' ) );
    614614                });
    615615                ul.appendTo( container );
Note: See TracChangeset for help on using the changeset viewer.