BigW Consortium Gitlab

_mr_box.html.haml 517 Bytes
Newer Older
1
.detail-page-description.content-block
2
  %h2.title
3
    = markdown_field(@merge_request, :title)
4

5 6 7 8 9
  %div
    - if @merge_request.description.present?
      .description{class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : ''}
        .wiki
          = preserve do
10
            = markdown_field(@merge_request, :description)
11 12
        %textarea.hidden.js-task-list-field
          = @merge_request.description
13

14
  = edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')