2014-08-28 04:06:19 -04:00
|
|
|
.search-result-row
|
2014-08-27 04:55:42 -04:00
|
|
|
%h4
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to [merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request] do
|
2014-08-27 04:55:42 -04:00
|
|
|
%span.term.str-truncated= merge_request.title
|
2017-04-14 15:16:04 -04:00
|
|
|
- if merge_request.merged?
|
|
|
|
%span.label.label-primary.prepend-left-5 Merged
|
|
|
|
- elsif merge_request.closed?
|
|
|
|
%span.label.label-danger.prepend-left-5 Closed
|
2017-01-13 11:07:21 -05:00
|
|
|
.pull-right= merge_request.to_reference
|
2014-08-27 05:54:18 -04:00
|
|
|
- if merge_request.description.present?
|
|
|
|
.description.term
|
2017-04-28 10:57:17 -04:00
|
|
|
= search_md_sanitize(merge_request, :description)
|
2014-08-27 04:55:42 -04:00
|
|
|
%span.light
|
|
|
|
#{merge_request.project.name_with_namespace}
|