2015-04-26 12:48:37 +05:30
|
|
|
.search-result-row
|
|
|
|
%h4
|
|
|
|
= link_to [merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request] do
|
|
|
|
%span.term.str-truncated= merge_request.title
|
2017-08-17 22:00:37 +05:30
|
|
|
- if merge_request.merged?
|
|
|
|
%span.label.label-primary.prepend-left-5 Merged
|
|
|
|
- elsif merge_request.closed?
|
|
|
|
%span.label.label-danger.prepend-left-5 Closed
|
|
|
|
.pull-right= merge_request.to_reference
|
2015-04-26 12:48:37 +05:30
|
|
|
- if merge_request.description.present?
|
|
|
|
.description.term
|
2017-08-17 22:00:37 +05:30
|
|
|
= search_md_sanitize(merge_request, :description)
|
2015-04-26 12:48:37 +05:30
|
|
|
%span.light
|
2018-03-27 19:54:05 +05:30
|
|
|
#{merge_request.project.full_name}
|