diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-08-15 11:25:28 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-08-15 11:25:28 -0600 |
commit | 32e31d626f743c22b5ed21c50555f4670d5290f9 (patch) | |
tree | 55d990b6c8712aaa3fa68d08a32e666a990e0326 /app/views/discussions/_jump_to_next.html.haml | |
parent | 1595047777ea035d2b8bddbd3a07a1bc68b58c55 (diff) | |
download | gitlab-ce-32e31d626f743c22b5ed21c50555f4670d5290f9.tar.gz |
Resolve feedback.
Diffstat (limited to 'app/views/discussions/_jump_to_next.html.haml')
-rw-r--r-- | app/views/discussions/_jump_to_next.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/discussions/_jump_to_next.html.haml b/app/views/discussions/_jump_to_next.html.haml index f5574ef7399..69bd416c4de 100644 --- a/app/views/discussions/_jump_to_next.html.haml +++ b/app/views/discussions/_jump_to_next.html.haml @@ -1,9 +1,7 @@ - discussion = local_assigns.fetch(:discussion, nil) - if current_user %jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" } - .btn-group{ role: "group", - "v-show" => "!allResolved", - "v-if" => "showButton" } + .btn-group{ role: "group", "v-show" => "!allResolved", "v-if" => "showButton" } %button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion", title: "Jump to next unresolved discussion", "aria-label" => "Jump to next unresolved discussion", |