summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-29 13:31:57 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-29 13:31:57 +0200
commit071de30f80ea471c48f52ff1f5d728089b75a8c0 (patch)
tree8a1b7dd4c5e65b677090949bf2789b544c3a4eb2 /app/views/layouts
parentdb0c353a78a79932e57cd4fa6b6245d793622db7 (diff)
downloadgitlab-ce-071de30f80ea471c48f52ff1f5d728089b75a8c0.tar.gz
Fix app theme being ignored for public projects
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/public.html.haml2
-rw-r--r--app/views/layouts/public_projects.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index f922dcc4203..8f490f61a9c 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -1,7 +1,7 @@
!!! 5
%html{ lang: "en"}
= 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
= render "layouts/head_panel", title: "Public Projects"
- else
diff --git a/app/views/layouts/public_projects.html.haml b/app/views/layouts/public_projects.html.haml
index cfe6a63055a..1e8814134f5 100644
--- a/app/views/layouts/public_projects.html.haml
+++ b/app/views/layouts/public_projects.html.haml
@@ -1,7 +1,7 @@
!!! 5
%html{ lang: "en"}
= 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"
%nav.main-nav
.container= render 'layouts/nav/project'