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",
|
|
|
|
title: "Jump to next unresolved discussion",
|
|
|
|
"aria-label" => "Jump to next unresolved discussion",
|
2016-12-26 05:47:16 -05:00
|
|
|
data: { container: "body" } }
|
2016-07-29 10:03:58 -04:00
|
|
|
= custom_icon("next_discussion")
|