From 51ca0abf1060e86b1f40aada80ed62b9f10833c0 Mon Sep 17 00:00:00 2001 From: Kei Kubo Date: Wed, 11 Apr 2012 10:35:49 -0700 Subject: bug fix:
 indent error fixed in projects/empty.html

---
 app/views/projects/empty.html.haml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'app/views/projects/empty.html.haml')

diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 249442c15b5..44411b71596 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -15,7 +15,8 @@
   %h3 Git global setup:
   - setup_str = ["git config --global user.name \"#{current_user.name}\"", 
     "git config --global user.email  \"#{current_user.email}\""].join("\n")
-  = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'})
+  = preserve do
+    = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'})
 
   %br
   %br
@@ -29,7 +30,8 @@
     "git remote add origin #{@project.url_to_repo}",
     "git push -u origin master"].join("\n")
 
-  = raw bash_lexer.highlight(repo_setup_str)
+  = preserve do
+    = raw bash_lexer.highlight(repo_setup_str)
 
   %br
   %br
@@ -37,7 +39,8 @@
   - exist_repo_setup_str = ["cd existing_git_repo",
     "git remote add origin #{@project.url_to_repo}",
     "git push -u origin master"].join("\n")
-  = raw bash_lexer.highlight(exist_repo_setup_str)
+  = preserve do
+    = raw bash_lexer.highlight(exist_repo_setup_str)
 
   - if can? current_user, :admin_project, @project
     .alert-message.block-message.error.prepend-top-20
-- 
cgit v1.2.1