Commit 071de30f80ea471c48f52ff1f5d728089b75a8c0
1 parent
db0c353a
Exists in
master
and in
4 other branches
Fix app theme being ignored for public projects
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
app/assets/stylesheets/common.scss
app/views/layouts/public.html.haml
1 | 1 | !!! 5 |
2 | 2 | %html{ lang: "en"} |
3 | 3 | = render "layouts/head", title: "Public Projects" |
4 | - %body{class: "ui_mars application", :'data-page' => body_data_page} | |
4 | + %body{class: "#{app_theme} application", :'data-page' => body_data_page} | |
5 | 5 | - if current_user |
6 | 6 | = render "layouts/head_panel", title: "Public Projects" |
7 | 7 | - else | ... | ... |
app/views/layouts/public_projects.html.haml
1 | 1 | !!! 5 |
2 | 2 | %html{ lang: "en"} |
3 | 3 | = render "layouts/head", title: @project.name_with_namespace |
4 | - %body{class: "ui_mars application", :'data-page' => body_data_page} | |
4 | + %body{class: "#{app_theme} application", :'data-page' => body_data_page} | |
5 | 5 | = render "layouts/public_head_panel" |
6 | 6 | %nav.main-nav |
7 | 7 | .container= render 'layouts/nav/project' | ... | ... |