diff options
author | Byron Jones <glob@mozilla.com> | 2015-05-12 15:35:45 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-12 15:35:45 +0200 |
commit | 0215f11d5c734cb818ed7b988b8f73e745e45179 (patch) | |
tree | 7d2c7f9b769bfa560aab4f0590597a52378ce438 /extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | |
parent | b7afadc6edb7a8f25acafaf08bd611b8ad5892ab (diff) | |
download | bugzilla-0215f11d5c734cb818ed7b988b8f73e745e45179.tar.gz bugzilla-0215f11d5c734cb818ed7b988b8f73e745e45179.tar.xz |
Bug 1146770: implement comment preview
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index dd673537c..67c94f499 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -978,6 +978,13 @@ INCLUDE bug_modal/activity_stream.html.tmpl stream=bug.activity_stream; IF user.id; INCLUDE bug_modal/new_comment.html.tmpl; + ELSE; + %] + <div id="new-comment-notice"> + You need to <a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]&GoAheadAndLogIn=1">log in</a> + before you can comment on or make changes to this [% terms.bug %]. + </div> + [% END; %] @@ -1007,11 +1014,6 @@ </div> </div> </form> -[% ELSE %] - <div id="login-required"> - You need to <a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]&GoAheadAndLogIn=1">log in</a> - before you can comment on or make changes to this [% terms.bug %]. - </div> [% END %] [%# === blocks === %] |