From d1d8ec259d3c580818612f0ef05d007dc2926796 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 31 Jan 2014 15:13:25 +0800 Subject: Bug 587701: Make it possible to hide "TinderboxPushlog Robot" spam --- .../hook/bug/comments-aftercomments.html.tmpl | 31 ++++++++++++++++++++-- .../en/default/hook/bug/comments-end.html.tmpl | 20 -------------- 2 files changed, 29 insertions(+), 22 deletions(-) delete mode 100644 extensions/BMO/template/en/default/hook/bug/comments-end.html.tmpl (limited to 'extensions/BMO') diff --git a/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl index d8dc5bba0..65bf77967 100644 --- a/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/comments-aftercomments.html.tmpl @@ -9,17 +9,21 @@ [% IF has_tbpl_comment %] [% expand_caption = 'Expand TinderboxPushlog Comments' %] [% collapse_caption = 'Collapse TinderboxPushlog Comments' %] + [% show_caption = 'Show TinderboxPushlog Comments' %] + [% hide_caption = 'Hide TinderboxPushlog Comments' %] [% END %] diff --git a/extensions/BMO/template/en/default/hook/bug/comments-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-end.html.tmpl deleted file mode 100644 index 3bf18a515..000000000 --- a/extensions/BMO/template/en/default/hook/bug/comments-end.html.tmpl +++ /dev/null @@ -1,20 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF user.id && comment.author.login_name == 'tbplbot@gmail.com' %] - [% has_tbpl_comment = 1 %] - -[% END %] -- cgit v1.2.3-24-g4f1b