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
|
|
|
|
.pull-right ##{merge_request.iid}
|
2014-08-27 05:54:18 -04:00
|
|
|
- if merge_request.description.present?
|
|
|
|
.description.term
|
|
|
|
= preserve do
|
|
|
|
= search_md_sanitize(markdown(merge_request.description))
|
2014-08-27 04:55:42 -04:00
|
|
|
%span.light
|
|
|
|
#{merge_request.project.name_with_namespace}
|
|
|
|
.pull-right
|
|
|
|
- if merge_request.merged?
|
2015-06-18 13:15:17 -04:00
|
|
|
%span.label.label-primary Merged
|
2014-08-27 04:55:42 -04:00
|
|
|
- elsif merge_request.closed?
|
2015-06-18 13:15:17 -04:00
|
|
|
%span.label.label-danger Closed
|