From 7e019504f5ac6decde690565857238e7e59aa034 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 26 Mar 2020 09:07:52 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/views/projects/issues/show.html.haml | 2 ++ app/views/projects/merge_requests/_awards_block.html.haml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'app/views/projects') diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 9062f2097b8..f7702499970 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -87,6 +87,8 @@ .col-md-12.col-lg-6.js-noteable-awards = render 'award_emoji/awards_block', awardable: @issue, inline: true .col-md-12.col-lg-6.new-branch-col + - if Feature.enabled?(:sort_discussions, @project) + #js-vue-sort-issue-discussions #js-vue-discussion-filter{ data: { default_filter: current_user&.notes_filter_for(@issue), notes_filters: UserPreference.notes_filters.to_json } } = render 'new_branch' if show_new_branch_button? diff --git a/app/views/projects/merge_requests/_awards_block.html.haml b/app/views/projects/merge_requests/_awards_block.html.haml index 1eab28a2ff3..c1e92e22590 100644 --- a/app/views/projects/merge_requests/_awards_block.html.haml +++ b/app/views/projects/merge_requests/_awards_block.html.haml @@ -2,4 +2,6 @@ = render 'award_emoji/awards_block', awardable: @merge_request, inline: true do - if mr_tabs_position_enabled? .ml-auto.mt-auto.mb-auto + - if Feature.enabled?(:sort_discussions, @merge_request.target_project) + #js-vue-sort-issue-discussions = render "projects/merge_requests/discussion_filter" -- cgit v1.2.3