Commit 51ca0abf1060e86b1f40aada80ed62b9f10833c0
1 parent
52f6df72
Exists in
master
and in
4 other branches
bug fix: <pre> indent error fixed in projects/empty.html
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
app/views/projects/empty.html.haml
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | %h3 Git global setup: |
16 | 16 | - setup_str = ["git config --global user.name \"#{current_user.name}\"", |
17 | 17 | "git config --global user.email \"#{current_user.email}\""].join("\n") |
18 | - = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'}) | |
18 | + = preserve do | |
19 | + = raw bash_lexer.highlight(setup_str, :lexer => 'bash', :options => {:encoding => 'utf-8'}) | |
19 | 20 | |
20 | 21 | %br |
21 | 22 | %br |
... | ... | @@ -29,7 +30,8 @@ |
29 | 30 | "git remote add origin #{@project.url_to_repo}", |
30 | 31 | "git push -u origin master"].join("\n") |
31 | 32 | |
32 | - = raw bash_lexer.highlight(repo_setup_str) | |
33 | + = preserve do | |
34 | + = raw bash_lexer.highlight(repo_setup_str) | |
33 | 35 | |
34 | 36 | %br |
35 | 37 | %br |
... | ... | @@ -37,7 +39,8 @@ |
37 | 39 | - exist_repo_setup_str = ["cd existing_git_repo", |
38 | 40 | "git remote add origin #{@project.url_to_repo}", |
39 | 41 | "git push -u origin master"].join("\n") |
40 | - = raw bash_lexer.highlight(exist_repo_setup_str) | |
42 | + = preserve do | |
43 | + = raw bash_lexer.highlight(exist_repo_setup_str) | |
41 | 44 | |
42 | 45 | - if can? current_user, :admin_project, @project |
43 | 46 | .alert-message.block-message.error.prepend-top-20 | ... | ... |