diff options
author | Phil Hughes <me@iamphill.com> | 2016-09-20 12:52:55 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-09-20 12:52:55 +0300 |
commit | f37a793f4714c2073cf614039f744544674bd011 (patch) | |
tree | d3781fda9545b57e7f560d232c1a8ed9c3b5bcbc /app/views/discussions/_notes.html.haml | |
parent | 95b9421ad3b2678da6e0af0131eafd52cdd0b2a5 (diff) |
Hide jump to next discussion button on commit notes
Closes #22354
Diffstat (limited to 'app/views/discussions/_notes.html.haml')
-rw-r--r-- | app/views/discussions/_notes.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/discussions/_notes.html.haml b/app/views/discussions/_notes.html.haml index fbe470bed2c..dfdbdf1f969 100644 --- a/app/views/discussions/_notes.html.haml +++ b/app/views/discussions/_notes.html.haml @@ -10,6 +10,7 @@ .btn-group{ role: "group" } = link_to_reply_discussion(discussion, line_type) = render "discussions/resolve_all", discussion: discussion - = render "discussions/jump_to_next", discussion: discussion + - if discussion.for_merge_request? + = render "discussions/jump_to_next", discussion: discussion - else = link_to_reply_discussion(discussion) |