_mr_box.html.haml 528 Bytes
Newer Older
1
.detail-page-description.gray-content-block.second-block
2
  %h2.title
3
    = markdown escape_once(@merge_request.title), pipeline: :single_line
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(@merge_request.description, cache_key: [@merge_request, "description"])
11 12
        %textarea.hidden.js-task-list-field
          = @merge_request.description