BigW Consortium Gitlab

_jump_to_next.html.haml 557 Bytes
Newer Older
Douwe Maan committed
1
- discussion = local_assigns.fetch(:discussion, nil)
2 3
- if current_user
  %jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" }
Connor Shea committed
4
    .btn-group{ role: "group", "v-show" => "!allResolved", "v-if" => "showButton" }
5 6 7
      %button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion",
        title: "Jump to next unresolved discussion",
        "aria-label" => "Jump to next unresolved discussion",
8
        data: { container: "body" } }
9
        = custom_icon("next_discussion")