14 lines
637 B
Text
14 lines
637 B
Text
.search-result-row
|
|
%h4
|
|
= link_to namespace_project_merge_request_path(merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request) do
|
|
%span.term.str-truncated= merge_request.title
|
|
- if merge_request.merged?
|
|
%span.badge.badge-primary.prepend-left-5= _("Merged")
|
|
- elsif merge_request.closed?
|
|
%span.badge.badge-danger.prepend-left-5= _("Closed")
|
|
.float-right= merge_request.to_reference
|
|
- if merge_request.description.present?
|
|
.description.term
|
|
= search_md_sanitize(merge_request, :description)
|
|
%span.light
|
|
#{merge_request.project.full_name}
|