summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-01 10:39:11 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-01 10:39:16 +0200
commit92fd3ccee05acdfd5e498734ed287458a8dd21a3 (patch)
treea794a8017636ce7f50a7f4ef4201395894a5451e /app/views/layouts/admin.html.haml
parentae09c2a6db0d15caedc080c319add147c79fd02a (diff)
downloadgitlab-ce-92fd3ccee05acdfd5e498734ed287458a8dd21a3.tar.gz
Add helpers for header title and sidebar, and move setting those from controllers to layouts.
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
new file mode 100644
index 00000000000..1c738719bd8
--- /dev/null
+++ b/app/views/layouts/admin.html.haml
@@ -0,0 +1,5 @@
+- page_title "Admin area"
+- header_title "Admin area", admin_root_path
+- sidebar "admin"
+
+= render template: "layouts/application"