Skip to content
Snippets Groups Projects
Commit 475da578 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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

parent 3c2b085b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment