diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-07 17:33:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-07 17:33:43 +0300 |
commit | 475da57868fd69a07dd7d43adf195f3b5f3ac2bd (patch) | |
tree | 88227f80c8f5bf51681d28188c22edceb26993e5 /app | |
parent | 3c2b085b2169be6f5880294bf95d27d4c899ae40 (diff) | |
download | gitlab-ce-475da57868fd69a07dd7d43adf195f3b5f3ac2bd.tar.gz |
Show native head panel for logged-in users at public area
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/public.html.haml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 5a3bb4abe66..615180c6dc6 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -2,15 +2,19 @@ %html{ lang: "en"} = render "layouts/head", title: "Public Projects" %body{class: "#{app_theme} application"} - %header.navbar.navbar-static-top.navbar-gitlab - .navbar-inner - .container - %div.app_logo - %span.separator - = link_to root_path, class: "home" do - %h1 GITLAB - %span.separator - %h1.project_name Public Projects + - if current_user + = render "layouts/head_panel", title: "Public Projects" + - else + %header.navbar.navbar-static-top.navbar-gitlab + .navbar-inner + .container + %div.app_logo + %span.separator + = link_to root_path, class: "home" do + %h1 GITLAB + %span.separator + %h1.project_name Public Projects + .container.navless-container .content = yield |