gitlab-org--gitlab-foss/app/views/search/results/_issue.html.haml
Dmitriy Zaporozhets 1056d91c67
Improve search results output. Fixes some markup issues
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-28 11:06:19 +03:00

14 lines
403 B
Text

.search-result-row
%h4
= link_to [issue.project, issue] do
%span.term.str-truncated= issue.title
.pull-right ##{issue.iid}
- if issue.description.present?
.description.term
= preserve do
= search_md_sanitize(markdown(issue.description))
%span.light
#{issue.project.name_with_namespace}
- if issue.closed?
.pull-right
%span.label.label-danger Closed