Commit 475da578 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show native head panel for logged-in users at public area

parent 3c2b085b
...@@ -2,15 +2,19 @@ ...@@ -2,15 +2,19 @@
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: "Public Projects" = render "layouts/head", title: "Public Projects"
%body{class: "#{app_theme} application"} %body{class: "#{app_theme} application"}
%header.navbar.navbar-static-top.navbar-gitlab - if current_user
.navbar-inner = render "layouts/head_panel", title: "Public Projects"
.container - else
%div.app_logo %header.navbar.navbar-static-top.navbar-gitlab
%span.separator .navbar-inner
= link_to root_path, class: "home" do .container
%h1 GITLAB %div.app_logo
%span.separator %span.separator
%h1.project_name Public Projects = link_to root_path, class: "home" do
%h1 GITLAB
%span.separator
%h1.project_name Public Projects
.container.navless-container .container.navless-container
.content .content
= yield = yield
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment