Making WordPress.org

Changeset 291


Ignore:
Timestamp:
01/13/2014 02:28:59 PM (11 years ago)
Author:
nacin
Message:

Trac template updates for plugins.trac.

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

Legend:

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

    r290 r291  
    55
    66<?python
    7     scripts_version = '32'
     7    scripts_version = '33'
    88    project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99    wporg_endpoint = '//make.wordpress.org/core/'
     
    5656    <py:match path="div[@id='content' and @class='ticket']/form">
    5757        <div class="wp-notice">
    58         <p><strong>ARE YOU IN THE RIGHT PLACE?</strong></p>
    59             <p><strong>This is not for support.</strong> Please try the <a class="ext-link" href="${support_link}"><span class="icon">&nbsp;</span>support forums</a>.</p>
    60             <p><strong>Do not report potential security vulnerabilities here.</strong> Read the <a class="ext-link" href="//codex.wordpress.org/FAQ_Security"><span class="icon">&nbsp;</span>Security FAQ</a> and email us at <a class="mail-link" href="mailto:security@wordpress.org"><span class="icon">&nbsp;</span>security@wordpress.org</a>.</p>
     58            <p><strong>ARE YOU IN THE RIGHT PLACE?</strong></p>
     59
     60            <py:choose test="">
     61                <p py:when="project_slug == 'plugins' and ticket.component and ticket.component != 'not-listed'"><strong>This is not for support.</strong> Please try this plugin's <a class="ext-link" href="${support_link}plugin/${ticket.component}"><span class="icon">&nbsp;</span>support forum</a>.</p>
     62                <p py:otherwise=""><strong>This is not for support.</strong> Please try the <a class="ext-link" href="${support_link}"><span class="icon">&nbsp;</span>support forums</a>.</p>
     63            </py:choose>
     64
     65            <py:choose test="project_slug">
     66                <p py:when="'plugins'"><strong>Do not report potential security vulnerabilities here.</strong> Please email <a class="mail-link" href="mailto:plugins@wordpress.org"><span class="icon">&nbsp;</span>plugins@wordpress.org</a>.</p>
     67                <p py:otherwise=""><strong>Do not report potential security vulnerabilities here.</strong> Read the <a class="ext-link" href="//codex.wordpress.org/FAQ_Security"><span class="icon">&nbsp;</span>Security FAQ</a> and email <a class="mail-link" href="mailto:security@wordpress.org"><span class="icon">&nbsp;</span>security@wordpress.org</a>.</p>
     68            </py:choose>
     69
    6170            <py:if test="project_slug == 'core'">
    6271            <hr />
     
    201210</py:if>
    202211
    203 <body py:match="body" id="wordpress-org" class="${project_slug}" py:attrs="select('@*')">
     212<body py:match="body" id="wordpress-org" class="${project_slug} trac" py:attrs="select('@*')">
    204213    <!--! WP.org Global Header -->
    205214    <xi:include href="wporg-header.html" />
  • sites/trunk/trac.wordpress.org/templates/wporg-head.html

    r282 r291  
    88    -->
    99    <link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&amp;subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic' rel='stylesheet' type='text/css' />
    10     <link rel="stylesheet" href="//wordpress.org/style/wp4.css?48" />
     10    <link rel="stylesheet" href="//wordpress.org/style/wp4.css?48a" />
    1111    <!--[if lte IE 8]>
    1212    <style type="text/css">
Note: See TracChangeset for help on using the changeset viewer.