blob: 44ee512d5a8a5b213f1d2da38eec3bd8599a7487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.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
- if merge_request.merged?
%span.badge.label-primary.prepend-left-5 Merged
- elsif merge_request.closed?
%span.badge.label-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}
|