Fix app theme being ignored for public projects
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
db0c353a78
commit
071de30f80
3 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
!!! 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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
!!! 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'
|
||||||
|
|
Loading…
Reference in a new issue