Commit 071de30f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix app theme being ignored for public projects

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent db0c353a
...@@ -350,6 +350,7 @@ table { ...@@ -350,6 +350,7 @@ table {
.navbar-gitlab .navbar-inner .nav > li .btn-sign-in { .navbar-gitlab .navbar-inner .nav > li .btn-sign-in {
@extend .btn-new; @extend .btn-new;
padding: 5px 15px; padding: 5px 15px;
text-shadow: none;
} }
.broadcast-message { .broadcast-message {
......
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: "Public Projects" = render "layouts/head", title: "Public Projects"
%body{class: "ui_mars application", :'data-page' => body_data_page} %body{class: "#{app_theme} application", :'data-page' => body_data_page}
- if current_user - if current_user
= render "layouts/head_panel", title: "Public Projects" = render "layouts/head_panel", title: "Public Projects"
- else - else
......
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: @project.name_with_namespace = render "layouts/head", title: @project.name_with_namespace
%body{class: "ui_mars application", :'data-page' => body_data_page} %body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/public_head_panel" = render "layouts/public_head_panel"
%nav.main-nav %nav.main-nav
.container= render 'layouts/nav/project' .container= render 'layouts/nav/project'
......
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