2020-01-01 13:55:28 +05:30
|
|
|
%div
|
|
|
|
- if @merge_request.description.present?
|
2023-06-20 00:43:36 +05:30
|
|
|
.description{ class: ['gl-mt-4!', can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : ''], data: { qa_selector: 'description_content' } }
|
2020-01-01 13:55:28 +05:30
|
|
|
.md
|
|
|
|
= markdown_field(@merge_request, :description)
|
2021-01-03 14:25:43 +05:30
|
|
|
%textarea.hidden.js-task-list-field{ data: { value: @merge_request.description } }
|
2020-01-01 13:55:28 +05:30
|
|
|
|
|
|
|
= edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')
|