summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-10 18:07:50 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-10 18:25:15 -0400
commit775418918782d5284000ed0bfea364458c748567 (patch)
treec31e3633a3bcbed17b000f0165cf35edad41f7ca /app/views/layouts/admin.html.haml
parent1413c23c502d5a5cbc9b81f553a245103c1d6e50 (diff)
downloadgitlab-ce-775418918782d5284000ed0bfea364458c748567.tar.gz
Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index 69304edef3a..fa4ec6c938e 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -1,22 +1,22 @@
!!! 5
-%html{ :lang => "en"}
+%html{ lang: "en"}
= render "layouts/head"
- %body{:class => "#{app_theme} admin"}
+ %body{class: "#{app_theme} admin"}
= render "layouts/flash"
- = render "layouts/head_panel", :title => "Admin area"
+ = render "layouts/head_panel", title: "Admin area"
.container
%ul.main_menu
- %li.home{:class => tab_class(:admin_root)}
+ %li.home{class: tab_class(:admin_root)}
= link_to "Stats", admin_root_path
- %li{:class => tab_class(:admin_projects)}
+ %li{class: tab_class(:admin_projects)}
= link_to "Projects", admin_projects_path
- %li{:class => tab_class(:admin_users)}
+ %li{class: tab_class(:admin_users)}
= link_to "Users", admin_users_path
- %li{:class => tab_class(:admin_logs)}
+ %li{class: tab_class(:admin_logs)}
= link_to "Logs", admin_logs_path
- %li{:class => tab_class(:admin_emails)}
+ %li{class: tab_class(:admin_emails)}
= link_to "Hooks", admin_hooks_path
- %li{:class => tab_class(:admin_resque)}
+ %li{class: tab_class(:admin_resque)}
= link_to "Resque", admin_resque_path
.content= yield