dd159a750b
Truncato is introduced as a dependency to intelligently shorten the rendered HTML to 200 characters; the previous approach could have resulted in invalid HTML being rendered.
15 lines
470 B
Text
15 lines
470 B
Text
.search-result-row
|
|
%h4
|
|
= confidential_icon(issue)
|
|
= link_to [issue.project.namespace.becomes(Namespace), 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(issue, :description)
|
|
%span.light
|
|
#{issue.project.name_with_namespace}
|
|
- if issue.closed?
|
|
.pull-right
|
|
%span.label.label-danger Closed
|