summaryrefslogtreecommitdiff
path: root/app/views/help
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-05 09:39:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-05 09:39:03 +0300
commit248a3e5688b7576995d21f1fb47c3deb2ae4de08 (patch)
treef06cd4bdbf2d82e5777862a17c2897151280ca9e /app/views/help
parenta76bf07ae2ecaf47dab58cbeac37cb82ae8d3ad8 (diff)
downloadgitlab-ce-248a3e5688b7576995d21f1fb47c3deb2ae4de08.tar.gz
Fix help page UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/index.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml
index 1b714429f14..258a468f7bd 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -36,9 +36,9 @@
.col-md-8
.panel.panel-default.documentation
.panel-heading Documentation
-
- = preserve do
- - readme_text = File.read(Rails.root.join("doc", "README.md"))
- - text = readme_text.dup
- - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
- = markdown text
+ .panel-body
+ = preserve do
+ - readme_text = File.read(Rails.root.join("doc", "README.md"))
+ - text = readme_text.dup
+ - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
+ = markdown text