diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-27 11:27:00 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-27 11:27:00 +0300 |
commit | 5a0cd0e947c3e7632400a309d1cca08a3d84a5b0 (patch) | |
tree | e97247b15eb1f390cfe666303d49f1ef00426256 /app/views/discussions/_jump_to_next.html.haml | |
parent | c6d96fdfbcc26f52ad60ae746c4110dd5485ad08 (diff) |
Added jump tp next discussion button
Diffstat (limited to 'app/views/discussions/_jump_to_next.html.haml')
-rw-r--r-- | app/views/discussions/_jump_to_next.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/discussions/_jump_to_next.html.haml b/app/views/discussions/_jump_to_next.html.haml new file mode 100644 index 00000000000..83c94b65ea3 --- /dev/null +++ b/app/views/discussions/_jump_to_next.html.haml @@ -0,0 +1,10 @@ +- discussion = local_assigns.fetch(:discussion, false) +%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" } + .btn-group{ role: "group", + "v-show" => "!allResolved", + "v-if" => "!isLast" } + %button.btn.btn-default.discussion-next-btn.has-tooltip{ "@click" => "jumpToNextUnresolvedDiscussion", + title: "Jump to next unresolved discussion", + "aria-label" => "Jump to next unresolved discussion", + data: { container: "body" } } + = custom_icon("next_discussion") |