BigW Consortium Gitlab

_merge_request.html.haml 606 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
    .pull-right #{merge_request.to_reference}
6 7 8
  - if merge_request.description.present?
    .description.term
      = preserve do
9
        = search_md_sanitize(merge_request, :description)
10 11 12 13
  %span.light
    #{merge_request.project.name_with_namespace}
  .pull-right
    - if merge_request.merged?
14
      %span.label.label-primary Merged
15
    - elsif merge_request.closed?
16
      %span.label.label-danger Closed