summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-08-10 12:54:54 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-08-10 12:54:54 +0000
commitafd6e517e59aa07ab377fc29da45be08918a4f8e (patch)
treef399925861b54b7e1aa649cd623d34e38629cfa3 /app/views
parent26684325c2c6b137bf0729df94771062bed1e2c1 (diff)
parent69f9ee28f819c9bd38a0a950f5314d7933a95d7f (diff)
downloadgitlab-ce-afd6e517e59aa07ab377fc29da45be08918a4f8e.tar.gz
Merge branch 'remove-affix-issuable-sidebar-new-nav' into 'master'
Remove affix plugin from issuable sidebar with new navigation See merge request !13449
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index c2de6926460..c3f25c9d255 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -3,7 +3,7 @@
= page_specific_javascript_bundle_tag('common_vue')
= page_specific_javascript_bundle_tag('sidebar')
-%aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix", signed: { in: current_user.present? } }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' }
+%aside.right-sidebar.js-right-sidebar.js-issuable-sidebar{ data: { "offset-top" => ("50" unless show_new_nav?), "spy" => ("affix" unless show_new_nav?), signed: { in: current_user.present? } }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' }
.issuable-sidebar{ data: { endpoint: "#{issuable_json_path(issuable)}" } }
- can_edit_issuable = can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
.block.issuable-sidebar-header