From 8539396216e028600259586c0f1e21f22b3bbe7e Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 27 Jul 2016 19:07:12 +0100 Subject: Fixed jump tp button being hidden --- app/views/discussions/_jump_to_next.html.haml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'app/views/discussions') 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") -- cgit v1.2.1