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 @@
= link_to [issue.project, issue] do
%span.term.str-truncated= issue.title
.pull-right ##{issue.iid}
.description.term
= preserve do
= search_md_sanitize(markdown(issue.description))
- if issue.description.present?
.description.term
= preserve do
= search_md_sanitize(markdown(issue.description))
%span.light
#{issue.project.name_with_namespace}
- 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