summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_default.html.haml
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-03-18 08:01:00 -0400
committerSam Rose <sam@gitlab.com>2017-03-25 09:24:04 -0400
commit004f3a0bc2e3c85518a2a95db68945b47acc14c7 (patch)
tree6a0c149643315bdd6335074e576408eaa0d49169 /app/views/layouts/header/_default.html.haml
parent57f79da98eee7e5fc95e5ec3e0092eeff7e54a68 (diff)
downloadgitlab-ce-004f3a0bc2e3c85518a2a95db68945b47acc14c7.tar.gz
Activate group name toggle based on horizontal space
Diffstat (limited to 'app/views/layouts/header/_default.html.haml')
-rw-r--r--app/views/layouts/header/_default.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 5fde5c2613e..c2396a214df 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -15,6 +15,13 @@
%span.sr-only Toggle navigation
= icon('ellipsis-v')
+ .header-logo
+ = link_to root_path, class: 'home', title: 'Dashboard', id: 'logo' do
+ = brand_header_logo
+
+ .title-container
+ %h1.title{ class: ('initializing' if @has_group_title) }= title
+
.navbar-collapse.collapse
%ul.nav.navbar-nav
%li.hidden-sm.hidden-xs
@@ -63,12 +70,6 @@
%div
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success'
- .header-logo
- = link_to root_path, class: 'home', title: 'Dashboard', id: 'logo' do
- = brand_header_logo
-
- %h1.title{ class: ('initializing' if @has_group_title) }= title
-
= yield :header_content
= render 'shared/outdated_browser'