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

This commit is contained in:
Dmitriy Zaporozhets 2013-06-07 17:33:43 +03:00
parent 3c2b085b21
commit 475da57868

View file

@ -2,6 +2,9 @@
%html{ lang: "en"}
= render "layouts/head", title: "Public Projects"
%body{class: "#{app_theme} application"}
- if current_user
= render "layouts/head_panel", title: "Public Projects"
- else
%header.navbar.navbar-static-top.navbar-gitlab
.navbar-inner
.container
@ -11,6 +14,7 @@
%h1 GITLAB
%span.separator
%h1.project_name Public Projects
.container.navless-container
.content
= yield