BigW Consortium Gitlab

_merge_request.html.haml 610 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 5
      %span.term.str-truncated= merge_request.title
    .pull-right ##{merge_request.iid}
6 7 8 9
  - if merge_request.description.present?
    .description.term
      = preserve do
        = search_md_sanitize(markdown(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 Accepted
15
    - elsif merge_request.closed?
16
      %span.label.label-danger Rejected