summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
authorKei Kubo <keikubo@gmail.com>2012-04-11 10:35:49 -0700
committerKei Kubo <keikubo@gmail.com>2012-04-11 10:35:49 -0700
commit51ca0abf1060e86b1f40aada80ed62b9f10833c0 (patch)
treeb70f91c17d7b57d175f90e1c7fe8dff034fd6c72 /app/views/projects/empty.html.haml
parent52f6df7255ed40186bd1a0e92abaaf2b926f3817 (diff)
downloadgitlab-ce-51ca0abf1060e86b1f40aada80ed62b9f10833c0.tar.gz
bug fix: <pre> indent error fixed in projects/empty.html
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml9
1 files changed, 6 insertions, 3 deletions
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