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 @@
%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
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