summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-16 08:24:40 +0200
committerByron Jones <glob@mozilla.com>2015-06-16 08:24:40 +0200
commita48e145a7b49d54937cc8672d4e2e71780a08e15 (patch)
treecdefedba4a5a3f6d7b31225358c9ca3469889b3e /extensions/BugModal/template/en/default
parent061328fe4778f8b633e5441828c2962672603922 (diff)
downloadbugzilla-a48e145a7b49d54937cc8672d4e2e71780a08e15.tar.gz
bugzilla-a48e145a7b49d54937cc8672d4e2e71780a08e15.tar.xz
Bug 1146774: treeherder/tbpl comments are not automatically collapsed
Diffstat (limited to 'extensions/BugModal/template/en/default')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index 33d8e73c6..7e4bc29d8 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -19,7 +19,9 @@
<menuitem id="view-comments-only" label="Comments Only"></menuitem>
<hr>
<menuitem id="view-toggle-cc" label="Show CC Changes"></menuitem>
- <menuitem id="view-toggle-treeherder" label="Hide Treeherder Comments" data-userid="[% treeherder.id FILTER none %]"></menuitem>
+ [% IF treeherder %]
+ <menuitem id="view-toggle-treeherder" label="Hide Treeherder Comments" data-userid="[% treeherder.id FILTER none %]"></menuitem>
+ [% END %]
</menu>
[%