diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-05 14:38:49 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-12 09:27:05 -0500 |
commit | 94919b472425a7149f85cab0f3990e2f16d57c39 (patch) | |
tree | 84aac773606d8711ed70f3b58eecf15aa893e8aa /app/views | |
parent | 9059b99b75cd7ab5462ff36a36fe7a6c9984b0bf (diff) | |
download | gitlab-ce-94919b472425a7149f85cab0f3990e2f16d57c39.tar.gz |
Fade out border on scroll
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 1 | ||||
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index 659d548df18..9db98451f1d 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -1,4 +1,5 @@ %header.navbar.navbar-gitlab{ class: nav_header_class } + .navbar-border %a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content .container-fluid .header-content diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 38d90086700..ac84fffe831 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -4,6 +4,7 @@ = page_specific_javascript_bundle_tag('sidebar') %aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" }, 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 - if current_user |