BigW Consortium Gitlab

_merge_request.html.haml 598 Bytes
Newer Older
1
.search-result-row
2
  %h4
Vinnie Okada committed
3
    = link_to [merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request] do
4
      %span.term.str-truncated= merge_request.title
5 6 7 8
    - if merge_request.merged?
      %span.label.label-primary.prepend-left-5 Merged
    - elsif merge_request.closed?
      %span.label.label-danger.prepend-left-5 Closed
9
    .pull-right= merge_request.to_reference
10 11
  - if merge_request.description.present?
    .description.term
12
      = search_md_sanitize(merge_request, :description)
13 14
  %span.light
    #{merge_request.project.name_with_namespace}