summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-08 17:10:25 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-08 17:10:25 +0300
commit4a1b093602ad36094f0f0ab2b8b0d48b2cb6f623 (patch)
tree566a4a0b1710d2b108beb8ff627ab08b0d9d95a3 /app
parent590c84c7a4a5f838a94c13b39c749ab25dffa210 (diff)
downloadgitlab-ce-4a1b093602ad36094f0f0ab2b8b0d48b2cb6f623.tar.gz
add data-page property to all pages
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/navless.html.haml2
-rw-r--r--app/views/layouts/public.html.haml2
-rw-r--r--app/views/layouts/search.html.haml2
-rw-r--r--app/views/layouts/snippets.html.haml2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/layouts/navless.html.haml b/app/views/layouts/navless.html.haml
index 47dece4a091..7325664bc19 100644
--- a/app/views/layouts/navless.html.haml
+++ b/app/views/layouts/navless.html.haml
@@ -1,7 +1,7 @@
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: @title
- %body{class: "#{app_theme} application"}
+ %body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/head_panel", title: @title
= render "layouts/flash"
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 615180c6dc6..e330da9bd73 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: "#{app_theme} application"}
+ %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/search.html.haml b/app/views/layouts/search.html.haml
index fbea9d441d9..177b3a4f8f4 100644
--- a/app/views/layouts/search.html.haml
+++ b/app/views/layouts/search.html.haml
@@ -1,7 +1,7 @@
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Search"
- %body{class: "#{app_theme} application"}
+ %body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/head_panel", title: "Search"
= render "layouts/flash"
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml
index f2696a0e987..350f1c7ef1a 100644
--- a/app/views/layouts/snippets.html.haml
+++ b/app/views/layouts/snippets.html.haml
@@ -1,7 +1,7 @@
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Snipepts"
- %body{class: "#{app_theme} application"}
+ %body{class: "#{app_theme} application", :'data-page' => body_data_page}}
= render "layouts/head_panel", title: "Snippets"
= render "layouts/flash"
%nav.main-nav