Commit 248a3e5688b7576995d21f1fb47c3deb2ae4de08
1 parent
a76bf07a
Exists in
spb-stable
and in
2 other branches
Fix help page UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
11 additions
and
9 deletions
Show diff stats
app/assets/stylesheets/sections/help.scss
app/views/help/index.html.haml
... | ... | @@ -36,9 +36,9 @@ |
36 | 36 | .col-md-8 |
37 | 37 | .panel.panel-default.documentation |
38 | 38 | .panel-heading Documentation |
39 | - | |
40 | - = preserve do | |
41 | - - readme_text = File.read(Rails.root.join("doc", "README.md")) | |
42 | - - text = readme_text.dup | |
43 | - - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") } | |
44 | - = markdown text | |
39 | + .panel-body | |
40 | + = preserve do | |
41 | + - readme_text = File.read(Rails.root.join("doc", "README.md")) | |
42 | + - text = readme_text.dup | |
43 | + - readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") } | |
44 | + = markdown text | ... | ... |