Making WordPress.org

Ticket #719: 719.2.patch

File 719.2.patch, 2.2 KB (added by netweb, 9 years ago)
  • sites/trunk/trac.wordpress.org/templates/site.html

     
    1414
    1515        if project_slug == 'bbpress' :
    1616                support_link = '//bbpress.org/forums/'
     17                project_title = "bbPress"
    1718        elif project_slug == 'buddypress' :
    1819                support_link = '//buddypress.org/support/topics/'
     20                project_title = "BuddyPress"
    1921        else :
    2022                support_link = '//wordpress.org/support/'
     23                project_title = "WordPress"
    2124
    2225        profile_link = '//profiles.wordpress.org/'
    2326        profile_to_edit = '//wordpress.org/support/profile/'
     
    6669        <link rel='stylesheet' href='//s.w.org/wp-includes/css/dashicons.min.css?20140130' type='text/css' />
    6770        <link rel="stylesheet" type="text/css" href="//s.w.org/style/trac/wp-trac.css?${scripts_version}" />
    6871        <link py:if="req.session['authenticated']" rel="stylesheet" href="//s.w.org/wp-includes/css/wp-auth-check.css?ver=3.9-alpha" type="text/css" media="all" />
    69                
     72
    7073        <script py:attrs="select('@*')"></script>
    7174
    7275        <py:if test="req.environ['PATH_INFO'] == '/newticket'">
     
    117120                                </p>
    118121                        </py:choose>
    119122                </div>
    120                 <py:if test="project_slug == 'core'">
     123                <py:if test="project_slug == 'core' or 'bbpress' or 'buddypress'">
    121124                <div class="newticket-instructions">
    122                         <p><strong>This form is for reporting bugs in WordPress.</strong> Here are some questions and tips to help you write a great bug report:</p>
     125                        <p><strong>This form is for reporting bugs in ${project_title}.</strong> Here are some questions and tips to help you write a great bug report:</p>
    123126                        <ul>
    124                                 <li>Are you using either the latest version of WordPress, or the latest development version? If not, please update first.</li>
     127                                <li>Are you using either the latest version of ${project_title}, or the latest development version? If not, please update first.</li>
    125128                                <li>What steps should be taken to consistently reproduce the problem?</li>
    126129                                <li>Does the problem occur even when you deactivate all plugins and use the default theme?</li>
    127130                                <li>In case it's relevant to the ticket, what is the expected output or result? What did you see instead?</li>