summaryrefslogtreecommitdiff
path: root/app/views/shared/projects/_project.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-26 15:02:34 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-26 15:02:34 +0100
commit012ea64d0027c3c047448fd5992f0312dac1d525 (patch)
tree11b1c5de9274fbabcbf07d0510ae60e406baefab /app/views/shared/projects/_project.html.haml
parentd51f3b7b3533d44200455d361ee29ef13b121e40 (diff)
downloadgitlab-ce-012ea64d0027c3c047448fd5992f0312dac1d525.tar.gz
Fix description margin for groups list
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/shared/projects/_project.html.haml')
-rw-r--r--app/views/shared/projects/_project.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml
index 52182f2b4bd..99e48e86e38 100644
--- a/app/views/shared/projects/_project.html.haml
+++ b/app/views/shared/projects/_project.html.haml
@@ -43,9 +43,9 @@
title: "#{visibility_level_label(project.visibility_level)} - #{project_visibility_level_description(project.visibility_level)}"}
= visibility_level_icon(project.visibility_level, fw: false)
- if show_last_commit_as_description
- .project-description
+ .description
= link_to_gfm project.commit.title, namespace_project_commit_path(project.namespace, project, project.commit),
class: "commit-row-message"
- elsif project.description.present?
- .project-description
+ .description
= markdown(project.description, pipeline: :description)