Commit 317963b1ab6dcf6cf7ccd4aaa6f5928128651878
1 parent
b27f8fd5
Exists in
master
and in
4 other branches
Use markdown to render the project description.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/projects/show.html.haml
@@ -20,7 +20,8 @@ | @@ -20,7 +20,8 @@ | ||
20 | %span.add-on git clone | 20 | %span.add-on git clone |
21 | = text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url" | 21 | = text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url" |
22 | 22 | ||
23 | -= simple_format @project.description | 23 | +- if @project.description.present? |
24 | + = markdown @project.description | ||
24 | - unless @events.blank? | 25 | - unless @events.blank? |
25 | %h5.cgray Recent Activity | 26 | %h5.cgray Recent Activity |
26 | .content_list= render @events | 27 | .content_list= render @events |