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
|
2016-06-02 11:05:42 +05:30
|
|
|
.pull-right #{merge_request.to_reference}
|
2015-04-26 12:48:37 +05:30
|
|
|
- if merge_request.description.present?
|
|
|
|
.description.term
|
|
|
|
= preserve do
|
2016-02-05 20:25:01 +05:30
|
|
|
= search_md_sanitize(markdown(merge_request.description, { project: merge_request.project }))
|
2015-04-26 12:48:37 +05:30
|
|
|
%span.light
|
|
|
|
#{merge_request.project.name_with_namespace}
|
|
|
|
.pull-right
|
|
|
|
- if merge_request.merged?
|
|
|
|
%span.label.label-primary Merged
|
|
|
|
- elsif merge_request.closed?
|
|
|
|
%span.label.label-danger Closed
|