diff options
author | David Lawrence <dkl@mozilla.com> | 2017-02-18 23:55:31 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-02-18 23:55:31 +0100 |
commit | 262449edeac2182aca7d4c5c68f3f8ee862ba10b (patch) | |
tree | eb22380ac6adbd3a2a7c834604dbad5b7d9bd169 /extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl | |
parent | 730ca1270c21d9a0af01e304479ddc4e6b1a4fa6 (diff) | |
download | bugzilla-262449edeac2182aca7d4c5c68f3f8ee862ba10b.tar.gz bugzilla-262449edeac2182aca7d4c5c68f3f8ee862ba10b.tar.xz |
Bug 1340840 - The 'Add Comment' button is visible but doesnt do anything when user is not logged in
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl | 2 |
1 files changed, 1 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 f046cf904..c658f0642 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 @@ -7,7 +7,7 @@ #%] <div id="comment-actions"> - [% IF user.settings.comment_box_position.value == 'after_comments' %] + [% IF user.id && user.settings.comment_box_position.value == 'after_comments' %] <button type="button" id="add-comment-btn" class="minor">Add Comment ↓</button> [% ELSE %] <button type="button" id="bottom-btn" class="minor">Bottom ↓</button> |