OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27f8fd
)
Use markdown to render the project description.
author
Ariejan de Vroom
<ariejan@ariejan.net>
Wed, 14 Mar 2012 10:34:03 +0000
(12:34 +0200)
committer
Ariejan de Vroom
<ariejan@ariejan.net>
Wed, 14 Mar 2012 10:34:03 +0000
(12:34 +0200)
app/views/projects/show.html.haml
patch
|
blob
|
history
diff --git
a/app/views/projects/show.html.haml
b/app/views/projects/show.html.haml
index
cbac118
..
89a3a42
100644
(file)
--- a/
app/views/projects/show.html.haml
+++ b/
app/views/projects/show.html.haml
@@
-20,7
+20,8
@@
%span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
-= simple_format @project.description
+- if @project.description.present?
+ = markdown @project.description
- unless @events.blank?
%h5.cgray Recent Activity
.content_list= render @events