summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-18 16:13:41 +0200
committerByron Jones <glob@mozilla.com>2015-05-18 16:13:41 +0200
commit1e23e69630c37096d05e9a3ef31e824e912987d3 (patch)
tree6c2334efa9c3f63d35173d75e6bdbb914b6784a1 /extensions/BMO/template
parent85152c6f92719d00962a84e6b850081a6b46a2da (diff)
downloadbugzilla-1e23e69630c37096d05e9a3ef31e824e912987d3.tar.gz
bugzilla-1e23e69630c37096d05e9a3ef31e824e912987d3.tar.xz
Bug 1165917: support tbplbot@gmail.com and treeherder@bots.tld as the tbpl/treeheder bot name
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
index caf7acca7..56e11062d 100644
--- a/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
@@ -6,7 +6,9 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% IF user.id && comment.author.login_name == 'tbplbot@gmail.com' %]
+[% IF user.id
+ && (comment.author.login_name == 'tbplbot@gmail.com' || comment.author.login_name == 'treeherder@bots.tld')
+%]
[% has_tbpl_comment = 1 %]
<script>
var id = [% count FILTER none %];