2016-09-13 17:45:13 +05:30
|
|
|
- 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" }
|
|
|
|
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
|
|
|
title: "Jump to next unresolved discussion",
|
|
|
|
"aria-label" => "Jump to next unresolved discussion",
|
2017-08-17 22:00:37 +05:30
|
|
|
data: { container: "body" } }
|
2016-09-13 17:45:13 +05:30
|
|
|
= custom_icon("next_discussion")
|