summaryrefslogtreecommitdiff
path: root/app/views/discussions
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/discussions')
-rw-r--r--app/views/discussions/_jump_to_next.html.haml17
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")