summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-02-09 09:59:04 +0200
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-02-09 09:59:04 +0200
commitfbd5296e32badf6040fec62b43d27de61c1a65c5 (patch)
tree70f118e639b51f7b202777f78f9e758a12657211 /app/views/layouts/admin.html.haml
parentfcd92f9d958eab891e4a94ffa8b0aad93012acd0 (diff)
downloadgitlab-ce-fbd5296e32badf6040fec62b43d27de61c1a65c5.tar.gz
layout refactored
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml16
1 files changed, 3 insertions, 13 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index 0679b4050d5..33de3efead6 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -1,16 +1,6 @@
-!!!
-%html
- %head
- %meta{:charset => "utf-8"}
- %title
- GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
- = favicon_link_tag 'favicon.ico'
- = stylesheet_link_tag "application"
- = javascript_include_tag "application"
- = csrf_meta_tags
- = javascript_tag do
- REQ_URI = "#{request.env["REQUEST_URI"]}";
- REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
+!!! 5
+%html{ :lang => "en"}
+ = render "layouts/head"
%body.admin
= render :partial => "layouts/flash"
= render :partial => "layouts/head_panel"