2014-08-28 04:06:19 -04:00
|
|
|
.search-result-row
|
2014-08-27 03:48:51 -04:00
|
|
|
%h4
|
2016-03-17 17:00:03 -04:00
|
|
|
= confidential_icon(issue)
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
|
2014-08-27 03:48:51 -04:00
|
|
|
%span.term.str-truncated= issue.title
|
|
|
|
.pull-right ##{issue.iid}
|
2014-08-27 05:49:45 -04:00
|
|
|
- if issue.description.present?
|
|
|
|
.description.term
|
|
|
|
= preserve do
|
2016-05-26 07:18:44 -04:00
|
|
|
= search_md_sanitize(markdown(truncate(issue.description, length: 200, separator: " "), { project: issue.project, author: issue.author }))
|
2014-08-27 03:48:51 -04:00
|
|
|
%span.light
|
|
|
|
#{issue.project.name_with_namespace}
|
2013-11-06 02:58:43 -05:00
|
|
|
- if issue.closed?
|
2014-08-27 03:48:51 -04:00
|
|
|
.pull-right
|
|
|
|
%span.label.label-danger Closed
|