Making WordPress.org

Changeset 9367


Ignore:
Timestamp:
12/19/2019 08:27:40 AM (5 years ago)
Author:
dd32
Message:

Trac: Github PRs: style prbot comments similar to slackbot mentions when the comment is italic (which signifies it's an inline comment, rather than a regular comment).

See #4903.

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

Legend:

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

    r9341 r9367  
    55
    66<?python
    7     scripts_version = '130'
     7    scripts_version = '131'
    88    project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99    wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/'
  • sites/trunk/trac.wordpress.org/templates/ticket_change.html

    r8088 r9367  
    3333
    3434<py:choose>
    35 <py:when test="'author' in change and ('slackbot' == change.author or 'ircbot' == change.author)"
     35<py:when test="'author' in change and ('slackbot' == change.author or 'ircbot' == change.author or ( 'prbot' == change.author and change.comment.startswith('\'\'') ) )"
    3636         py:with="wporg_user = wporg_sanitize_user_nicename(change.author)"  >
    3737  <h3 class="change chat-bot">
Note: See TracChangeset for help on using the changeset viewer.