diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-27 21:07:12 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-27 21:07:12 +0300 |
commit | 8539396216e028600259586c0f1e21f22b3bbe7e (patch) | |
tree | 7a3e9c5769894b1e04cb66a95f7192ebd1d80e4c /app/views/discussions/_jump_to_next.html.haml | |
parent | 9398ee7f2f5857de315bc06ffd278e514e650581 (diff) |
Fixed jump tp button being hidden
Diffstat (limited to 'app/views/discussions/_jump_to_next.html.haml')
-rw-r--r-- | app/views/discussions/_jump_to_next.html.haml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app/views/discussions/_jump_to_next.html.haml b/app/views/discussions/_jump_to_next.html.haml index 2828c7f8b30..dfdf6e60051 100644 --- a/app/views/discussions/_jump_to_next.html.haml +++ b/app/views/discussions/_jump_to_next.html.haml @@ -1,10 +1,9 @@ - discussion = local_assigns.fetch(:discussion, false) -- if discussion.resolvable? - %jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" } - .btn-group{ role: "group", - "v-show" => "!allResolved" } - %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") +%jump-to-discussion{ "inline-template" => true, ":discussion-id" => "'#{discussion.try(:id)}'" } + .btn-group{ role: "group", + "v-show" => "!allResolved" } + %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") |