Commit 043f2759 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Skip description if not exist

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8b00d01c
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
= link_to [issue.project, issue] do = link_to [issue.project, issue] do
%span.term.str-truncated= issue.title %span.term.str-truncated= issue.title
.pull-right ##{issue.iid} .pull-right ##{issue.iid}
.description.term - if issue.description.present?
= preserve do .description.term
= search_md_sanitize(markdown(issue.description)) = preserve do
= search_md_sanitize(markdown(issue.description))
%span.light %span.light
#{issue.project.name_with_namespace} #{issue.project.name_with_namespace}
- if issue.closed? - if issue.closed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment