Show native head panel for logged-in users at public area
This commit is contained in:
parent
3c2b085b21
commit
475da57868
1 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue