Skip to content

Commit

Permalink
Add treeherder robot
Browse files Browse the repository at this point in the history
  • Loading branch information
staktrace committed Mar 23, 2015
1 parent 0ca0f09 commit 52ad6ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dashboard.php
Expand Up @@ -249,7 +249,8 @@ function column( &$reasons ) {

$numRows++;
$stamp = strtotime( $row['stamp'] );
$isTbplRobot = (stripWhitespace( $row['author'] ) == 'TBPLRobot');
$isTbplRobot = (stripWhitespace( $row['author'] ) == 'TBPLRobot')
|| (stripWhitespace( $row['author'] ) == 'TreeherderRobot');
$bblocks[ $row['bug'] ][ $stamp ] .= sprintf( '<div class="row" style="%s%s" id="c%d">%s <a href="%s/show_bug.cgi?id=%d#c%d">said</a>:<br/>%s</div>',
($hide ? 'display: none;' : 'white-space: pre-line;'),
($isTbplRobot ? 'opacity: 0.5;' : ''),
Expand Down

0 comments on commit 52ad6ae

Please sign in to comment.