25c08d11bb
This ensures all these calls have an author set, allowing the use of "all" mentions where possible.
15 lines
567 B
Text
15 lines
567 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(markdown(truncate(issue.description, length: 200, separator: " "), { project: issue.project, author: issue.author }))
|
|
%span.light
|
|
#{issue.project.name_with_namespace}
|
|
- if issue.closed?
|
|
.pull-right
|
|
%span.label.label-danger Closed
|