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

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

parent 3c2b085b
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
%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"}
- if current_user
= render "layouts/head_panel", title: "Public Projects"
- else
%header.navbar.navbar-static-top.navbar-gitlab %header.navbar.navbar-static-top.navbar-gitlab
.navbar-inner .navbar-inner
.container .container
...@@ -11,6 +14,7 @@ ...@@ -11,6 +14,7 @@
%h1 GITLAB %h1 GITLAB
%span.separator %span.separator
%h1.project_name Public Projects %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