Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAriejan de Vroom <ariejan@ariejan.net>2012-03-14 14:34:03 +0400
committerAriejan de Vroom <ariejan@ariejan.net>2012-03-14 14:34:03 +0400
commit317963b1ab6dcf6cf7ccd4aaa6f5928128651878 (patch)
tree2d613faeb761f5167de39942b5c7091fb65a40b8 /app
parentb27f8fd503e2fec68bd116ffd3c3d5857a84f89b (diff)
Use markdown to render the project description.
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index cbac11806c6..89a3a4265e4 100644
--- 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