2016-07-28 22:09:36 -04:00
|
|
|
- discussion = local_assigns.fetch(:discussion, nil)
|
2016-07-29 10:03:58 -04:00
|
|
|
- if current_user
|
|
|
|
%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
|
2016-08-15 13:25:28 -04:00
|
|
|
.btn-group{ role: "group", "v-show" => "!allResolved", "v-if" => "showButton" }
|
2016-07-29 10:03:58 -04:00
|
|
|
%button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
|
2017-05-26 18:27:11 -04:00
|
|
|
":title" => "buttonText",
|
|
|
|
":aria-label" => "buttonText",
|
2016-12-26 05:47:16 -05:00
|
|
|
data: { container: "body" } }
|
2016-07-29 10:03:58 -04:00
|
|
|
= custom_icon("next_discussion")
|