diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-22 16:30:09 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 11:43:08 +0530 |
commit | 7b1944f96c6513486cc4a7be30f912e2f7a1110b (patch) | |
tree | b9ad52981d16422f01b4c49e8126ea7fe08c9020 /app/views/layouts | |
parent | ef3744d0cd644d75b7fa573777baf29950172623 (diff) | |
download | gitlab-ce-7b1944f96c6513486cc4a7be30f912e2f7a1110b.tar.gz |
HAMLLint: Fix `ClassAttributeWithStaticValue` offences
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/devise.html.haml | 2 | ||||
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/devise.html.haml b/app/views/layouts/devise.html.haml index afd9958f073..a72ecec579f 100644 --- a/app/views/layouts/devise.html.haml +++ b/app/views/layouts/devise.html.haml @@ -1,5 +1,5 @@ !!! 5 -%html{ lang: "en", class: "devise-layout-html"} +%html.devise-layout-html = render "layouts/head" %body.ui_charcoal.login-page.application.navless{ data: { page: body_data_page }} .page-wrap diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index 5456be77aab..63ae5ff0628 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -1,6 +1,6 @@ %header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class } - %a{ href: "#content-body", tabindex: "1", class: "sr-only gl-accessibility" } Skip to content - %div{ class: "container-fluid" } + %a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content + %div.container-fluid .header-content %button.side-nav-toggle{ type: 'button', "aria-label" => "Toggle global navigation" } %span.sr-only Toggle navigation |