diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-27 12:54:18 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-27 12:54:18 +0300 |
commit | 7f4b993793083abad99c12e2ea223ea08843ccb9 (patch) | |
tree | 7b51b56a7205e0e6eaba7944128a5aa58dd17b73 /app/views/search | |
parent | 043f275900c833bd0d4efa3c08d4f3e4158f00f8 (diff) | |
download | gitlab-ce-7f4b993793083abad99c12e2ea223ea08843ccb9.tar.gz |
Forgot to save file :)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_merge_request.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/search/results/_merge_request.html.haml b/app/views/search/results/_merge_request.html.haml index fce996343d8..7f6d765c1f3 100644 --- a/app/views/search/results/_merge_request.html.haml +++ b/app/views/search/results/_merge_request.html.haml @@ -3,9 +3,10 @@ = link_to [merge_request.target_project, merge_request] do %span.term.str-truncated= merge_request.title .pull-right ##{merge_request.iid} - .description.term - = preserve do - = search_md_sanitize(markdown(merge_request.description)) + - if merge_request.description.present? + .description.term + = preserve do + = search_md_sanitize(markdown(merge_request.description)) %span.light #{merge_request.project.name_with_namespace} .pull-right |