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,6 +3,7 @@ ...@@ -3,6 +3,7 @@
= 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}
- if issue.description.present?
.description.term .description.term
= preserve do = preserve do
= search_md_sanitize(markdown(issue.description)) = search_md_sanitize(markdown(issue.description))
......
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