Commit 9398ee7f authored by Phil Hughes's avatar Phil Hughes

Hides jump to next button on commit discussion

parent 2247d8a4
- discussion = local_assigns.fetch(:discussion, false) - discussion = local_assigns.fetch(:discussion, false)
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" } - if discussion.resolvable?
.btn-group{ role: "group", %jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
"v-show" => "!allResolved" } .btn-group{ role: "group",
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion", "v-show" => "!allResolved" }
title: "Jump to next unresolved discussion", %button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
"aria-label" => "Jump to next unresolved discussion", title: "Jump to next unresolved discussion",
data: { container: "body" } } "aria-label" => "Jump to next unresolved discussion",
= custom_icon("next_discussion") data: { container: "body" } }
= custom_icon("next_discussion")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment